Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / mmakefile.src
blob182a6a92371a612471d61b925ae847c27ab86079
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 USER_INCLUDES := -isystem ../netinclude/
6 NOWARN_FLAGS := $(NOWARN_UNINITIALIZED) $(NOWARN_PARENTHESES)
7 USER_CFLAGS := $(NOWARN_FLAGS) -DAMITCP_NEW_NAMES -DSOCKETBASE_IN_CONTEXT -DUSERGROUPBASE_IN_CONTEXT \
8         -D__BSD_VISIBLE=1
10 #MM- linklibs: arostcp-linklibs
11 #MM- workbench-network-stacks-arostcp : arostcp-linklibs
12 #MM- arostcp-linklibs : includes arostcp-linklibs-netlib arostcp-linklibs-miami arostcp-linklibs-sana2
14 NETLIBSRC = strerror \
15            autoinit \
16            dummy \
17            lineread \
18            printfault \
19            stubs \
20            herror \
21            syslog \
22            getpid \
23            getppid \
24            popen \
25            serveraccept \
26            linkaddr \
27            linkntoa \
28            random \
29            kill \
30            writev \
31            vasprintf \
32            asprintf \
33            init_inet_daemon \
34            err
36 SANA2LIBSRC = sana2perror \
37              sana2errlist \
38              sana2printfault
40 MIAMILIBSRC = miami_autoinit
42 %build_linklib mmake=arostcp-linklibs-netlib libname=net files=$(NETLIBSRC)
44 %build_linklib mmake=arostcp-linklibs-sana2 libname=sana2 files=$(SANA2LIBSRC)
46 %build_linklib mmake=arostcp-linklibs-miami libname=miami files=$(MIAMILIBSRC)
48 %common