Windows: AFSTearDownExtents may experience active extents
[openafs.git] / src / WINNT / afslegal / 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 # make compiler warnings fatal
9 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX
10
11 # include the primary makefile
12 RELDIR=WINNT\afslegal
13 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
14 !INCLUDE ..\..\config\NTMakefile.version
15
16 ############################################################################
17 # Build afslegal.exe
18
19 EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\afslegal.exe
20
21 EXEOBJS = \
22         $(OUT)\afslegal_stub.res \
23         $(OUT)\afslegal.obj
24
25 EXELIBS = \
26         $(DESTDIR)\lib\afs\talocale.lib \
27         comctl32.lib
28
29 $(EXEFILE) : $(EXEOBJS)
30         $(EXEGUILINK) $(EXELIBS)
31         $(_VC_MANIFEST_EMBED_EXE)
32         $(EXEPREP)
33         $(CODESIGN_USERLAND)
34         $(SYMSTORE_IMPORT)
35
36 ############################################################################
37 install : $(EXEFILE) lang
38
39 lang ::
40         $(CD) lang
41         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
42         $(CD) ..
43
44 ############################################################################
45 # Dependencies
46
47 $(OUT)\afslegal_stub.res : AFS_component_version_number.h
48
49 mkdir:
50         -mkdir $(OUT)\lang
51         cd lang
52         nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
53         cd ..
54