Windows: link to afsroken.dll
[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 EXELIBS =\
23     $(DESTDIR)\lib\afsroken.lib
24
25 EXEOBJS =\
26         $(OUT)\rpc_main.obj \
27         $(OUT)\rpc_hout.obj \
28         $(OUT)\rpc_cout.obj \
29         $(OUT)\rpc_parse.obj \
30         $(OUT)\rpc_scan.obj \
31         $(OUT)\rpc_util.obj \
32         $(OUT)\rpc_svcout.obj \
33         $(OUT)\rpc_clntout.obj
34         
35 $(EXEOBJS): $$(@B).c
36     $(C2OBJ) $**
37
38 $(EXERES): rxgen.rc AFS_component_version_number.h
39
40 $(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
41         $(EXECONLINK)
42         $(_VC_MANIFEST_EMBED_EXE)
43         $(EXEPREP) 
44         $(CODESIGN_USERLAND)
45         $(SYMSTORE_IMPORT)
46
47 install: AFS_component_version_number.c $(EXEFILE) $(INCFILES)
48
49 clean::
50         $(DEL) $(EXEFILE)
51         $(DEL) $(EXERES)
52
53 mkdir:
54