From a3ea0b24409b89bd08c0a2268dbae834724734df Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 20 Jun 2010 03:31:18 +0000 Subject: See ChangeLogs: preparing for new release. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82bb625..c724706 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,8 @@ OPTIMD = CFLAGS = /W3 /MD /nologo /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H CFLAGSD = /Zi $(CFLAGS) +# Uncomment this if config.h defines RETAIN_WSALASTERROR +#XLIBS = wsock32.lib # Default cleanup style CLEANUP = __CLEANUP_C @@ -57,6 +59,7 @@ DLL_OBJS = \ condvar.obj \ create.obj \ dll.obj \ + autostatic.obj \ errno.obj \ exit.obj \ fork.obj \ @@ -114,6 +117,7 @@ SMALL_STATIC_OBJS = \ pthread_cond_wait.obj \ create.obj \ dll.obj \ + autostatic.obj \ errno.obj \ pthread_exit.obj \ fork.obj \ @@ -466,12 +470,12 @@ install: $(DLLS) $(DLLS): $(DLL_OBJS) cl /LDd /Zi /nologo $(DLL_OBJS) \ /link /nodefaultlib:libcmt /implib:$*.lib \ - msvcrt.lib wsock32.lib /out:$@ + msvcrt.lib ${XLIBS} /out:$@ $(INLINED_STAMPS): $(DLL_INLINED_OBJS) cl /LDd /Zi /nologo $(DLL_INLINED_OBJS) \ /link /nodefaultlib:libcmt /implib:$*.lib \ - msvcrt.lib wsock32.lib /out:$*.dll + msvcrt.lib ${XLIBS} /out:$*.dll $(STATIC_STAMPS): $(DLL_INLINED_OBJS) if exist $*.lib del $*.lib -- cgit v1.2.3