diff options
author | rpj <rpj> | 2000-01-04 10:19:28 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-01-04 10:19:28 +0000 |
commit | a378d97dc9d9eadaef00a9f01816948db5f3a796 (patch) | |
tree | 654435cc0a85156c2a9b4793ab7d8e0da8424e32 /Makefile.vc | |
parent | 27d833666dfd72cc6e74c3900d3e8e66321bea3a (diff) |
Main changes (see ChangeLog diff for details and attributions):-
- asynchronous cancellation added
- attempt to hide internal exceptions from applications
- kernel32 load/free problem fixed
- new tests
- changes only to comments in some tests
Diffstat (limited to 'Makefile.vc')
-rw-r--r-- | Makefile.vc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Makefile.vc b/Makefile.vc new file mode 100644 index 0000000..4b87074 --- /dev/null +++ b/Makefile.vc @@ -0,0 +1,59 @@ + +# This makefile is compatible with MS nmake and can be used as a +# replacement for buildlib.bat. I've changed the target from an ordinary dll +# (/LD) to a debugging dll (/LDd). +# +# The variables $DLLDEST and $LIBDEST hold the destination directories for the +# dll and the lib, respectively. Probably all that needs to change is $DEVROOT. + +DEVROOT=e: + +DLLDEST=$(DEVROOT)\dll +LIBDEST=$(DEVROOT)\lib + +OBJ=attr.obj \ + cancel.obj \ + cleanup.obj \ + condvar.obj \ + create.obj \ + dll.obj \ + errno.obj \ + exit.obj \ + fork.obj \ + global.obj \ + misc.obj \ + mutex.obj \ + private.obj \ + rwlock.obj \ + sched.obj \ + semaphore.obj \ + signal.obj \ + sync.obj \ + tsd.obj + +all: pthread.dll + +clean: + del pthread.dll \ + pthread.lib \ + *.obj + + +install: all + copy pthread.dll $(DLLDEST) + copy pthread.lib $(LIBDEST) + +pthread.dll: $(OBJ) pthread.def + cl /LDd /Zi *.obj /Fepthread.dll \ + pthread.def \ + /link /nodefaultlib:libcmt \ + msvcrt.lib + +.c.obj:: + cl /W3 /MT /nologo /Yd /Zi /I. \ + /D_WIN32_WINNT=0x400 \ + /DSTDCALL=_stdcall \ + -c $< + +$(OBJ): + |