2 include $(TOP)/config/make.cfg
6 aros/preprocessor/facilities \
7 aros/preprocessor/variadic \
35 INCLUDES := $(foreach d,$(INCSUBDIRS),$(wildcard $(d)/*.h) $(wildcard $(d)/*.hpp))
36 INCLUDES := $(filter-out rexx/rexxcall-%.h,$(INCLUDES))
37 DEST_INCLUDES := $(foreach f,$(INCLUDES),$(AROS_INCLUDES)/$(f))
38 GEN_INCLUDES := $(foreach f,$(INCLUDES),$(GENINCDIR)/$(f))
39 INCL_DIRS := $(foreach dir,$(INCSUBDIRS),$(AROS_INCLUDES)/$(dir)) \
40 $(foreach dir,$(INCSUBDIRS),$(GENINCDIR)/$(dir))
42 #MM- includes : includes-generate
43 #MM- includes-generate : includes-generate-deps
44 #MM- includes-generate-deps : includes-copy includes-$(ARCH)-$(CPU)
45 #MM- includes-copy : compiler-includes includes-copy-$(ARCH)-$(CPU)
47 #MM- includes-$(ARCH)-$(CPU) : \
48 #MM includes-copy-$(ARCH)-$(CPU) \
49 #MM includes-generate-$(ARCH)-$(CPU)
50 #MM- includes-generate-$(ARCH)-$(CPU) : includes-copy-$(ARCH)-$(CPU)
51 #MM- includes-copy-$(ARCH)-$(CPU) :
54 compiler-includes : setup $(DEST_INCLUDES) $(GEN_INCLUDES)
56 ifeq ($(TARGET_CPU),m68k)
57 $(AROS_INCLUDES)/rexx/rexxcall.h : rexx/rexxcall-m68k.h
60 $(GENINCDIR)/rexx/rexxcall.h : rexx/rexxcall-m68k.h
64 $(AROS_INCLUDES)/%.h : %.h
67 $(GENINCDIR)/%.h : %.h
70 $(AROS_INCLUDES)/%.hpp : %.hpp
73 $(GENINCDIR)/%.hpp : %.hpp
83 -$(RM) $(AROS_INCLUDES) $(GENINCDIR)