Windows: Permit build system to update symbol store
[openafs.git] / src / rxgen / 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=rxgen
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 INCFILEDIR = $(DESTDIR)\include\afs 
13
14 INCFILES =\
15         $(INCFILEDIR)\rxgen_consts.h
16
17 # build rxgen
18 EXEFILE = $(DESTDIR)\bin\rxgen.exe
19
20 EXERES = $(OUT)\rxgen.res
21
22 EXEOBJS =\
23         $(OUT)\rpc_main.obj \
24         $(OUT)\rpc_hout.obj \
25         $(OUT)\rpc_cout.obj \
26         $(OUT)\rpc_parse.obj \
27         $(OUT)\rpc_scan.obj \
28         $(OUT)\rpc_util.obj \
29         $(OUT)\rpc_svcout.obj \
30         $(OUT)\rpc_clntout.obj
31         
32 $(EXEOBJS): $$(@B).c
33     $(C2OBJ) $**
34
35 $(EXERES): rxgen.rc AFS_component_version_number.h
36
37 $(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
38         $(EXECONLINK)
39         $(_VC_MANIFEST_EMBED_EXE)
40         $(EXEPREP) 
41         $(CODESIGN_USERLAND)
42         $(SYMSTORE_IMPORT)
43
44 install: AFS_component_version_number.c $(EXEFILE) $(INCFILES)
45
46 install9x: install
47
48 clean::
49         $(DEL) $(EXEFILE)
50         $(DEL) $(EXERES)
51
52 mkdir:
53