Commit | Line | Data |
---|---|---|
805e021f CE |
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\timer.h | |
32 | ||
33 | install_headers: $(INCFILES) | |
34 | ||
35 | install: install_headers $(LIBFILE) | |
36 | ||
37 | $(LIBFILE): $(LIBOBJS) | |
38 | $(LIBARCH) | |
39 | ||
40 | tests: $(OUT)\rw.exe | |
41 | ||
42 | $(OUT)\rw.exe: $(OUT)\rw.obj $(LIBFILE) $(DESTDIR)\lib\afs\afsutil.lib | |
43 | $(EXECONLINK) | |
44 | $(_VC_MANIFEST_EMBED_EXE) | |
45 | $(CODESIGN_USERLAND) | |
46 | $(SYMSTORE_IMPORT) | |
47 | ||
48 | clean:: | |
49 | $(DEL) $(LIBFILE) | |
50 | ||
51 | mkdir: | |
52 |