windows-code-signing-20080702
[openafs.git] / src / WINNT / afssvrmgr / 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\afssvrmgr\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.server\usr\afs\bin\TaAfsServerManager_$(LANGID).dll
35
36 RCFILE = $(LANGNAME)\svrmgr.rc
37
38 RESFILE = $(OUT)\svrmgr_$(LANGID).res
39
40 DLLOBJS = $(RESFILE)
41
42 ############################################################################
43
44 $(DLLFILE) : $(DLLOBJS)
45         $(DLLRESLINK)
46         $(DLLPREP) 
47         $(CODESIGN_USERLAND)
48
49 install : $(DLLFILE)
50
51 clean ::
52         @if exist $(OUT)\*.res del $(OUT)\*.res
53         @if exist AFS_component_version_number.h del AFS_component_version_number.h
54         @if exist RC*. del RC*.
55         @if exist RD*. del RD*.
56
57 ############################################################################
58 #
59 # Dependencies
60 #
61
62 $(RESFILE) : $(RCFILE) AFS_component_version_number.h
63         $(RC) /fo$(RESFILE) /c$(LANGCP) $(RCFILE)
64
65
66 mkdir:
67