From da989e5d95f1cfee9b0823b184b9aa6f86ed5a0c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 29 Jun 2008 00:30:43 +0000 Subject: [PATCH] windows-generate-html-cmdref-makefile-correct-20080628 LICENSE MIT commit the correct version of the NTMakefile --- doc/html/NTMakefile | 711 ++------------------------------------------ 1 file changed, 31 insertions(+), 680 deletions(-) diff --git a/doc/html/NTMakefile b/doc/html/NTMakefile index c93e718914..79d1ba520e 100644 --- a/doc/html/NTMakefile +++ b/doc/html/NTMakefile @@ -1,683 +1,34 @@ -# Copyright 2000, International Business Machines Corporation and others. +# Copyright 2008, Secure Endpoints Inc. # 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. +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: # -# 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 - -#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 - -CD = cd -MKDIR = mkdir - -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 know error -DOCD=$(SRC)\DOLASTCMP.BAT - -config: - echo ***** $@ - $(DOCD) $(SRC)\config - $(CD) $(SRC)\config - $(NTMAKE) - $(CD) ..\.. - -man-pages: config - echo ***** $@ - $(DOCD) $(DOC)\man-pages - $(CD) $(DOC)\man-pages - $(NTMAKE) - $(CD) ..\.. - -procmgmt_headers: man-pages - echo ***** $@ - $(DOCD) $(SRC)\procmgmt - $(CD) $(SRC)\procmgmt - $(NTMAKE_HEADERS) - $(CD) ..\.. - -afsreg_headers: - echo ***** $@ - $(DOCD) $(SRC)\WINNT\afsreg - $(CD) $(SRC)\WINNT\afsreg - $(NTMAKE_HEADERS) - $(CD) ..\..\.. - -lwp_headers: - echo ***** $@ - $(DOCD) $(SRC)\lwp - $(CD) $(SRC)\lwp - $(NTMAKE_HEADERS) - $(CD) ..\.. - -util: procmgmt_headers afsreg_headers lwp_headers - 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) ..\.. - -des: rxgen - echo ***** $@ -! IF (EXIST($(SRC)\des\NTMakefile)) - $(DOCD) $(SRC)\des - $(CD) $(SRC)\des - $(NTMAKE) - $(CD) ..\.. -! ELSE - $(DOCD) $(SRC)\des_stub - $(CD) $(SRC)\des_stub - $(NTMAKE) - $(CD) ..\.. -! ENDIF - -rx: des - 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) ..\.. - -pthread: rxkad - echo ***** $@ - $(DOCD) $(SRC)\WINNT\$@ - $(CD) $(SRC)\WINNT\$@ - $(NTMAKE) - $(CD) ..\..\.. - -procmgmt: pthread - 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) - $(CD) ..\.. - -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) ..\.. - -vol: dir - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -volser: vol - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -viced: volser - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -update: viced - 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) ..\.. - -libafsrpc: bu_utils - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -libafsauthent: libafsrpc - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -tviced: libafsauthent - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -tbutc: tviced - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -talocale: tbutc - echo ***** $@ - $(DOCD) $(SRC)\WINNT\$@ - $(CD) $(SRC)\WINNT\$@ - $(NTMAKE) - $(CD) ..\..\.. - -license: talocale - echo ***** $@ - $(DOCD) $(SRC)\WINNT\$@ - $(CD) $(SRC)\WINNT\$@ - $(NTMAKE) - $(CD) ..\..\.. - -client_osi: license - echo ***** $@ - $(DOCD) $(SRC)\WINNT\$@ - $(CD) $(SRC)\WINNT\$@ - $(NTMAKE) - $(CD) ..\..\.. - -afsd: client_osi - 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) ..\..\.. - -extra: netidmgr_plugin -! 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 - -finale: extra - echo ***** $@ - $(DOCD) $(SRC)\$@ - $(CD) $(SRC)\$@ - $(NTMAKE) - $(CD) ..\.. - -install: finale - $(CD) $(DESTDIR) - -C:\PROGRA~2\JPSOFT\TCMD9\4nt.exe /c global /i codesign *.exe *.dll *.cpl - echo Build Finished Successfully - -# Clean target for obj tree -clean: - 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 - 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 - nmake /nologo /f ntmakefile clean_version - $(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) ..\..\..\.. - -NSIS: loopback - echo ***** Making NSIS Installer - $(DOCD) $(SRC)\WINNT\install\$@ - $(CD) $(SRC)\WINNT\install\$@ - $(NTMAKE) - $(CD) ..\..\..\.. - -wix: loopback - echo ***** Making Wix MSI Installer - $(DOCD) $(SRC)\WINNT\install\$@ - $(CD) $(SRC)\WINNT\install\$@ - $(NTMAKE) - $(CD) ..\..\..\.. - -media: install wix - -install-nsis: install NSIS - -install-wix: install wix - +# - Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# - Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# - Neither the name of Secure Endpoints Inc. nor the names of its contributors +# may be used to endorse or promote products derived from this software without +# specific prior written permission from Secure Endpoints Inc.. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +install: + @echo Building man pages in HTML format + perl generate-html + +clean:: + $(CD) html + $(DEL) /s *.html