Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / .unmaintained / morphos / Include / mmakefile
blob2be0e3a866ceb89e5bb66bbe3f7d27f335e45360
1 include $(TOP)/config/make.cfg
3 INCSUBDIRS :=   aros \
4                 exec \
5                 libcore \
6         gadgets \
7         intuition \
8         libraries \
9                 proto \
10         libcor \
11         dos
12                 
14 INCLUDES      := $(foreach d,$(INCSUBDIRS),$(wildcard $(d)/*.*))
15 DEST_INCLUDES := $(foreach f,$(INCLUDES),$(AROS_INCLUDES)/$(f))
17 #MM- includes-morphos : setup-includes-morphos includes-copy-morphos
18 #MM
19 includes-copy-morphos : $(DEST_INCLUDES)
21 $(AROS_INCLUDES)/%.h : %.h
22         @$(CP) $< $@
24 $(AROS_INCLUDES)/%.c : %.c
25         @$(CP) $< $@
27 #MM
28 setup-includes-morphos :
29         @$(FOR) dir in $(AROS_INCLUDES)         \
30                 $(foreach f,$(INCSUBDIRS),$(AROS_INCLUDES)/$(f)) \
31                 $(GENINCDIR) \
32                 $(foreach f,$(INCSUBDIRS),$(GENINCDIR)/$(f)) \
33         ; do \
34            $(IF) $(TEST) ! -d "$$dir" ; then $(MKDIR) "$$dir" ; else true ; fi ;\
35         done
37 #MM
38 clean :
39         -$(RM) $(AROS_INCLUDES)