1 # Copyright 2000, International Business Machines Corporation and others.
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 # include the AFSD source tree on our inclusion path
10 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) /D"_AFXDLL" -I..\afsd
12 # include the primary makefile
13 RELDIR=WINNT\client_config
14 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
15 !include ..\..\config\NTMakefile.version
17 ############################################################################
22 EXEFILE = $(DESTDIR)\root.client\usr\vice\etc\afs_config.exe
24 MANIFEST = $(EXEFILE).manifest
32 $(OUT)\tab_advanced.obj \
33 $(OUT)\tab_drives.obj \
34 $(OUT)\tab_hosts.obj \
35 $(OUT)\tab_general.obj \
36 $(OUT)\tab_prefs.obj \
37 $(OUT)\dlg_logon.obj \
41 $(OUT)\dlg_automap.obj \
42 $(OUT)\dlg_binding.obj \
43 $(OUT)\RegistrySupport.obj
49 $(OUT)\afs_config_stub.res
63 $(DESTDIR)\lib\afs\TaAfsAppLib.lib \
64 $(DESTDIR)\lib\afsrpc.lib \
65 $(DESTDIR)\lib\afsauthent.lib \
66 $(DESTDIR)\lib\libosi.lib \
67 $(DESTDIR)\lib\libafsconf.lib \
68 $(DESTDIR)\lib\lanahelper.lib \
69 $(DESTDIR)\lib\afs\afsreg.lib
71 ############################################################################
73 # EXTERNAL SOURCE FILES
75 # The following source files are required by this application, but live
76 # elsewhere in the tree. To prevent checking in more than one copy of the
77 # source files, they are copied to this directory at build-time.
81 $(DESTDIR)\include\WINNT\al_resource.h \
82 $(DESTDIR)\include\WINNT\checklist.h \
83 $(DESTDIR)\include\WINNT\ctl_sockaddr.h \
84 $(DESTDIR)\include\WINNT\ctl_spinner.h \
85 $(DESTDIR)\include\WINNT\dialog.h \
86 $(DESTDIR)\include\WINNT\fastlist.h \
87 $(DESTDIR)\include\WINNT\hashlist.h \
88 $(DESTDIR)\include\WINNT\resize.h \
89 $(DESTDIR)\include\WINNT\subclass.h
91 AFSAPPLIB=..\afsapplib
93 $(AFSDOBJS): $(AFSD)\$$(@B).c
94 $(C2OBJ) -I$(AFSD) $**
96 $(EXEOBJS): $$(@B).cpp
97 $(C2OBJ) -I$(AFSAPPLIB) $**
100 $(CPP2OBJ) -I$(AFSAPPLIB) $**
102 ############################################################################
104 {..\afsapplib}.h{$(DESTDIR)\include\WINNT}.h:
105 $(COPY) ..\afsapplib\$(*B).h $(DESTDIR)\include\WINNT
108 ############################################################################
110 $(EXEFILE) : $(EXEOBJS) $(EXEOBJSc) $(EXERES) $(AFSDOBJS) $(EXELIBS)
111 $(EXEGUILINK) $(VCLIBS)
112 !IF ("$(AFSVER_CL)" == "1400")
113 if exist $@.manifest mt.exe -manifest afs_config.exe.manifest -out:$(MANIFEST)
115 $(COPY) afs_config.exe.manifest $(MANIFEST)
117 $(_VC_MANIFEST_EMBED_EXE)
121 install : $(COPYHEADERS) $(EXEFILE) lang
125 lang:: en_US ja_JP ko_KR zh_TW zh_CN pt_BR es_ES de_DE
128 ############################################################################
135 $(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
140 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
145 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
150 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
155 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
160 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
165 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
170 @$(NTLANG) $@ $(MAKECMD) /nologo /e /f NTMakefile install
173 $(OUT)\afs_config_stub.res : afs_config_stub.rc AFS_component_version_number.h
176 $(DEL) $(COPYHEADERS)
179 $(DEL) AFS_component_version_number.h
180 if exist $(NTLANG) $(NTLANG) en_US $(MAKECMD) /nologo /e /f NTMakefile clean
181 if exist $(NTLANG) $(NTLANG) ja_JP $(MAKECMD) /nologo /e /f NTMakefile clean
182 if exist $(NTLANG) $(NTLANG) ko_KR $(MAKECMD) /nologo /e /f NTMakefile clean
183 if exist $(NTLANG) $(NTLANG) zh_CN $(MAKECMD) /nologo /e /f NTMakefile clean
184 if exist $(NTLANG) $(NTLANG) zh_TW $(MAKECMD) /nologo /e /f NTMakefile clean
185 if exist $(NTLANG) $(NTLANG) pt_BR $(MAKECMD) /nologo /e /f NTMakefile clean
186 if exist $(NTLANG) $(NTLANG) es_ES $(MAKECMD) /nologo /e /f NTMakefile clean
187 if exist $(NTLANG) $(NTLANG) de_DE $(MAKECMD) /nologo /e /f NTMakefile clean
193 nmake /nologo /e /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir