diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:15:01 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-27 22:15:01 +0000 |
| commit | 7996a3d79d55b7f879dfd62e202bbfe2963718d3 (patch) | |
| tree | 8d9f6759fec4099b9be503c11c7ed174f7204980 /libdde-linux26/contrib/include/Makefile | |
| parent | 4fbe7358c7747a9165f776eb19addbb9baf7def2 (diff) | |
really properly move files
Diffstat (limited to 'libdde-linux26/contrib/include/Makefile')
| -rw-r--r-- | libdde-linux26/contrib/include/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libdde-linux26/contrib/include/Makefile b/libdde-linux26/contrib/include/Makefile new file mode 100644 index 00000000..fa9f5f1b --- /dev/null +++ b/libdde-linux26/contrib/include/Makefile @@ -0,0 +1,39 @@ +PKGDIR ?= ../.. +L4DIR ?= $(PKGDIR) + +# Force these include files to appear in a special subfolder of dde/ +INSTALL_INC_PREFIX = linux-headers + +include $(L4DIR)/mk/include.mk + +#SUFFIX_amd64 = x86_64 +#SUFFIX_amd64 = i386 #hack! +#SUFFIX_x86 = x86 +#SUFFIX_arm = arm +# +#SUFFIX_rv = realview +#SUFFIX_int = integrator + +# macro to establish a symlink to a dir if not already existing +#MAKELINK = if [ ! $1 -ef $2 ] ; then ln -$(if $(VERBOSE),v)sf $2 $1 ; fi +# +#ARCH = $(BUILD_ARCH) +#PLAT = rv +# +#all:: +# $(VERBOSE)$(MKDIR) $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX) +# $(VERBOSE)$(call MAKELINK, \ +# $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm, \ +# $(INSTALLDIR_LOCAL)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH))) +#ifeq ($(BUILD_ARCH),arm) +# $(VERBOSE)$(call MAKELINK, \ +# $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm/arch, \ +# $(INSTALLDIR_LOCAL)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH))/arch-$(SUFFIX_$(PLAT))) +#endif +# +#install:: +# $(VERBOSE)$(MKDIR) $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX) +# $(VERBOSE)$(call MAKELINK, \ +# $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm \ +# $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH))) + |
