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 # Top level nmake NTMakefile driver for building AFS.
10 # This file simply imposes a reasonable total ordering on the set of
11 # directories to build; this ordering is of course more strict than the
12 # partial ordering established by the actual directory dependencies.
14 # When porting a new directory, simply add the directory into the
15 # dependence chain at the earliest point possible, updating its successor
16 # appropriately; if the new directory is the last in the chain, then
17 # update the 'finale' dependency to be the new directory.
21 NTMAKE = nmake /nologo /f ntmakefile install
22 NTMAKE_HEADERS = nmake /nologo /f ntmakefile install_headers
25 # Standard install directory.
27 DESTDIR = $(AFSDEV_DESTDIR)
29 DESTDIR = $(AFSROOT)\DEST
35 ! ERROR Execute nmake from directory above src, e.g., afs\3.5.
37 ! IF (!EXIST($(DESTDIR)))
46 procmgmt_headers: config
51 afsreg_headers: config
52 $(CD) src\WINNT\afsreg
56 util: procmgmt_headers afsreg_headers
92 ! IF (EXIST(src\des\NTMakefile))
138 $(CD) src\WINNT\client_osi
142 libacl_headers: osi_headers
147 cm_headers: libacl_headers
261 libafsauthent: libafsrpc
266 tviced: libafsauthent
282 $(CD) src\libadmin\$@
287 $(CD) src\libadmin\$@
292 $(CD) src\libadmin\$@
297 $(CD) src\libadmin\$@
302 $(CD) src\libadmin\$@
307 $(CD) src\libadmin\$@
312 $(CD) src\libadmin\$@
317 $(CD) src\libadmin\test
356 afs_setup_utils: afssvrcpa
361 client_talocale: afs_setup_utils
362 $(CD) src\WINNT\talocale
366 client_osi: client_talocale
381 client_config: client_cpa
386 client_exp: client_config
391 client_creds: client_exp
401 install: start finale
403 # InstallShield dependencies
405 InstallShield5: install
406 $(CD) src\WINNT\install\$@
410 media: InstallShield5
414 # Clean target for src tree
416 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" install
418 nmake /nologo /f ntmakefile clean_version
422 # Language-only build target
424 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile lang" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile lang" install