windows-build-updates-20030314
[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)\afsutil_prototypes.h \
28         $(INCFILEDIR)\secutil_nt.h
29
30 $(INCFILEDIR)\dirent.h: dirent_nt.h
31         $(COPY) $** $@
32
33 $(INCFILEDIR)\afsconfig.h: ..\libadmin\adminutil\afscoinfig.h
34         $(COPY) $** $@
35
36 $(INCFILEDIR)\dirpath.h: dirpath_nt.h
37         $(COPY) $** $@
38
39 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
40
41 LIBOBJS = \
42         assert.obj \
43         base32.obj \
44         casestrcpy.obj \
45         get_krbrlm.obj \
46         hostparse.obj \
47         isathing.obj \
48         kreltime.obj \
49         ktime.obj \
50         regex.obj \
51         readdir_nt.obj \
52         serverLog.obj \
53         uuid.obj \
54         volparse.obj \
55         winsock_nt.obj \
56         errmap_nt.obj \
57         dirpath.obj \
58         fileutil.obj \
59         secutil_nt.obj
60
61 $(LIBOBJS): $$(@B).c
62         $(C2OBJ) -I..\libadmin\adminutil $**
63
64 $(LIBOBJS):
65
66 $(LIBFILE): $(LIBOBJS)
67         $(LIBARCH)
68
69
70 install: $(INCFILES) $(LIBFILE)
71
72 install9x: install
73
74 clean::
75         $(DEL) $(LIBFILE)