win-xp-sp2-20040325
[openafs.git] / src / WINNT / afsreg / 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 RELDIR=WINNT\afsreg
9 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
10
11 INCFILES = \
12         $(DESTDIR)\include\WINNT\afsreg.h \
13         $(DESTDIR)\include\WINNT\syscfg.h \
14         $(DESTDIR)\include\WINNT\afssw.h \
15         $(DESTDIR)\include\WINNT\vptab.h
16
17
18 LIBFILE = $(DESTDIR)\lib\afs\afsreg.lib
19
20 LIBOBJS = \
21         $(OUT)\afsreg.obj \
22         $(OUT)\syscfg.obj \
23         $(OUT)\afssw.obj \
24         $(OUT)\vptab.obj
25
26 $(LIBOBJS): $$(@B).c
27     $(C2OBJ) $**
28
29 $(LIBFILE): $(LIBOBJS)
30         $(LIBARCH)
31
32 install_headers: $(INCFILES)
33
34 install: install_headers $(LIBFILE)
35
36 install9x: install
37
38 clean::
39         $(DEL) $(LIBFILE)