04fde9ecdfaacc8bb1aea6817ee090575e7f5620
[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 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
33
34 LIBOBJS = \
35         assert.obj \
36         base32.obj \
37         casestrcpy.obj \
38         get_krbrlm.obj \
39         hostparse.obj \
40         isathing.obj \
41         kreltime.obj \
42         ktime.obj \
43         regex.obj \
44         readdir_nt.obj \
45         serverLog.obj \
46         uuid.obj \
47         volparse.obj \
48         winsock_nt.obj \
49         errmap_nt.obj \
50         dirpath.obj \
51         fileutil.obj \
52         secutil_nt.obj
53
54
55 $(LIBFILE): $(LIBOBJS)
56         $(LIBARCH)
57
58
59 install: $(INCFILES) $(LIBFILE)
60
61 install9x: install
62
63 clean::
64         $(DEL) $(LIBFILE)