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
24 NTMAKE_OBJS = nmake /nologo /f ntmakefile install_objs
28 # Standard install directory.
30 DESTDIR = $(AFSDEV_DESTDIR)
32 DESTDIR = $(AFSROOT)\DEST
38 ! ERROR Execute nmake from directory above src, e.g., afs\3.5.
40 ! IF (!EXIST($(DESTDIR)))
50 procmgmt_headers: config
56 afsreg_headers: config
58 $(CD) $(OBJ)\WINNT\afsreg
62 util: procmgmt_headers afsreg_headers
106 ! IF (EXIST($(OBJ)\des\NTMakefile))
111 $(CD) $(OBJ)\des_stub
136 $(CD) $(OBJ)\WINNT\$@
160 $(CD) $(OBJ)\WINNT\client_osi
164 libacl_headers: osi_headers
170 cm_headers: libacl_headers
172 $(CD) $(OBJ)\WINNT\afsd
184 $(CD) $(OBJ)\WINNT\afsd
297 $(CD) $(OBJ)\WINNT\$@
313 libafsauthent: libafsrpc
319 tviced: libafsauthent
339 $(CD) $(OBJ)\libadmin\$@
345 $(CD) $(OBJ)\libadmin\$@
351 $(CD) $(OBJ)\libadmin\$@
357 $(CD) $(OBJ)\libadmin\$@
363 $(CD) $(OBJ)\libadmin\$@
369 $(CD) $(OBJ)\libadmin\$@
375 $(CD) $(OBJ)\libadmin\$@
381 $(CD) $(OBJ)\libadmin\test
387 $(CD) $(OBJ)\WINNT\$@
393 $(CD) $(OBJ)\WINNT\$@
399 $(CD) $(OBJ)\WINNT\$@
405 $(CD) $(OBJ)\WINNT\$@
411 $(CD) $(OBJ)\WINNT\$@
417 $(CD) $(OBJ)\WINNT\$@
423 $(CD) $(OBJ)\WINNT\$@
427 client_talocale: afssvrcpa
429 $(CD) $(OBJ)\WINNT\talocale
433 client_osi: client_talocale
435 $(CD) $(OBJ)\WINNT\$@
441 $(CD) $(OBJ)\WINNT\$@
447 $(CD) $(OBJ)\WINNT\$@
451 client_config: client_cpa
453 $(CD) $(OBJ)\WINNT\$@
457 client_exp: client_config
459 $(CD) $(OBJ)\WINNT\$@
463 client_creds: client_exp
465 $(CD) $(OBJ)\WINNT\$@
474 echo Build Finished Successfully
476 install: start finale
478 # InstallShield dependencies
481 echo ***** afs_setup_utils
482 $(CD) $(OBJ)\WINNT\afs_setup_utils
486 $(CD) $(OBJ)\WINNT\install\$@
490 media: InstallShield5
491 echo Install Script Finished Successfully
494 # Clean target for obj tree
496 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" "NTMAKE_OBJS = nmake /nologo /f ntmakefile clean" install
498 nmake /nologo /f ntmakefile clean_version
502 # Language-only build target
504 nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile lang" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile lang" install