revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / m68k-pp-native / include / mmakefile.src
blob3facbe31bddcfb2e16c826e63e1de0175a8edbd8
1 # $Id$
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
17 #MM
18 includes-pp-m68k : $(INCFILES) $(GENINCDIR)/sigcore.h
19         @$(NOP)
21 #MM
22 setup-includes :
23         @$(FOR) dir in $(DIRS) ; do \
24             $(IF) $(TEST) ! -d "$$dir" ; then $(MKDIR) "$$dir" ; else true ; fi ; \
25         done
27 #MM
28 clean ::
29         $(RM) $(MACHINE_H) $(DISTMACHINE_H) $(TESTS)
31 $(AROS_INCLUDES)/% : %
32         $(CP) $< $@
34 $(GENINCDIR)/% : %
35         $(CP) $< $@
37 %common