windows-updates-20010108
[openafs.git] / src / libadmin / pts / 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 PTSERVER = ..\..\ptserver\
14
15 PTSERVEROBJS = \
16         ptint.xdr.obj ptint.cs.obj
17
18 ADMINOBJS = \
19         afs_ptsAdmin.obj
20
21 DLLOBJS =\
22         $(ADMINOBJS) \
23         $(PTSERVEROBJS) \
24         afsptsadmin.res
25
26 LIBINCLUDES = \
27         $(DESTDIR)\include\afs\afs_ptsAdmin.h
28
29 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsptsadmin.dll
30 ILIBDIR = $(DESTDIR)\lib\afs
31
32 DLLLIBS =\
33         $(DESTDIR)\lib\afs\afsadminutil.lib \
34         $(DESTDIR)\lib\afsauthent.lib \
35         $(DESTDIR)\lib\afsrpc.lib \
36         $(DESTDIR)\lib\afspthread.lib
37
38 $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
39         $(DLLCONLINK) /DEF:ptsadmin.def
40         $(DLLPREP)
41         $(COPY) $*.lib $(ILIBDIR)
42         $(DEL) $*.lib $*.exp
43
44
45
46 install: $(DLLFILE) $(LIBINCLUDES)
47
48
49
50 ptint.xdr.obj: $(PTSERVER)\ptint.xdr.c
51         $(C2OBJ) $(PTSERVER)\ptint.xdr.c
52
53 ptint.cs.obj: $(PTSERVER)\ptint.cs.c
54         $(C2OBJ) $(PTSERVER)\ptint.cs.c
55
56 # Definitions for generating versioninfo resources
57 afsptsadmin.res: afsptsadmin.rc AFS_component_version_number.h
58         $(RC) $*.rc