3 include $(TOP)/config/make.cfg
5 INCLUDES := $(wildcard *.h sys/*.h sys/*.def)
6 DEST_INCLUDES := $(foreach f,$(INCLUDES),$(AROS_INCLUDES)/$(f))
7 DIRS := $(AROS_INCLUDES) $(AROS_INCLUDES)/sys
9 #MM compiler-clib-includes : compiler-clib-includes-setup
10 compiler-clib-includes : includes-copy
12 #MM includes-copy : compiler-clib-includes-setup
13 includes-copy : setup $(DEST_INCLUDES)
17 compiler-clib-includes-setup : $(DIRS)
20 $(IF) $(TEST) ! -d "$@" ; then $(MKDIR) "$@" ; else $(NOP) ; fi
22 $(AROS_INCLUDES)/%.h : %.h
25 $(AROS_INCLUDES)/%.def : %.def
30 $(RM) $(AROS_INCLUDES)