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 NTMAKELANG = nmake /nologo /f ntmakefile en_US
23 NTMAKE_HEADERS = nmake /nologo /f ntmakefile install_headers
27 # Standard install directory.
29 DESTDIR = $(AFSDEV_DESTDIR)
31 DESTDIR = $(AFSROOT)\DEST
37 ! ERROR Execute nmake from directory above src, e.g., afs\3.5.
39 ! IF (!EXIST($(DESTDIR)))
49 procmgmt_headers: config
55 afsreg_headers: config
57 $(CD) $(OBJ)\WINNT\afsreg
61 util: procmgmt_headers afsreg_headers
105 ! IF (EXIST($(OBJ)\des\NTMakefile))
110 $(CD) $(OBJ)\des_stub
135 $(CD) $(OBJ)\WINNT\$@
159 $(CD) $(OBJ)\WINNT\client_osi
163 libacl_headers: osi_headers
169 cm_headers: libacl_headers
171 $(CD) $(OBJ)\WINNT\afsd
290 $(CD) $(OBJ)\WINNT\$@
306 libafsauthent: libafsrpc
312 tviced: libafsauthent
332 $(CD) $(OBJ)\libadmin\$@
338 $(CD) $(OBJ)\libadmin\$@
344 $(CD) $(OBJ)\libadmin\$@
350 $(CD) $(OBJ)\libadmin\$@
356 $(CD) $(OBJ)\libadmin\$@
362 $(CD) $(OBJ)\libadmin\$@
368 $(CD) $(OBJ)\libadmin\$@
374 $(CD) $(OBJ)\libadmin\test
380 $(CD) $(OBJ)\WINNT\$@
386 $(CD) $(OBJ)\WINNT\$@
392 $(CD) $(OBJ)\WINNT\$@
398 $(CD) $(OBJ)\WINNT\$@
404 $(CD) $(OBJ)\WINNT\$@
410 $(CD) $(OBJ)\WINNT\$@
416 $(CD) $(OBJ)\WINNT\$@
420 afs_setup_utils: afssvrcpa
422 $(CD) $(OBJ)\WINNT\$@
426 client_talocale: afs_setup_utils
428 $(CD) $(OBJ)\WINNT\talocale
432 client_osi: client_talocale
434 $(CD) $(OBJ)\WINNT\$@
440 $(CD) $(OBJ)\WINNT\$@
446 $(CD) $(OBJ)\WINNT\$@
450 client_config: client_cpa
452 $(CD) $(OBJ)\WINNT\$@
456 client_exp: client_config
458 $(CD) $(OBJ)\WINNT\$@
462 client_creds: client_exp
464 $(CD) $(OBJ)\WINNT\$@
474 install: start finale
476 # InstallShield dependencies
478 InstallShield5: install
479 $(CD) $(OBJ)\WINNT\install\$@
483 media: InstallShield5
487 # Clean target for obj tree
489 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" install
491 nmake /nologo /f ntmakefile clean_version
495 # Language-only build target
497 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile lang" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile lang" install