Remove local crypto
[openafs.git] / src / update / 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 RELDIR=update
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 LIBS = \
13         $(DESTDIR)\lib\afs\afsauth.lib \
14         $(DESTDIR)\lib\afs\afsauth.lib \
15         $(DESTDIR)\lib\afs\afscom_err.lib \
16         $(DESTDIR)\lib\afs\afsutil.lib \
17         $(DESTDIR)\lib\afs\afsreg.lib \
18         $(DESTDIR)\lib\afslwp.lib \
19         $(DESTDIR)\lib\afsrx.lib \
20         $(DESTDIR)\lib\afsubik.lib \
21         $(DESTDIR)\lib\afs\afseventlog.lib \
22         $(DESTDIR)\lib\afsrxkad.lib \
23         $(DESTDIR)\lib\afs\afsprocmgmt.lib \
24         $(DESTDIR)\lib\libafsconf.lib \
25         $(DESTDIR)\lib\afs\afspioctl.lib \
26         $(DESTDIR)\lib\afshcrypto.lib \
27         $(DESTDIR)\lib\afsroken.lib
28
29 ############################################################################
30 # Definitions for generating files via RXGEN
31
32 update.cs.c: update.xg update.h
33         $(RXGEN) -u -C -o $@ update.xg
34
35 update.ss.c: update.xg update.h
36         $(RXGEN) -S -o $@ update.xg
37
38 update.xdr.c: update.xg update.h
39         $(RXGEN) -c -o $@ update.xg
40
41 update.h: update.xg
42         $(RXGEN) -u -h -o $@ update.xg
43
44 ############################################################################
45 # upserver
46 UPSERVER = $(DESTDIR)\root.server\usr\afs\bin\upserver.exe
47
48 USVR_OBJS = \
49         $(OUT)\AFS_component_version_number.obj \
50         $(OUT)\server.obj \
51         $(OUT)\utils.obj \
52         $(OUT)\update.ss.obj \
53         $(OUT)\upserver.res
54
55 $(UPSERVER):  $(USVR_OBJS) $(LIBS)
56         $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
57         $(_VC_MANIFEST_EMBED_EXE)
58         $(EXEPREP) 
59         $(CODESIGN_USERLAND)
60         $(SYMSTORE_IMPORT)
61
62 ############################################################################
63 # upclient
64 UPCLIENT = $(DESTDIR)\root.server\usr\afs\bin\upclient.exe
65
66 UCLNT_OBJS = \
67         $(OUT)\AFS_component_version_number.obj \
68         $(OUT)\client.obj \
69         $(OUT)\utils.obj \
70         $(OUT)\update.cs.obj \
71         $(OUT)\upclient.res
72
73 $(UPCLIENT):  $(UCLNT_OBJS)  $(LIBS)
74         $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
75         $(_VC_MANIFEST_EMBED_EXE)
76         $(EXEPREP) 
77         $(CODESIGN_USERLAND)
78         $(SYMSTORE_IMPORT)
79
80 ############################################################################
81 # generate versioninfo resources
82
83 $(OUT)\upserver.res: AFS_component_version_number.h
84
85 $(OUT)\upclient.res: AFS_component_version_number.h
86
87 ############################################################################
88 # Install update executables.
89
90 install: update.h $(UPCLIENT) $(UPSERVER)
91
92
93 ############################################################################
94 # Local clean target; augments predefined clean target
95
96 clean::
97         $(DEL) update.cs.c update.ss.c update.xdr.c update.h
98
99 mkdir:
100          copy home $(OUT)\.
101