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\opr.lib \
27 $(DESTDIR)\lib\afshcrypto.lib \
28 $(DESTDIR)\lib\afsroken.lib \
29 $(DESTDIR)\lib\afsrfc3961.lib
31 ############################################################################
32 # Definitions for generating files via RXGEN
34 update.cs.c: update.xg update.h
35 $(RXGEN) -u -C -o $@ update.xg
37 update.ss.c: update.xg update.h
38 $(RXGEN) -S -o $@ update.xg
40 update.xdr.c: update.xg update.h
41 $(RXGEN) -c -o $@ update.xg
44 $(RXGEN) -u -h -o $@ update.xg
46 ############################################################################
48 UPSERVER = $(DESTDIR)\root.server\usr\afs\bin\upserver.exe
51 $(OUT)\AFS_component_version_number.obj \
54 $(OUT)\update.ss.obj \
57 $(UPSERVER): $(USVR_OBJS) $(LIBS)
58 $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
59 $(_VC_MANIFEST_EMBED_EXE)
64 ############################################################################
66 UPCLIENT = $(DESTDIR)\root.server\usr\afs\bin\upclient.exe
69 $(OUT)\AFS_component_version_number.obj \
72 $(OUT)\update.cs.obj \
75 $(UPCLIENT): $(UCLNT_OBJS) $(LIBS)
76 $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
77 $(_VC_MANIFEST_EMBED_EXE)
82 ############################################################################
83 # generate versioninfo resources
85 $(OUT)\upserver.res: AFS_component_version_number.h
87 $(OUT)\upclient.res: AFS_component_version_number.h
89 ############################################################################
90 # Install update executables.
92 install: update.h $(UPCLIENT) $(UPSERVER)
95 ############################################################################
96 # Local clean target; augments predefined clean target
99 $(DEL) update.cs.c update.ss.c update.xdr.c update.h