multiple-local-realms-fix-20051210
[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 RELDIR=util
11 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
12
13 INCFILEDIR = $(DESTDIR)\include\afs  # header file install directory
14
15 INCFILES =\
16         $(INCFILEDIR)\afsutil.h \
17         $(INCFILEDIR)\assert.h \
18         $(INCFILEDIR)\dirent.h \
19         $(INCFILEDIR)\errors.h \
20         $(INCFILEDIR)\itc.h \
21         $(INCFILEDIR)\vice.h \
22         $(INCFILEDIR)\pthread_glock.h \
23         $(INCFILEDIR)\pthread_nosigs.h \
24         $(INCFILEDIR)\errmap_nt.h \
25         $(INCFILEDIR)\dirpath.h \
26         $(INCFILEDIR)\ktime.h \
27         $(INCFILEDIR)\fileutil.h \
28         $(INCFILEDIR)\afsutil_prototypes.h \
29         $(INCFILEDIR)\secutil_nt.h
30
31 $(DESTDIR)\include\afs\dirent.h: dirent_nt.h
32         $(COPY) $** $@
33
34 $(DESTDIR)\include\afs\dirpath.h: dirpath_nt.h
35         $(COPY) $** $@
36
37 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
38
39 LIBOBJS = \
40         $(OUT)\assert.obj \
41         $(OUT)\base32.obj \
42         $(OUT)\casestrcpy.obj \
43         $(OUT)\get_krbrlm.obj \
44         $(OUT)\hostparse.obj \
45         $(OUT)\isathing.obj \
46         $(OUT)\kreltime.obj \
47         $(OUT)\ktime.obj \
48         $(OUT)\regex.obj \
49         $(OUT)\readdir_nt.obj \
50         $(OUT)\serverLog.obj \
51     $(OUT)\snprintf.obj \
52         $(OUT)\uuid.obj \
53         $(OUT)\volparse.obj \
54         $(OUT)\winsock_nt.obj \
55         $(OUT)\errmap_nt.obj \
56         $(OUT)\dirpath.obj \
57         $(OUT)\fileutil.obj \
58         $(OUT)\secutil_nt.obj
59
60 $(LIBOBJS): $$(@B).c
61     $(C2OBJ) $**
62
63 $(LIBFILE): $(LIBOBJS)
64         $(LIBARCH)
65
66 install: $(INCFILES) $(LIBOBJS) $(LIBFILE)
67
68 install9x: install
69
70 clean::
71         $(DEL) $(LIBFILE)
72
73 mkdir:
74