Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrcfg / NTMakefile
blob9b492d5daa5ba0b8433cf91f91d945255691933a
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
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
8 # AFSDEV_AUXCDEFINES = /DUNICODE
9 RELDIR=WINNT\afssvrcfg
10 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
11 !INCLUDE ..\..\config\NTMakefile.version
13 ############################################################################
14 # Definitions for building afssvrcfg.exe.
16 EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\afssvrcfg.exe
18 EXEOBJS =\
19     $(OUT)\char_conv.obj             \
20         $(OUT)\admin_info_dlg.obj        \
21         $(OUT)\cfg_utils.obj             \
22         $(OUT)\create_partition_dlg.obj  \
23         $(OUT)\file_server_page.obj      \
24         $(OUT)\graphics.obj              \
25         $(OUT)\info_page.obj             \
26         $(OUT)\intro_page.obj            \
27         $(OUT)\partitions_page.obj       \
28         $(OUT)\partition_page.obj        \
29         $(OUT)\replicatition_page.obj    \
30         $(OUT)\services_page.obj         \
31         $(OUT)\toolbox.obj               \
32         $(OUT)\afscfg.obj                \
33         $(OUT)\backup_server_page.obj    \
34         $(OUT)\config_server_page.obj    \
35         $(OUT)\db_server_page.obj        \
36         $(OUT)\get_cur_config.obj        \
37         $(OUT)\help.obj                  \
38         $(OUT)\info2_page.obj            \
39         $(OUT)\logfile.obj               \
40         $(OUT)\partition_utils.obj       \
41         $(OUT)\root_afs_page.obj         \
42         $(OUT)\sys_control_page.obj      \
43         $(OUT)\volume_utils.obj          \
44         $(OUT)\salvage_dlg.obj                    \
45     $(OUT)\get_pw_dlg.obj            \
46     $(OUT)\salvage_results_dlg.obj   \
47     $(OUT)\validation.obj            \
48         $(OUT)\afscfg_stub.res
50 VCLIBS =\
51         comctl32.lib \
52     mpr.lib
54 EXELIBS =\
55         $(DESTDIR)\lib\afs\taafsapplib.lib \
56         $(DESTDIR)\lib\afsauthent.lib \
57         $(DESTDIR)\lib\afs\afscfgadmin.lib \
58         $(DESTDIR)\lib\afs\afsbosadmin.lib \
59         $(DESTDIR)\lib\afs\afsvosadmin.lib \
60         $(DESTDIR)\lib\afs\afsclientadmin.lib \
61         $(DESTDIR)\lib\afs\afsadminutil.lib \
62     $(DESTDIR)\lib\lanahelper.lib
64 $(EXEFILE): $(EXEOBJS) $(EXELIBS)
65         $(EXEGUILINK)  $(VCLIBS)
66         $(_VC_MANIFEST_EMBED_EXE)
67         $(EXEPREP)
68         $(CODESIGN_USERLAND)
69         $(SYMSTORE_IMPORT)
72 ############################################################################
73 # Definitions for generating versioninfo resource via RC
75 $(OUT)\afscfg_stub.res:afscfg_stub.rc AFS_component_version_number.h
77 ############################################################################
78 # Install target; primary makefile target
80 install: $(EXEFILE) lang
83 ############################################################################
84 # Language target
86 lang::
87         $(CD) lang
88         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /e /f NTMakefile install
89         $(CD) ..
92 ############################################################################
93 # Local clean target; augments predefined clean target
95 clean::
96         $(CD) lang
97         @if exist AFS_component_version_number.h del AFS_component_version_number.h
98         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile clean
99         $(CD) ..
101 mkdir:
102         -mkdir $(OUT)\lang
103         cd lang
104         nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
105         cd ..