Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / common / include / mmakefile.src
blobefeaa561a19ed745e4ea5d7fa0004ac7647f93ef
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 INCLUDES      := $(call WILDCARD, *.h arpa/*.h bsdsocket/*.h clib/*.h defines/*.h libraries/*.h net/*.h netinet/*.h proto/*.h sys/*.h)
6 DEST_INCLUDES := $(foreach f,$(INCLUDES),$(AROS_INCLUDES)/$(f))
7 DIRS          := $(AROS_INCLUDES) \
8                  $(AROS_INCLUDES)/arpa \
9                  $(AROS_INCLUDES)/bsdsocket \
10                  $(AROS_INCLUDES)/clib \
11                  $(AROS_INCLUDES)/defines \
12                  $(AROS_INCLUDES)/libraries \
13                  $(AROS_INCLUDES)/net \
14                  $(AROS_INCLUDES)/netinet \
15                  $(AROS_INCLUDES)/proto \
16                  $(AROS_INCLUDES)/sys
18 #MM- includes-copy : network-includes-copy
19 #MM network-includes-copy : network-includes-setup
21 #MM
22 network-includes-copy : $(DEST_INCLUDES)
24 #MM
25 network-includes-setup :
26         %mkdirs_q $(DIRS)
28 $(DEST_INCLUDES) : $(AROS_INCLUDES)/% : $(SRCDIR)/$(CURDIR)/%
29         @$(CP) $< $@