diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:07:53 +0000 |
| commit | 4fbe7358c7747a9165f776eb19addbb9baf7def2 (patch) | |
| tree | bc7076b4f6d10c2cc2942539bb666e50f0b66954 /libdde_linux26/mk/install.inc | |
| parent | 21adb5284111190057db245cfc2b54091920c373 (diff) | |
rename libdde_linux26 into libdde-linux26 to make dpkg-source happy
Diffstat (limited to 'libdde_linux26/mk/install.inc')
| -rw-r--r-- | libdde_linux26/mk/install.inc | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/libdde_linux26/mk/install.inc b/libdde_linux26/mk/install.inc deleted file mode 100644 index 3cdbecf3..00000000 --- a/libdde_linux26/mk/install.inc +++ /dev/null @@ -1,66 +0,0 @@ -# -*- Makefile -*- -# vim:set ft=make: -# -# DROPS (Dresden Realtime OPerating System) Component -# -# Makefile-Include for install-rules -# -# $Id: install.inc 11 2007-02-26 19:08:41Z l4check $ -# -# $Author: l4check $ -# -# This file is useful only when actually building files, thus if -# BUILD_ONE_ARCHITECTURE (see Makeconf) is defined. -# INSTALL_TARGET and INSTALL_TARGET_$(ARCH) contain the targets to be -# installed. If they are both empty, and NOTARGETSTOINSTALL is not set, -# they are set to TARGET and TARGET_$(ARCH). -# -# INSTALLDIR and INSTALLDIR_LOCAL is the dir the files will be installed -# in and must be set prior to including this file. INSTALLDIR is used by the -# target "install" and "INSTALLDIR_LOCAL" by the target "all". -# -# The target "all" is made depending on the installed files in -# INSTALLDIR_LOCAL. "install" on the files in INSTALLDIR. An other -# difference is that "all" results in using the variable -# $(INSTALLFILE_LOCAL) to install the files and "install" in using -# $(INSTALLFILE). This allows the difference between linking and actually -# copying (with stripping for bins). - -ifndef INSTALL_TARGET_$(OSYSTEM) -ifndef NOTARGETSTOINSTALL -INSTALL_TARGET?=$(TARGET) -endif -endif -INSTALL_TARGET += $(INSTALL_TARGET_$(OSYSTEM)) - -all:: $(addprefix $(INSTALLDIR_LOCAL)/,$(INSTALL_TARGET)) -install:: $(addprefix $(INSTALLDIR)/,$(INSTALL_TARGET)) - -# with prog.mk, we copy -ifeq ($(ROLE),prog.mk) -$(foreach f,$(INSTALL_TARGET),$(INSTALLDIR_LOCAL)/$(f)):$(INSTALLDIR_LOCAL)/%:% - @$(INSTALL_LOCAL_MESSAGE) - $(if $(INSTALLFILE_LOCAL),$(VERBOSE)$(INSTALL) -d $(dir $@)) - $(VERBOSE)$(call INSTALLFILE_LOCAL,$<,$@) -else -# with others, we symlink -# we check for each locally installed lib if the symlink is correct -.PHONY: $(addprefix $(INSTALLDIR_LOCAL)/,$(INSTALL_TARGET)) -$(foreach f,$(INSTALL_TARGET),$(INSTALLDIR_LOCAL)/$(f)):$(INSTALLDIR_LOCAL)/%:% - @$(if $(INSTALLFILE_LOCAL),if [ ! $< -ef $@ ] ; then \ - $(if $(INSTALL_LOCAL_MESSAGE),$(INSTALL_LOCAL_MESSAGE);) \ - $(INSTALL) -d $(dir $@); \ - $(call INSTALLFILE_LOCAL,$<,$@); \ - fi) -endif - -$(foreach f,$(INSTALL_TARGET),$(INSTALLDIR)/$(f)):$(INSTALLDIR)/%:% - @$(INSTALL_MESSAGE) - $(if $(INSTALLFILE),$(VERBOSE)$(INSTALL) -d $(dir $@)) - $(VERBOSE)$(call INSTALLFILE,$<,$@) - -# unconditionally install on "make install" -.PHONY: $(addprefix $(INSTALLDIR)/,$(INSTALL_TARGET)) - -.general.d: $(L4DIR)/mk/install.inc - |
