1 include $(TOP)/config/make.cfg
3 #MM- linklibs : linklibs-adf
5 ifeq ($(FLAVOUR),palmnative)
7 #MM linklibs-adf : includes
30 USER_INCLUDES := -I$(SRCDIR)/$(CURDIR) -I$(AROS_INCLUDES)/adf -I$(SRCDIR)/$(CURDIR)/Generic
32 %build_linklib mmake=linklibs-adf libname=adf files=$(FILES)
35 includes-copy : $(AROS_INCLUDES)/adf/adflib.h \
36 $(AROS_INCLUDES)/adf/defendian.h \
37 $(AROS_INCLUDES)/adf/hd_blk.h \
38 $(AROS_INCLUDES)/adf/adf_blk.h \
39 $(AROS_INCLUDES)/adf/adf_defs.h \
40 $(AROS_INCLUDES)/adf/adf_err.h \
41 $(AROS_INCLUDES)/adf/adf_hd.h \
42 $(AROS_INCLUDES)/adf/adf_str.h
44 $(AROS_INCLUDES)/adf/%.h : %.h | $(AROS_INCLUDES)/adf
45 $(CP) $< $(AROS_INCLUDES)/adf
47 $(AROS_INCLUDES)/adf/defendian.h : Generic/defendian.h | $(AROS_INCLUDES)/adf
50 GLOB_MKDIRS += $(AROS_INCLUDES)/adf
54 #MM- host-linklibs-adf: host-includes-copy
56 HOST_INCLUDES := $(CROSSTOOLSDIR)/include
58 %build_linklib mmake=host-linklibs-adf libname=adf files=$(FILES) \
59 cflags="-I$(SRCDIR)/$(CURDIR)/Generic -I$(HOST_INCLUDES) -g3 -Wall -Werror" \
60 compiler=host libdir="$(CROSSTOOLSDIR)/lib" \
65 host-includes-copy : $(HOST_INCLUDES)/adf/adflib.h \
66 $(HOST_INCLUDES)/adf/defendian.h \
67 $(HOST_INCLUDES)/adf/hd_blk.h \
68 $(HOST_INCLUDES)/adf/adf_blk.h \
69 $(HOST_INCLUDES)/adf/adf_defs.h \
70 $(HOST_INCLUDES)/adf/adf_err.h \
71 $(HOST_INCLUDES)/adf/adf_hd.h \
72 $(HOST_INCLUDES)/adf/adf_str.h
74 $(HOST_INCLUDES)/adf/%.h : %.h | $(HOST_INCLUDES)/adf
75 $(CP) $< $(HOST_INCLUDES)/adf
77 $(HOST_INCLUDES)/adf/defendian.h : Generic/defendian.h | $(HOST_INCLUDES)/adf
80 GLOB_MKDIRS += $(HOST_INCLUDES)/adf