summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrpj <rpj>2010-06-20 03:31:18 +0000
committerrpj <rpj>2010-06-20 03:31:18 +0000
commita3ea0b24409b89bd08c0a2268dbae834724734df (patch)
tree4629fd085756226f0cee8beba4faf66466ef0410 /Makefile
parent135d6f060c5e5232311af77bd0d0f500e861290c (diff)
See ChangeLogs: preparing for new release.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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