diff options
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))) + |