Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / arch / all-mingw32 / bsdsocket / mmakefile.src
blobf1e4df13a1d92f2e2c814bd21f109e6db93a4246
1 #   $Id$
2 include $(SRCDIR)/config/aros.cfg
4 #MM workbench-libs-bsdsocket-mingw32: bsdsocket-mingw32-native
6 FUNCS := \
7     accept \
8     bind \
9     closesocket \
10     connect \
11     dup2socket \
12     errno \
13     getdtablesize \
14     gethostbyaddr \
15     gethostbyname \
16     gethostid \
17     gethostname \
18     getnetbyaddr \
19     getnetbyname \
20     getpeername \
21     getprotobyname \
22     getprotobynumber \
23     getservbyname \
24     getservbyport \
25     getsocketevents \
26     getsockname \
27     getsockopt \
28     inet_addr \
29     inet_lnaof \
30     inet_makeaddr \
31     inet_netof \
32     inet_network \
33     inet_ntoa \
34     ioctlsocket \
35     listen \
36     obtainsocket \
37     recv \
38     recvfrom \
39     recvmsg \
40     releasecopyofsocket \
41     releasesocket \
42     send \
43     sendmsg \
44     sendto \
45     seterrnoptr \
46     setsocketsignals \
47     setsockopt \
48     shutdown \
49     socket \
50     socketbasetaglist \
51     vsyslog \
52     waitselect
54 FILES := bsdsocket_init bsdsocket_open bsdsocket_util netdb_util
55     
56 %build_module_library mmake=workbench-libs-bsdsocket-mingw32 \
57     modname=bsdsocket modtype=library \
58     files="$(FILES) $(FUNCS)"
60 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
61 NATIVE_LIBDIR := $(AROS_DEVELOPMENT)/$(CPU)-mingw32/lib
63 NATIVE_FILES  := host_socket
65 NATIVE_LDFLAGS := -shared -L$(NATIVE_LIBDIR)
67 USER_INCLUDES := -I$(AROS_DEVELOPMENT)/$(CPU)-mingw32/include
69 %build_prog mmake=bsdsocket-mingw32-native \
70     progname=bsdsocket.dll targetdir=$(NATIVE_BINDIR) \
71     files=$(NATIVE_FILES) compiler=kernel uselibs="aroskernel Ws2_32" \
72     ldflags=$(NATIVE_LDFLAGS)
74 %common