Import Upstream version 1.8.5
[hcoop/debian/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 RELDIR=libadmin\client
11 !include ..\..\config\NTMakefile.$(SYS_NAME)
12 !include ..\..\config\NTMakefile.version
13
14 DLLOBJS = \
15 $(OUT)\afs_clientAdmin.obj \
16 $(OUT)\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 $(DESTDIR)\lib\afs\mtafsutil.lib \
31 $(DESTDIR)\lib\opr.lib \
32 $(DESTDIR)\lib\afsroken.lib
33
34 $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
35 $(DLLCONLINK) /DEF:clientadmin.def
36 $(_VC_MANIFEST_EMBED_DLL)
37 $(DLLPREP)
38 $(CODESIGN_USERLAND)
39 $(SYMSTORE_IMPORT)
40 $(MAKECYGLIB) --input-def clientadmin.def
41 $(COPY) $*.lib $(ILIBDIR)
42 $(DEL) $*.lib $*.exp
43
44
45 install: $(DLLFILE) $(LIBINCLUDES)
46
47 # Definitions for generating versioninfo resources
48 $(OUT)\afsclientadmin.res: AFS_component_version_number.h
49
50 mkdir:
51