softsig: not used on windows
[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         $(DESTDIR)\include\dirent.h \
17         $(INCFILEDIR)\afsutil.h \
18         $(INCFILEDIR)\errors.h \
19         $(INCFILEDIR)\vice.h \
20         $(INCFILEDIR)\netutils.h \
21         $(INCFILEDIR)\pthread_glock.h \
22         $(INCFILEDIR)\pthread_nosigs.h \
23         $(INCFILEDIR)\errmap_nt.h \
24         $(INCFILEDIR)\dirpath.h \
25         $(INCFILEDIR)\krb5_nt.h \
26         $(INCFILEDIR)\ktime.h \
27         $(INCFILEDIR)\fileutil.h \
28         $(INCFILEDIR)\afsutil_prototypes.h \
29         $(INCFILEDIR)\secutil_nt.h
30
31 $(DESTDIR)\include\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 MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsutil.lib
40
41 LIBOBJS = \
42         $(OUT)\base32.obj \
43         $(OUT)\get_krbrlm.obj \
44         $(OUT)\hostparse.obj \
45         $(OUT)\krb5_nt.obj \
46         $(OUT)\kreltime.obj \
47         $(OUT)\ktime.obj \
48         $(OUT)\netutils.obj \
49         $(OUT)\regex.obj \
50         $(OUT)\readdir_nt.obj \
51         $(OUT)\serverLog.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 MT_LIBOBJS = \
61         $(OUT)\base32.obj \
62         $(OUT)\get_krbrlm.obj \
63         $(OUT)\hostparse.obj \
64         $(OUT)\krb5_nt.obj \
65         $(OUT)\kreltime.obj \
66         $(OUT)\ktime.obj \
67         $(OUT)\netutils.obj \
68         $(OUT)\regex.obj \
69         $(OUT)\readdir_nt.obj \
70         $(OUT)\serverLog_mt.obj \
71         $(OUT)\uuid.obj \
72         $(OUT)\volparse.obj \
73         $(OUT)\winsock_nt.obj \
74         $(OUT)\errmap_nt.obj \
75         $(OUT)\dirpath_mt.obj \
76         $(OUT)\fileutil.obj \
77         $(OUT)\secutil_nt.obj
78
79 $(LIBOBJS): $$(@B).c
80     $(C2OBJ) $**
81
82 $(OUT)\dirpath_mt.obj:dirpath.c
83         $(C2OBJ) $** -DAFS_PTHREAD_ENV
84
85 $(OUT)\serverLog_mt.obj:serverLog.c
86         $(C2OBJ) $** -DAFS_PTHREAD_ENV
87
88 $(LIBFILE): $(LIBOBJS)
89         $(LIBARCH)
90
91 $(MT_LIBFILE): $(MT_LIBOBJS)
92         $(LIBARCH) Rpcrt4.lib
93
94 install_headers: $(INCFILES) 
95
96 install: install_headers $(LIBOBJS) $(LIBFILE) $(MT_LIBFILE)
97
98 clean::
99         $(DEL) $(LIBFILE)
100
101 mkdir:
102