windows-build-updates-20030314
[openafs.git] / src / libadmin / client / 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
14 DLLOBJS = \
15         $(OJT)\afs_clientAdmin.obj \
16         $(OJT)\afsclientadmin.res
17
18 LIBINCLUDES = \
19         $(DESTDIR)\include\afs\afs_clientAdmin.h
20
21 DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsclientadmin.dll
22 ILIBDIR = $(DESTDIR)\lib\afs
23
24 DLLLIBS =\
25         $(DESTDIR)\lib\afs\afsvosadmin.lib \
26         $(DESTDIR)\lib\afs\afsadminutil.lib \
27         $(DESTDIR)\lib\afsauthent.lib \
28         $(DESTDIR)\lib\afsrpc.lib \
29         $(DESTDIR)\lib\afspthread.lib
30
31 $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
32         $(DLLCONLINK) /DEF:clientadmin.def
33         $(DLLPREP)
34         $(COPY) $*.lib $(ILIBDIR)
35         $(DEL) $*.lib $*.exp
36
37
38 install: $(DLLFILE) $(LIBINCLUDES)
39
40 # Definitions for generating versioninfo resources
41 $(OJT)\afsclientadmin.res: AFS_component_version_number.h
42
43 mkdir:
44