summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 5d7a9e5..f8650b2 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ VCFLAGS = /D__CLEANUP_C $(CFLAGS)
DLL_INLINED_OBJS = \
pthread.obj
-# Agregate modules for inlinability
+# Aggregate modules for inlinability
DLL_OBJS = \
attr.obj \
barrier.obj \
@@ -148,10 +148,11 @@ SMALL_STATIC_OBJS = \
ptw32_getprocessors.obj \
ptw32_calloc.obj \
ptw32_new.obj \
- ptw32_reuse.obj \
+ ptw32_reuse.obj \
ptw32_rwlock_check_need_init.obj \
ptw32_cond_check_need_init.obj \
ptw32_mutex_check_need_init.obj \
+ ptw32_semwait.obj \
sched_get_priority_max.obj \
sched_get_priority_min.obj \
sched_setscheduler.obj \
@@ -171,7 +172,7 @@ SMALL_STATIC_OBJS = \
ptw32_increase_semaphore.obj \
ptw32_decrease_semaphore.obj \
signal.obj \
- pthread_kill.obj \
+ pthread_kill.obj \
ptw32_spinlock_check_need_init.obj \
pthread_spin_init.obj \
pthread_spin_destroy.obj \
@@ -232,13 +233,13 @@ EXIT_SRCS = \
MISC_SRCS = \
pthread_equal.c \
pthread_getconcurrency.c \
- pthread_kill.c \
+ pthread_kill.c \
pthread_once.c \
pthread_self.c \
pthread_setconcurrency.c \
ptw32_calloc.c \
ptw32_new.c \
- ptw32_reuse.c \
+ ptw32_reuse.c \
w32_CancelableWait.c
MUTEX_SRCS = \
@@ -274,6 +275,7 @@ PRIVATE_SRCS = \
ptw32_tkAssocCreate.c \
ptw32_tkAssocDestroy.c \
ptw32_callUserDestroyRoutines.c \
+ ptw32_semwait.c \
ptw32_timespec.c \
ptw32_throw.c \
ptw32_InterlockedCompareExchange.c \
@@ -400,12 +402,12 @@ install: $(DLLS)
copy pthread*.lib $(LIBDEST)
$(DLLS): $(DLL_OBJS)
- cl /LD /Zi /nologo $(DLL_OBJS) \
+ cl /LDd /Zi /nologo $(DLL_OBJS) \
/link /nodefaultlib:libcmt /implib:$*.lib \
msvcrt.lib wsock32.lib /out:$@
$(INLINED_STAMPS): $(DLL_INLINED_OBJS)
- cl /LD /Zi /nologo $(DLL_INLINED_OBJS) \
+ cl /LDd /Zi /nologo $(DLL_INLINED_OBJS) \
/link /nodefaultlib:libcmt /implib:$*.lib \
msvcrt.lib wsock32.lib /out:$*.dll