winnt-update-to-build-again-20030824
[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 $(DESTDIR)\include\afs\dirent.h: dirent_nt.h
31         $(COPY) $** $@
32
33 $(DESTDIR)\include\afs\dirpath.h: dirpath_nt.h
34         $(COPY) $** $@
35
36 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
37
38 LIBOBJS = \
39         $(OJT)\assert.obj \
40         $(OJT)\base32.obj \
41         $(OJT)\casestrcpy.obj \
42         $(OJT)\get_krbrlm.obj \
43         $(OJT)\hostparse.obj \
44         $(OJT)\isathing.obj \
45         $(OJT)\kreltime.obj \
46         $(OJT)\ktime.obj \
47         $(OJT)\regex.obj \
48         $(OJT)\readdir_nt.obj \
49         $(OJT)\serverLog.obj \
50    $(OJT)\snprintf.obj \
51         $(OJT)\uuid.obj \
52         $(OJT)\volparse.obj \
53         $(OJT)\winsock_nt.obj \
54         $(OJT)\errmap_nt.obj \
55         $(OJT)\dirpath.obj \
56         $(OJT)\fileutil.obj \
57         $(OJT)\secutil_nt.obj
58
59 $(LIBFILE): $(LIBOBJS)
60         $(LIBARCH)
61
62 install: $(INCFILES) $(LIBOBJS) $(LIBFILE)
63
64 install9x: install
65
66 clean::
67         $(DEL) $(LIBFILE)
68
69 mkdir:
70