Windows: Permit build system to update symbol store
[openafs.git] / src / WINNT / client_cpa / lang / 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 # allow the resource compiler to search the dest\include tree
9
10 AFSDEV_AUXRCFLAGS = $(AFSDEV_AUXRCFLAGS) -I$(DESTDIR)\include -I..
11
12 # include the primary makefile
13 RELDIR=WINNT\client_cpa\lang
14 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
15 !include ..\..\..\config\NTMakefile.version
16
17 ############################################################################
18 #
19 # LANGUAGE
20 #
21 # To select which language to build, run the ntlang.bat batch file
22 # before performing a build.
23 #
24
25 !IF ("$(LANGID)" == "") || ("$(LANGNAME)" == "") || ("$(LANGCP)" == "")
26 !ERROR Must select language before building (run NTLANG.BAT)
27 !ENDIF
28
29 ############################################################################
30 #
31 # BUILD TARGETS
32 #
33
34 DLLFILE = $(DESTDIR)\root.client\usr\vice\etc\afs_cpa_$(LANGID).dll
35
36 RCFILE = $(LANGNAME)\afs_cpa.rc
37
38 RESFILE = $(OUT)\afs_cpa_$(LANGID).res
39
40 DLLOBJS = $(RESFILE)
41
42 ############################################################################
43
44 $(DLLFILE) : $(DLLOBJS)
45         $(DLLRESLINK)
46         $(DLLPREP) 
47         $(CODESIGN_USERLAND)
48         $(SYMSTORE_IMPORT)
49
50 install : $(DLLFILE)
51
52 clean ::
53         $(DEL) $(RESFILE)
54         $(DEL) RC* 
55         $(DEL) RD* 
56         $(DEL) $(DLLFILE) 
57         $(DEL) AFS_component_version_number.h
58
59 ############################################################################
60 #
61 # Dependencies
62 #
63
64 $(RESFILE) : $(RCFILE) AFS_component_version_number.h
65         $(RC) /fo$(RESFILE) /c$(LANGCP) $(RCFILE)
66
67
68 mkdir:
69