1 # Copyright (C) 1998 Transarc Corporation. All rights reserved.
3 # Top level nmake NTMakefile driver for building AFS.
5 # This file simply imposes a reasonable total ordering on the set of
6 # directories to build; this ordering is of course more strict than the
7 # partial ordering established by the actual directory dependencies.
9 # When porting a new directory, simply add the directory into the
10 # dependence chain at the earliest point possible, updating its successor
11 # appropriately; if the new directory is the last in the chain, then
12 # update the 'finale' dependency to be the new directory.
16 NTMAKE = nmake /nologo /f ntmakefile install
17 NTMAKE_HEADERS = nmake /nologo /f ntmakefile install_headers
20 # Standard install directory.
22 DESTDIR = $(AFSDEV_DESTDIR)
24 DESTDIR = $(AFSROOT)\DEST
30 ! ERROR Execute nmake from directory above src, e.g., afs\3.5.
32 ! IF (!EXIST($(DESTDIR)))
41 procmgmt_headers: config
46 afsreg_headers: config
47 $(CD) src\WINNT\afsreg
51 util: procmgmt_headers afsreg_headers
87 ! IF (EXIST(src\des\NTMakefile))
133 $(CD) src\WINNT\client_osi
137 libacl_headers: osi_headers
142 cm_headers: libacl_headers
256 libafsauthent: libafsrpc
261 tviced: libafsauthent
277 $(CD) src\libadmin\$@
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\test
351 afs_setup_utils: afssvrcpa
356 client_talocale: afs_setup_utils
357 $(CD) src\WINNT\talocale
361 client_osi: client_talocale
376 client_config: client_cpa
381 client_exp: client_config
386 client_creds: client_exp
396 install: start finale
398 # InstallShield dependencies
400 InstallShield5: install
401 $(CD) src\WINNT\install\$@
405 media: InstallShield5
409 # Clean target for src tree
411 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" install
413 nmake /nologo /f ntmakefile clean_version
417 # Language-only build target
419 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile lang" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile lang" install