windows-code-signing-20080702
[openafs.git] / src / lwp / NTMakefile
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 RELDIR=lwp
11 !include ..\config\NTMakefile.$(SYS_NAME)
12 !include ..\config\NTMakefile.version
13
14 LIBOBJS = $(OUT)\lock.obj \
15           $(OUT)\lwp_nt.obj \
16           $(OUT)\iomgr.obj \
17           $(OUT)\timer.obj\
18           $(OUT)\fasttime.obj \
19           $(OUT)\waitkey.obj \
20           $(OUT)\threadname.obj \
21           $(OUT)\AFS_component_version_number.obj
22
23 $(LIBOBJS): $$(@B).c
24     $(C2OBJ) $**
25
26 LIBFILE = $(DESTDIR)\lib\afslwp.lib
27
28 INCFILES = \
29         $(DESTDIR)\include\lock.h \
30         $(DESTDIR)\include\lwp.h \
31         $(DESTDIR)\include\preempt.h \
32         $(DESTDIR)\include\timer.h
33
34 install_headers: $(INCFILES)
35
36 install: install_headers $(LIBFILE) 
37
38 install9x: install
39
40 $(LIBFILE): $(LIBOBJS)
41         $(LIBARCH)
42
43 tests: $(OUT)\rw.exe
44
45 $(OUT)\rw.exe: $(OUT)\rw.obj $(LIBFILE) $(DESTDIR)\lib\afs\afsutil.lib
46         $(EXECONLINK)
47         $(_VC_MANIFEST_EMBED_EXE)
48         $(CODESIGN_USERLAND)
49
50 clean::
51         $(DEL) $(LIBFILE)
52
53 mkdir:
54