Standardize License information
[openafs.git] / src / libadmin / kas / 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 AFSDEV_AUXCDEFINES = -DAFS_PTHREAD_ENV
9
10 !include ..\..\config\NTMakefile.$(SYS_NAME)
11 !include ..\..\config\NTMakefile.version
12
13 KAUTH = ..\..\kauth\
14
15 KAUTHOBJS = \
16         kauth.cs.obj kauth.xdr.obj kaaux.obj
17
18 ADMINOBJS = \
19         afs_kasAdmin.obj \
20         afskasadmin.res
21
22 DLLOBJS = $(ADMINOBJS) $(KAUTHOBJS)
23
24 LIBINCLUDES = \
25         $(DESTDIR)\include\afs\afs_kasAdmin.h
26
27 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afskasadmin.dll
28 ILIBDIR = $(DESTDIR)\lib\afs
29
30 DLLLIBS =\
31         $(DESTDIR)\lib\afs\afsadminutil.lib \
32         $(DESTDIR)\lib\afsauthent.lib \
33         $(DESTDIR)\lib\afsrpc.lib \
34         $(DESTDIR)\lib\pthread.lib
35
36 $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
37         $(DLLCONLINK) /DEF:kasadmin.def
38         $(DLLPREP)
39         $(COPY) $*.lib $(ILIBDIR)
40         $(DEL) $*.lib $*.exp
41
42
43 install: $(DLLFILE) $(LIBINCLUDES)
44
45
46
47 kauth.cs.obj: $(KAUTH)\kauth.cs.c
48         $(C2OBJ) $(KAUTH)\kauth.cs.c
49
50 kauth.xdr.obj: $(KAUTH)\kauth.xdr.c
51         $(C2OBJ) $(KAUTH)\kauth.xdr.c
52
53 kaaux.obj: $(KAUTH)\kaaux.c
54         $(C2OBJ) $(KAUTH)\kaaux.c
55
56 # Definitions for generating versioninfo resources
57 afskasadmin.res: afskasadmin.rc AFS_component_version_number.h
58         $(RC) $*.rc