2 include $(SRCDIR)/config/aros.cfg
4 #MM workbench-libs-bsdsocket-mingw32: bsdsocket-mingw32-native
54 FILES := bsdsocket_init bsdsocket_open bsdsocket_util netdb_util
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)