Standardize License information
[openafs.git] / src / WINNT / afssvrmgr / 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
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX
11
12 # allow the resource compiler to search the dest\include tree
13
14 AFSDEV_AUXRCFLAGS = $(AFSDEV_AUXRCFLAGS) -I$(DESTDIR)\include
15
16 # include the primary makefile
17
18 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
19 !INCLUDE ..\..\config\NTMakefile.version
20
21 ############################################################################
22 #
23 # BUILD TARGETS
24 #
25
26 EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\TaAfsServerManager.exe
27
28 EXEOBJS = \
29         svrmgr_stub.res \
30         action.obj \
31         agg_col.obj \
32         agg_general.obj \
33         agg_prop.obj \
34         agg_tab.obj \
35         alert.obj \
36         cmdline.obj \
37         columns.obj \
38         command.obj \
39         creds.obj \
40         dispatch.obj \
41         dispguts.obj \
42         display.obj \
43         general.obj \
44         helpfunc.obj \
45         options.obj \
46         prefs.obj \
47         problems.obj \
48         propcache.obj \
49         set_clone.obj \
50         set_col.obj \
51         set_create.obj \
52         set_createrep.obj \
53         set_delete.obj \
54         set_dump.obj \
55         set_general.obj \
56         set_move.obj \
57         set_prop.obj \
58         set_quota.obj \
59         set_release.obj \
60         set_rename.obj \
61         set_repprop.obj \
62         set_restore.obj \
63         set_tab.obj \
64         subset.obj \
65         svc_col.obj \
66         svc_create.obj \
67         svc_delete.obj \
68         svc_general.obj \
69         svc_prop.obj \
70         svc_startstop.obj \
71         svc_tab.obj \
72         svc_viewlog.obj \
73         svr_address.obj \
74         svr_col.obj \
75         svr_execute.obj \
76         svr_general.obj \
77         svr_getdates.obj \
78         svr_hosts.obj \
79         svr_install.obj \
80         svr_prop.obj \
81         svr_prune.obj \
82         svr_salvage.obj \
83         svr_security.obj \
84         svr_syncvldb.obj \
85         svr_uninstall.obj \
86         svr_window.obj \
87         svrmgr.obj \
88         task.obj \
89         window.obj
90
91 VCLIBS =\
92         comctl32.lib \
93         shell32.lib
94
95 EXELIBS = \
96         $(DESTDIR)\lib\afs\AfsClass.lib \
97         $(DESTDIR)\lib\afs\TaAfsAppLib.lib
98
99 ############################################################################
100
101 $(EXEFILE) : $(EXEOBJS) $(EXELIBS)
102         $(EXEGUILINK) $(VCLIBS)
103         $(EXEPREP) 
104
105 lang ::
106         $(CD) lang
107         for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
108         $(CD) ..
109
110 install : $(EXEFILE) lang
111
112 ############################################################################
113 #
114 # Dependencies
115 #
116
117 svrmgr_stub.res : svrmgr_stub.rc AFS_component_version_number.h
118