winnt-makefile-fixes-20010908
[openafs.git] / src / util / 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 # General AFS utilities.
9
10 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
11
12 INCFILEDIR = $(DESTDIR)\include\afs  # header file install directory
13
14 INCFILES =\
15         $(INCFILEDIR)\afsutil.h \
16         $(INCFILEDIR)\assert.h \
17         $(INCFILEDIR)\dirent.h \
18         $(INCFILEDIR)\errors.h \
19         $(INCFILEDIR)\itc.h \
20         $(INCFILEDIR)\vice.h \
21         $(INCFILEDIR)\pthread_glock.h \
22         $(INCFILEDIR)\pthread_nosigs.h \
23         $(INCFILEDIR)\errmap_nt.h \
24         $(INCFILEDIR)\dirpath.h \
25         $(INCFILEDIR)\ktime.h \
26         $(INCFILEDIR)\fileutil.h \
27         $(INCFILEDIR)\secutil_nt.h
28
29 $(DESTDIR)\include\afs\dirent.h: dirent_nt.h
30         $(COPY) $** $@
31
32 $(DESTDIR)\include\afs\dirpath.h: dirpath.hin
33         $(COPY) $** $@
34
35 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
36
37 LIBOBJS = \
38         assert.obj \
39         base32.obj \
40         casestrcpy.obj \
41         get_krbrlm.obj \
42         hostparse.obj \
43         isathing.obj \
44         kreltime.obj \
45         ktime.obj \
46         regex.obj \
47         readdir_nt.obj \
48         serverLog.obj \
49         uuid.obj \
50         volparse.obj \
51         winsock_nt.obj \
52         errmap_nt.obj \
53         dirpath.obj \
54         fileutil.obj \
55         secutil_nt.obj
56
57
58 $(LIBFILE): $(LIBOBJS)
59         $(LIBARCH)
60
61
62 install: $(INCFILES) $(LIBFILE)
63
64 install9x: install
65
66 clean::
67         $(DEL) $(LIBFILE)