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