util: Remove isathing
[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 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -I..\WINNT\kfw\inc\krb5
11 RELDIR=util
12 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
13
14 INCFILEDIR = $(DESTDIR)\include\afs  # header file install directory
15
16 INCFILES =\
17         $(DESTDIR)\include\dirent.h \
18         $(DESTDIR)\include\opr\queue.h \
19         $(INCFILEDIR)\afsutil.h \
20         $(INCFILEDIR)\afs_assert.h \
21         $(INCFILEDIR)\errors.h \
22         $(INCFILEDIR)\itc.h \
23         $(INCFILEDIR)\vice.h \
24         $(INCFILEDIR)\netutils.h \
25         $(INCFILEDIR)\pthread_glock.h \
26         $(INCFILEDIR)\pthread_nosigs.h \
27         $(INCFILEDIR)\errmap_nt.h \
28         $(INCFILEDIR)\dirpath.h \
29         $(INCFILEDIR)\krb5_nt.h \
30         $(INCFILEDIR)\ktime.h \
31         $(INCFILEDIR)\fileutil.h \
32         $(INCFILEDIR)\afsutil_prototypes.h \
33         $(INCFILEDIR)\secutil_nt.h \
34         $(INCFILEDIR)\softsig.h
35
36 $(DESTDIR)\include\dirent.h: dirent_nt.h
37         $(COPY) $** $@
38
39 $(DESTDIR)\include\afs\dirpath.h: dirpath_nt.h
40         $(COPY) $** $@
41
42 LIBFILE = $(DESTDIR)\lib\afs\afsutil.lib
43
44 MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsutil.lib
45
46 LIBOBJS = \
47         $(OUT)\assert.obj \
48         $(OUT)\base32.obj \
49         $(OUT)\casestrcpy.obj \
50         $(OUT)\get_krbrlm.obj \
51         $(OUT)\hostparse.obj \
52         $(OUT)\krb5_nt.obj \
53         $(OUT)\kreltime.obj \
54         $(OUT)\ktime.obj \
55         $(OUT)\netutils.obj \
56         $(OUT)\regex.obj \
57         $(OUT)\readdir_nt.obj \
58         $(OUT)\serverLog.obj \
59         $(OUT)\snprintf.obj \
60         $(OUT)\uuid.obj \
61         $(OUT)\volparse.obj \
62         $(OUT)\winsock_nt.obj \
63         $(OUT)\errmap_nt.obj \
64         $(OUT)\dirpath.obj \
65         $(OUT)\fileutil.obj \
66         $(OUT)\secutil_nt.obj
67
68 MT_LIBOBJS = \
69         $(OUT)\assert.obj \
70         $(OUT)\base32.obj \
71         $(OUT)\casestrcpy.obj \
72         $(OUT)\get_krbrlm.obj \
73         $(OUT)\hostparse.obj \
74         $(OUT)\krb5_nt.obj \
75         $(OUT)\kreltime.obj \
76         $(OUT)\ktime.obj \
77         $(OUT)\netutils.obj \
78         $(OUT)\regex.obj \
79         $(OUT)\readdir_nt.obj \
80         $(OUT)\serverLog_mt.obj \
81         $(OUT)\snprintf.obj \
82         $(OUT)\uuid.obj \
83         $(OUT)\volparse.obj \
84         $(OUT)\winsock_nt.obj \
85         $(OUT)\errmap_nt.obj \
86         $(OUT)\dirpath_mt.obj \
87         $(OUT)\fileutil.obj \
88         $(OUT)\secutil_nt.obj
89
90 $(LIBOBJS): $$(@B).c
91     $(C2OBJ) $**
92
93 $(OUT)\dirpath_mt.obj:dirpath.c
94         $(C2OBJ) $** -DAFS_PTHREAD_ENV
95
96 $(OUT)\serverLog_mt.obj:serverLog.c
97         $(C2OBJ) $** -DAFS_PTHREAD_ENV
98
99 $(LIBFILE): $(LIBOBJS)
100         $(LIBARCH)
101
102 $(MT_LIBFILE): $(MT_LIBOBJS)
103         $(LIBARCH) Rpcrt4.lib
104
105 install_headers: $(INCFILES) 
106
107 install: install_headers $(LIBOBJS) $(LIBFILE) $(MT_LIBFILE)
108
109 install9x: install
110
111 clean::
112         $(DEL) $(LIBFILE)
113
114 mkdir:
115