2009-07-24 03:23:13 +01:00
|
|
|
# Copyright 2000, International Business Machines Corporation and others.
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# This software has been released under the terms of the IBM Public
|
|
|
|
# License. For details, see the LICENSE file in the top-level source
|
|
|
|
# directory or online at http://www.openafs.org/dl/license10.html
|
|
|
|
|
|
|
|
# Top level nmake NTMakefile driver for building AFS.
|
|
|
|
#
|
|
|
|
# This file simply imposes a reasonable total ordering on the set of
|
|
|
|
# directories to build; this ordering is of course more strict than the
|
|
|
|
# partial ordering established by the actual directory dependencies.
|
|
|
|
#
|
|
|
|
# When porting a new directory, simply add the directory into the
|
|
|
|
# dependence chain at the earliest point possible, updating its successor
|
|
|
|
# appropriately; if the new directory is the last in the chain, then
|
|
|
|
# update the 'finale' dependency to be the new directory.
|
|
|
|
|
|
|
|
# These three macros define the source, object, and destination folders
|
|
|
|
SRC=$(AFSROOT)\src
|
|
|
|
DOC=$(AFSROOT)\doc
|
2010-06-24 14:07:36 +01:00
|
|
|
TESTS=$(AFSROOT)\tests
|
2009-07-24 03:23:13 +01:00
|
|
|
|
|
|
|
#If AFS_OBJDIR is not defined then use obj as relative obj folder
|
|
|
|
!IFNDEF AFS_OBJDIR
|
|
|
|
AFS_OBJDIR=$(AFSROOT)\obj\$(SYS_NAME)
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFNDEF DESTDIR
|
|
|
|
DESTDIR=$(AFSROOT)\dest\$(SYS_NAME)
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFNDEF NOCYGWIN
|
|
|
|
WIXCYGOPT=-dCygwinArchives
|
|
|
|
!ELSE
|
|
|
|
WIXCYGOPT=
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
CD = cd
|
|
|
|
MKDIR = md
|
|
|
|
|
|
|
|
NTMAKE = nmake /nologo /f ntmakefile install
|
|
|
|
NTMAKELANG = nmake /nologo /f ntmakefile en_US
|
|
|
|
NTMAKE_HEADERS = nmake /nologo /f ntmakefile install_headers
|
|
|
|
NTMAKE_OBJS = nmake /nologo /f ntmakefile install_objs
|
|
|
|
|
|
|
|
#debug statement support jumping to last known error
|
|
|
|
DOCD=$(SRC)\DOLASTCMP.BAT
|
|
|
|
|
|
|
|
config:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\config
|
|
|
|
$(CD) $(SRC)\config
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
procmgmt_headers: config
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\procmgmt
|
|
|
|
$(CD) $(SRC)\procmgmt
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
afsreg_headers:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\afsreg
|
|
|
|
$(CD) $(SRC)\WINNT\afsreg
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2010-07-20 15:25:20 +01:00
|
|
|
libafscp_headers:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libafscp
|
|
|
|
$(CD) $(SRC)\libafscp
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2009-07-24 03:23:13 +01:00
|
|
|
lwp_headers:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\lwp
|
|
|
|
$(CD) $(SRC)\lwp
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
rx_headers:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\rx
|
|
|
|
$(CD) $(SRC)\rx
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-07-10 10:24:26 +01:00
|
|
|
util_headers: opr_headers
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\util
|
|
|
|
$(CD) $(SRC)\util
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-07-10 10:24:26 +01:00
|
|
|
opr_headers: roken_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\opr
|
|
|
|
$(CD) $(SRC)\opr
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-10-30 15:17:09 +01:00
|
|
|
roken_headers:
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\roken
|
|
|
|
$(CD) $(SRC)\roken
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-10-11 20:11:52 +01:00
|
|
|
hcrypto_headers: util_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\crypto\hcrypto
|
|
|
|
$(CD) $(SRC)\crypto\hcrypto
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
pthread: hcrypto_headers
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2011-07-10 10:24:26 +01:00
|
|
|
util: procmgmt_headers afsreg_headers lwp_headers rx_headers opr
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
comerr: util
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
afs: comerr
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\afs
|
|
|
|
$(CD) $(SRC)\afs
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
cmd: afs
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
afsreg: cmd
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
eventlog: afsreg
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
lwp: eventlog
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
rxgen: lwp
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2013-04-06 01:12:12 +01:00
|
|
|
opr: rfc3961
|
2011-07-10 10:24:26 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\opr
|
|
|
|
$(CD) $(SRC)\opr
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2010-10-30 15:17:09 +01:00
|
|
|
hcrypto: roken
|
2010-10-11 20:11:52 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\crypto\hcrypto
|
|
|
|
$(CD) $(SRC)\crypto\hcrypto
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2013-04-06 01:12:12 +01:00
|
|
|
rfc3961: hcrypto
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\crypto\$@
|
|
|
|
$(CD) $(SRC)\crypto\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2011-04-03 16:31:56 +01:00
|
|
|
roken: pthread
|
2010-10-30 15:17:09 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\roken
|
|
|
|
$(CD) $(SRC)\roken
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-04-03 16:31:56 +01:00
|
|
|
rx: rxgen
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
rxdebug: rx
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
ubik_headers: rxdebug
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\ubik
|
|
|
|
$(CD) $(SRC)\ubik
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
rxstat: ubik_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
rxkad: rxstat
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
procmgmt: rxkad
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
fsint: procmgmt
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
audit: fsint
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
osi_headers: audit
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\client_osi
|
|
|
|
$(CD) $(SRC)\WINNT\client_osi
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
libacl_headers: osi_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libacl
|
|
|
|
$(CD) $(SRC)\libacl
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
cm_headers: libacl_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\afsd
|
|
|
|
$(CD) $(SRC)\WINNT\afsd
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
auth_headers: cm_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\auth
|
|
|
|
$(CD) $(SRC)\auth
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
vlserver_headers: auth_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\vlserver
|
|
|
|
$(CD) $(SRC)\vlserver
|
|
|
|
$(NTMAKE_HEADERS)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
afsdobjs: vlserver_headers
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\afsd
|
|
|
|
$(CD) $(SRC)\WINNT\afsd
|
|
|
|
$(NTMAKE_OBJS)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
sys: afsdobjs
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
auth: sys
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
ubik: auth
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
ptserver: ubik
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
2010-07-20 05:05:18 +01:00
|
|
|
$(CD) ..\..
|
2009-07-24 03:23:13 +01:00
|
|
|
|
|
|
|
libacl: ptserver
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
kauth: libacl
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
vlserver: kauth
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
usd: vlserver
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
bubasics: usd
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
budb: bubasics
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
butm: budb
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
dir: butm
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-10-28 06:19:17 +01:00
|
|
|
libafsrpc: dir
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-11-18 03:39:12 +00:00
|
|
|
rxtests: libafsrpc
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\rx\test
|
|
|
|
$(CD) $(SRC)\rx\test
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
vol: rxtests
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
volser: vol
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-11-07 09:48:14 +00:00
|
|
|
update: volser
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
bucoord: update
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
butc: bucoord
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
bozo: butc
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
bosctlsvc: bozo
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
bu_utils: bosctlsvc
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-10-28 06:19:17 +01:00
|
|
|
libafsauthent: bu_utils
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-11-07 09:48:14 +00:00
|
|
|
viced: libafsauthent
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2011-11-07 09:48:14 +00:00
|
|
|
tvolser: viced
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-07-20 05:05:18 +01:00
|
|
|
dviced: tvolser
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
dvolser: dviced
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
tbutc: dvolser
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
talocale: tbutc
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2010-12-04 22:59:36 +00:00
|
|
|
talocale_unicode: talocale
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
license: talocale_unicode
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_osi: license
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2011-04-04 18:43:44 +01:00
|
|
|
afsd: client_osi libafscp
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
libadmin: afsd
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
adminutil: libadmin
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
vos: adminutil
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client: vos
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
kas: client
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
pts: kas
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
bos: pts
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
cfg: bos
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\$@
|
|
|
|
$(CD) $(SRC)\libadmin\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
admintest: cfg
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\libadmin\test
|
|
|
|
$(CD) $(SRC)\libadmin\test
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
afsadmsvr: admintest
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
afsusrmgr: afsadmsvr
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
afssvrmgr: afsusrmgr
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
afssvrcfg: afssvrmgr
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
afssvrcpa: afssvrcfg
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_talocale: afssvrcpa
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\talocale
|
|
|
|
$(CD) $(SRC)\WINNT\talocale
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_cpa: client_talocale
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_config: client_cpa
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_exp: client_config
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
client_creds: client_exp
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
aklog: client_creds
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
xstat: aklog
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
netidmgr_plugin: xstat
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
afsrdr: config
|
2011-09-15 07:06:14 +01:00
|
|
|
echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\afsrdr
|
|
|
|
$(CD) $(SRC)\WINNT\afsrdr
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
rpctestlib: config fsint libafsrpc
|
2010-06-24 14:07:36 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(TESTS)\$@
|
|
|
|
$(CD) $(TESTS)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-07-20 15:25:20 +01:00
|
|
|
libafscp: libafscp_headers util afs volser vlserver rx auth fsint afsdobjs
|
2011-04-04 18:43:44 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
extra: config
|
2009-07-24 03:23:13 +01:00
|
|
|
! IF EXIST($(SRC)\WINNT\extra) && EXIST($(SRC)\WINNT\extra\NTMakefile)
|
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\WINNT\$@
|
|
|
|
$(CD) $(SRC)\WINNT\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
! ELSE
|
|
|
|
@echo ***** Skipping $@ ***** Not found.
|
|
|
|
! ENDIF
|
2012-04-17 23:19:17 +01:00
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
tools: config
|
2012-04-17 23:19:17 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\tools\rxperf
|
|
|
|
$(CD) $(SRC)\tools\rxperf
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
finale: netidmgr_plugin
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(SRC)\$@
|
|
|
|
$(CD) $(SRC)\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2012-10-06 22:34:52 +01:00
|
|
|
install: finale afsrdr tools rpctestlib extra
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo Build Finished Successfully
|
|
|
|
|
|
|
|
|
|
|
|
# Clean target for obj tree
|
|
|
|
clean:
|
2010-06-06 00:29:59 +01:00
|
|
|
$(CD) $(SRC)\config
|
2011-01-04 02:07:10 +00:00
|
|
|
nmake /nologo /f ntmakefile version langsetup
|
2010-06-06 00:29:59 +01:00
|
|
|
$(CD) ..\..
|
2009-07-24 03:23:13 +01:00
|
|
|
nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" "NTMAKE_OBJS = nmake /nologo /f ntmakefile clean" media
|
|
|
|
$(CD) $(SRC)\config
|
2011-01-04 02:07:10 +00:00
|
|
|
nmake /nologo /f ntmakefile clean_final
|
2009-07-24 03:23:13 +01:00
|
|
|
$(CD) ..\..
|
|
|
|
|
|
|
|
# Language-only build target
|
|
|
|
lang:
|
|
|
|
nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile lang" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile lang" install
|
|
|
|
|
|
|
|
mkdir:
|
|
|
|
-mkdir $(AFS_OBJDIR)
|
|
|
|
-mkdir $(DESTDIR)
|
|
|
|
-mkdir $(AFS_OBJDIR)\checked
|
|
|
|
-mkdir $(AFS_OBJDIR)\free
|
|
|
|
-xcopy /q /t /e $(SRC)\*.* $(AFS_OBJDIR)\checked\
|
|
|
|
-xcopy /q /t /e $(SRC)\*.* $(AFS_OBJDIR)\free\
|
|
|
|
-mkdir $(DESTDIR)\checked
|
|
|
|
-mkdir $(DESTDIR)\free
|
|
|
|
-mkdir $(DESTDIR)\checked\bin
|
|
|
|
-mkdir $(DESTDIR)\free\bin
|
|
|
|
-@copy $(SRC)\config\NTLANG.BAT .
|
|
|
|
|
|
|
|
loopback:
|
|
|
|
@echo ***** Making Loopback Adapter Utility DLL
|
|
|
|
$(DOCD) $(SRC)\WINNT\install\$@
|
|
|
|
$(CD) $(SRC)\WINNT\install\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..\..
|
|
|
|
|
2010-04-06 20:06:55 +01:00
|
|
|
man-pages: config
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(DOC)\man-pages
|
|
|
|
$(CD) $(DOC)\man-pages
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..
|
|
|
|
|
2010-04-06 20:06:55 +01:00
|
|
|
documentation: config
|
2009-07-24 03:23:13 +01:00
|
|
|
@echo ***** $@
|
|
|
|
$(DOCD) $(DOC)\xml\ReleaseNotesWindows
|
|
|
|
$(CD) $(DOC)\xml\ReleaseNotesWindows
|
|
|
|
$(NTMAKE)
|
|
|
|
$(DOCD) ..\UserGuide
|
|
|
|
$(CD) ..\UserGuide
|
|
|
|
$(NTMAKE)
|
|
|
|
$(DOCD) ..\AdminGuide
|
|
|
|
$(CD) ..\AdminGuide
|
|
|
|
$(NTMAKE)
|
|
|
|
$(DOCD) ..\..\..
|
|
|
|
$(CD) ..\..\..
|
|
|
|
|
|
|
|
NSIS.i386: loopback man-pages documentation
|
|
|
|
@echo ***** Making NSIS Installer
|
|
|
|
$(DOCD) $(SRC)\WINNT\install\NSIS
|
|
|
|
$(CD) $(SRC)\WINNT\install\NSIS
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..\..
|
|
|
|
|
|
|
|
NSIS.AMD64:
|
|
|
|
@echo Skipping NSIS Installer on non-x86 platforms; not implemented
|
|
|
|
|
|
|
|
NSIS: NSIS.$(CPU)
|
|
|
|
|
|
|
|
wix: loopback man-pages documentation
|
|
|
|
@echo ***** Making Wix MSI Installer
|
|
|
|
$(DOCD) $(SRC)\WINNT\install\$@
|
|
|
|
$(CD) $(SRC)\WINNT\install\$@
|
|
|
|
$(NTMAKE)
|
|
|
|
$(CD) ..\..\..\..
|
|
|
|
|
2010-06-04 04:58:42 +01:00
|
|
|
wix-lite: loopback man-pages documentation
|
|
|
|
@echo ***** Making Wix MSI Installer (Lite)
|
|
|
|
$(DOCD) $(SRC)\WINNT\install\wix
|
|
|
|
$(CD) $(SRC)\WINNT\install\wix
|
|
|
|
$(NTMAKE) LITECLIENT=1
|
|
|
|
$(CD) ..\..\..\..
|
|
|
|
|
2009-07-24 03:23:13 +01:00
|
|
|
install-nsis: install NSIS
|
|
|
|
|
|
|
|
install-wix: install wix
|
|
|
|
|
2010-06-04 04:58:42 +01:00
|
|
|
install-wix-lite: install wix-lite
|
2009-07-24 03:23:13 +01:00
|
|
|
|
2012-02-05 17:58:22 +00:00
|
|
|
media: install-wix
|
|
|
|
|