win95-initial-port-20010430
[openafs.git] / src / lwp / NTMake9x
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 # nmake Makefile for NT build of LWP. 
9
10 !include ..\config\NTMakefile.$(SYS_NAME)
11 !IF (EXIST(..\config\NTMakefile.version))
12 !include ..\config\NTMakefile.version
13 !ENDIF
14
15 #LIBOBJS = lock.obj \
16           #lwp_nt.obj \
17           #iomgr.obj \
18           #timer.obj\
19           #fasttime.obj \
20           #waitkey.obj \
21           #AFS_component_version_number.obj
22 LIBOBJS=tlwp.obj process.obj lock.obj tiomgr.obj timer.obj fasttime.obj preempt.obj AFS_component_version_number.obj pthread.obj
23
24 #tlwp.o: lwp.c lwp.h
25      #$(CC) $(CFLAGS) -DUSE_SOLARIS_THREADSX -c lwp.c
26      #mv lwp.o tlwp.o
27 #
28 #tiomgr.o: iomgr.c lwp.h
29 #     $(CC) $(CFLAGS) -DUSE_SOLARIS_THREADSX -c iomgr.c
30 #     mv iomgr.o tiomgr.o
31 #
32 #pthread.o : pthread.c
33 #     $(CC) $(CFLAGS) -DUSE_SOLARIS_THREADSX -c pthread.c
34
35 LIBFILE = $(DESTDIR)\lib\afslwp.lib
36
37 INCFILES = \
38         $(DESTDIR)\include\lock.h \
39         $(DESTDIR)\include\lwp.h \
40         $(DESTDIR)\include\preempt.h \
41         $(DESTDIR)\include\timer.h
42
43
44
45 install: $(LIBFILE) $(INCFILES)
46
47 $(LIBFILE): $(LIBOBJS)
48         $(LIBARCH)
49
50 tests: rw.exe
51
52 rw.exe: rw.obj $(LIBFILE) $(DESTDIR)\lib\afs\afsutil.lib
53         $(EXECONLINK)