2 include $(TOP)/config/make.cfg
4 _INCLUDES := $(foreach f,$(shell ls *.[hi]), $(f)) \
5 $(foreach f,$(shell ls aros/*.[hi]), $(f)) \
6 $(foreach f,$(shell ls asm/*.[hi]), $(f)) \
7 $(foreach f,$(shell ls exec/*.[hi]), $(f))
9 INCFILES := $(foreach f,$(_INCLUDES), $(AROS_INCLUDES)/$(f) $(GENINCDIR)/$(f))
11 DIRS := $(AROS_INCLUDES) $(GENINCDIR) \
12 $(foreach d, aros asm exec libcore, $(AROS_INCLUDES)/$(d) $(GENINCDIR)/$(d))
14 MACHINE_H := $(GENINCDIR)/aros/machine.h
17 includes-generic-arm : $(INCFILES) $(GENINCDIR)/sigcore.h
22 @$(FOR) dir in $(DIRS) ; do \
23 $(IF) $(TEST) ! -d "$$dir" ; then $(MKDIR) "$$dir" ; else true ; fi ; \
28 $(RM) $(MACHINE_H) $(DISTMACHINE_H) $(TESTS)
30 $(AROS_INCLUDES)/% : %