1 # Copyright 2000, International Business Machines Corporation and others.
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
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
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
29 ############################################################################
30 # Definitions for generating files via RXGEN
32 update.cs.c: update.xg update.h
33 $(RXGEN) -u -C -o $@ update.xg
35 update.ss.c: update.xg update.h
36 $(RXGEN) -S -o $@ update.xg
38 update.xdr.c: update.xg update.h
39 $(RXGEN) -c -o $@ update.xg
42 $(RXGEN) -u -h -o $@ update.xg
44 ############################################################################
46 UPSERVER = $(DESTDIR)\root.server\usr\afs\bin\upserver.exe
49 $(OUT)\AFS_component_version_number.obj \
52 $(OUT)\update.ss.obj \
55 $(UPSERVER): $(USVR_OBJS) $(LIBS)
56 $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
57 $(_VC_MANIFEST_EMBED_EXE)
62 ############################################################################
64 UPCLIENT = $(DESTDIR)\root.server\usr\afs\bin\upclient.exe
67 $(OUT)\AFS_component_version_number.obj \
70 $(OUT)\update.cs.obj \
73 $(UPCLIENT): $(UCLNT_OBJS) $(LIBS)
74 $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
75 $(_VC_MANIFEST_EMBED_EXE)
80 ############################################################################
81 # generate versioninfo resources
83 $(OUT)\upserver.res: AFS_component_version_number.h
85 $(OUT)\upclient.res: AFS_component_version_number.h
87 ############################################################################
88 # Install update executables.
90 install: update.h $(UPCLIENT) $(UPSERVER)
93 ############################################################################
94 # Local clean target; augments predefined clean target
97 $(DEL) update.cs.c update.ss.c update.xdr.c update.h