3 include $(SRCDIR)/config/aros.cfg
5 _INCLUDES := $(foreach f,$(shell ls *.[hi]), $(f)) \
6 $(foreach f,$(shell ls aros/*.[hi]), $(f)) \
7 $(foreach f,$(shell ls asm/*.[hi]), $(f)) \
8 $(foreach f,$(shell ls exec/*.[hi]), $(f))
10 INCFILES := $(foreach f,$(_INCLUDES), $(AROS_INCLUDES)/$(f) $(GENINCDIR)/$(f))
12 DIRS := $(AROS_INCLUDES) $(GENINCDIR) \
13 $(foreach d, aros asm exec libcore, $(AROS_INCLUDES)/$(d) $(GENINCDIR)/$(d))
15 MACHINE_H := $(GENINCDIR)/aros/machine.h
18 includes-pp-m68k : $(INCFILES) $(GENINCDIR)/sigcore.h
23 @$(FOR) dir in $(DIRS) ; do \
24 $(IF) $(TEST) ! -d "$$dir" ; then $(MKDIR) "$$dir" ; else true ; fi ; \
29 $(RM) $(MACHINE_H) $(DISTMACHINE_H) $(TESTS)
31 $(AROS_INCLUDES)/% : %