EXERES = $(OUT)\AfsAdmSvr.res
-$(EXERES):$$(@B).rc
- $(RC) $**
+$(EXERES): AfsAdmSvr.rc AFS_component_version_number.h
EXEOBJS = \
$(OUT)\TaAfsAdmSvr.obj \
nmake /nologo /f ntmakefile clean
$(CD) ..\afsadmsvr
-$(EXEFILE) : $(EXEOBJS) $(EXELIBS)
+$(EXEFILE) : $(EXEOBJS) $(EXERES) $(EXELIBS)
$(EXECONLINK) $(VCLIBS)
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
if exist ITaAfsAdmSvr*.cpp del ITaAfsAdmSvr*.cpp
if exist ITaAfsAdmSvr*.c del ITaAfsAdmSvr*.c
if exist ITaAfsAdmSvr*.h del ITaAfsAdmSvr*.h
+ $(DEL) AFS_component_version_number.h
+ $(DEL) $(EXERES)
############################################################################
#
# Dependencies
#
-$(OUT)\AfsAdmSvr.res : AFS_component_version_number.h
-
mkdir:
-mkdir $(OUT)\..\afsapplib
cd ..\afsapplib
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS Admin Group Creator"
+#define AFS_VERINFO_NAME "AdminGroup"
+#define AFS_VERINFO_FILENAME "AdminGroup.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\config\NTVersioninfo.rc"
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS Process Killer Utility"
+#define AFS_VERINFO_NAME "Killer"
+#define AFS_VERINFO_FILENAME "Killer.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\config\NTVersioninfo.rc"
$(OUT)\Service.obj: Service.cpp
$(C2OBJ) Service.cpp
-$(EXEDIR)\Service.exe: $(OUT)\Service.obj
+$(OUT)\Service.res: Service.rc AFS_component_version_number.h
+
+$(EXEDIR)\Service.exe: $(OUT)\Service.obj $(OUT)\Service.res
$(EXECONLINK)
- $(_VC_MANIFEST_EMBED_EXE)
+ $(_VC_MANIFEST_EMBED_EXE)
+
+$(OUT)\Killer.res: Killer.rc AFS_component_version_number.h
$(OUT)\Killer.obj: Killer.cpp
$(C2OBJ) Killer.cpp
-$(EXEDIR)\Killer.exe: $(OUT)\Killer.obj
+$(EXEDIR)\Killer.exe: $(OUT)\Killer.obj $(OUT)\Killer.res
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
+$(OUT)\AdminGroup.res: AdminGroup.rc AFS_component_version_number.h
+
$(OUT)\AdminGroup.obj: AdminGroup.cpp
$(C2OBJ) AdminGroup.cpp
-$(EXEDIR)\AdminGroup.exe: $(OUT)\AdminGroup.obj
+$(EXEDIR)\AdminGroup.exe: $(OUT)\AdminGroup.obj $(OUT)\AdminGroup.res
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
install: $(OUT)\Service.obj $(EXEDIR)\Service.exe $(OUT)\Killer.obj $(EXEDIR)\Killer.exe $(EXEDIR)\AdminGroup.exe build
-#clean:
-# $(DEL) $(OUT)\Service.obj
-# $(DEL) $(EXEDIR)\Service.exe
+clean::
+ $(DEL) $(OUT)\Service.obj
+ $(DEL) $(OUT)\Service.res
+ $(DEL) $(EXEDIR)\Service.exe
+ $(DEL) $(OUT)\Killer.obj
+ $(DEL) $(OUT)\Killer.res
+ $(DEL) $(EXEDIR)\Killer.exe
+ $(DEL) $(OUT)\AdminGroup.obj
+ $(DEL) $(OUT)\AdminGroup.res
+ $(DEL) $(EXEDIR)\AdminGroup.exe
+ $(DEL) nsi-include.nsi
+ $(DEL) AFS_component_version_number.h
# $(DEL) $(EXEDIR)\Msvcr71.dll
# $(DEL) $(EXEDIR)\MFC42.DLL
# $(DEL) OpenAFSforWindows.exe
-# $(DEL) nsi-include.nsi
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS Service Creation / Deletion Utility"
+#define AFS_VERINFO_NAME "Service"
+#define AFS_VERINFO_FILENAME "Service.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\config\NTVersioninfo.rc"
EXEFILE = $(MEDIABINDIR)\instloop.exe
+EXERES = $(OUT)\instloop.res
+
DLLFILE = $(MEDIABINDIR)\afsloopback.dll
+DLLRES = $(OUT)\afsloopback.res
+
DLLEXPORTS=\
-EXPORT:UnInstallLoopBack \
-EXPORT:IsLoopbackInstalled \
DLLSOURCEFILES = loopbackutils.cpp renameconnection.cpp wmi.cpp
DLLOBJFILES = $(OUT)\loopbackutils.obj $(OUT)\renameconnection.obj $(OUT)\wmi.obj
+$(EXERES) : instloop.rc AFS_component_version_number.h
+
+$(DLLRES) : afsloopback.rc AFS_component_version_number.h
+
STATICC2OBJ=$(CC) $(cflags) $(afscflags) $(afscdefs) -ML
$(OUT)\loopbackutils.obj: loopbackutils.cpp
$(OUT)\wmi.obj: wmi.cpp
$(STATICC2OBJ) -I$(NTDDKDIR) -c -DUNICODE -D_UNICODE /Fo$@ $**
-$(DLLFILE): $(DLLOBJFILES)
- $(LINK) -DLL $(DLLEXPORTS) -OUT:$@ $(DLLOBJFILES) $(DLLLIBFILES)
+$(DLLFILE): $(DLLOBJFILES) $(DLLRES)
+ $(LINK) -DLL $(DLLEXPORTS) -OUT:$@ $** $(DLLLIBFILES)
$(_VC_MANIFEST_EMBED_DLL)
# instloop.exe
$(OUT)\instloop.obj: instloop.c
$(STATICC2OBJ) -c -DUNICODE -D_UNICODE /Fo$@ $**
-$(EXEFILE): $(EXEOBJFILES)
- $(LINK) /OUT:$@ $(EXEOBJFILES) $(DLLLIBFILES)
- $(_VC_MANIFEST_EMBED_EXE)
+$(EXEFILE): $(EXEOBJFILES) $(EXERES)
+ $(LINK) /OUT:$@ $** $(DLLLIBFILES)
+ $(_VC_MANIFEST_EMBED_EXE)
install: $(DLLFILE) $(EXEFILE)
clean ::
$(DEL) *.pdb
+ $(DEL) $(EXERES)
+ $(DEL) $(DLLRES)
+ $(DEL) AFS_component_version_number.h
+
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS Loopback Installer DLL"
+#define AFS_VERINFO_NAME "loopback"
+#define AFS_VERINFO_FILENAME "loopback.dll"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\config\NTVersioninfo.rc"
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS Loopback Adapter Installer"
+#define AFS_VERINFO_NAME "instloop"
+#define AFS_VERINFO_FILENAME "instloop.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\config\NTVersioninfo.rc"
DLLFILE = $(MEDIABINDIR)\afscustom.dll
+DLLRES = $(OUT)\afscustom.res
+
DLLEXPORTS=\
-EXPORT:InstallNetProvider \
-EXPORT:UninstallNetProvider \
$(OUT)\afscustom.obj: afscustom.cpp
$(CC) -ML -c /Fo$@ $**
-$(DLLFILE): $(OUT)\afscustom.obj
+$(DLLRES): afscustom.rc AFS_component_version_number.h
+
+$(DLLFILE): $(OUT)\afscustom.obj $(DLLRES)
$(LINK) -DLL $(DLLEXPORTS) \
-OUT:$@ $** $(DLLLIBFILES)
$(_VC_MANIFEST_EMBED_DLL)
install: $(DLLFILE)
clean ::
+ $(DEL) $(DLLRES)
+ $(DEL) $(OUT)\afscustom.obj
+ $(DEL) $(DLLFILE)
+ $(DEL) AFS_component_version_number.h
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "OpenAFS MSI Custom DLL"
+#define AFS_VERINFO_NAME "afscustom"
+#define AFS_VERINFO_FILENAME "afscustom.dll"
+
+#include "AFS_component_version_number.h"
+#include "..\..\..\..\config\NTVersioninfo.rc"
EXEFILE = $(DESTDIR)\bin\sgml2rtf.exe
+EXERES = $(OUT)\sgml2rtf.res
+
EXEOBJS = \
$(OUT)\main.obj \
$(OUT)\multistring.obj
EXELIBS = \
user32.lib
-$(EXEFILE) : $(EXEOBJS)
+$(EXERES): sgml2rtf.rc AFS_component_version_number.h
+
+$(EXEFILE) : $(EXEOBJS) $(EXERES)
$(EXECONLINK) $(EXELIBS)
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
cd ..
clean ::
+ $(DEL) $(EXERES)
$(CD) lang
@$(MAKECMD) /nologo /f NTMakefile clean
$(CD) ..
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS SGML to RTF Conversion Tool"
+#define AFS_VERINFO_NAME "sgml2rtf"
+#define AFS_VERINFO_FILENAME "sgml2rtf.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
EXEFILE = $(DESTDIR)\etc\backup.exe
+EXERES = $(OUT)/backup.res
+
EXEOBJS =\
$(OUT)\main.obj \
$(OUT)\config.obj \
$(OUT)\dlq.obj \
-$(OUT)/backup.res:AFS_component_version_number.h
- $(RC) backup.rc
+$(EXERES): backup.rc AFS_component_version_number.h
$(EXEOBJS):$$(@B).c
$(C2OBJ) $**
$(DESTDIR)\lib\cm_dns.obj
-$(EXEFILE): $(EXEOBJS) $(EXELIBS)
+$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
clean::
$(DEL) bc.h bucoord_errs.c
+ $(DEL) $(EXERES)
+ $(DEL) AFS_component_version_number.h
mkdir:
EXEFILE = $(DESTDIR)\etc\butc.exe
+EXERES = $(OUT)\butc.res
+
EXEOBJS =\
$(OUT)\dbentries.obj \
$(OUT)\tcprocs.obj \
$(OUT)\tcudbprocs.obj \
$(OUT)\dump.obj \
$(OUT)\tcstatus.obj \
- $(OUT)\tcmain.obj \
- $(OUT)\butc.res
+ $(OUT)\tcmain.obj
EXELIBS =\
$(DESTDIR)\lib\afs\afsbudb.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\cm_dns.obj
-$(EXEFILE): $(EXEOBJS) $(EXELIBS)
+$(EXERES): butc.rc AFS_component_version_number.h
+
+$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
############################################################################
-# Definitions for generating versioninfo resources
-
-$(OUT)\butc.res: AFS_component_version_number.h
-
-############################################################################
# Install target; primary makefile target
install: $(EXEFILE)
# Local clean target; augments predefined clean target
clean::
+ $(DEL) $(EXERES)
+ $(DEL) AFS_component_version_number.h
############################################################################
# build and install the compile_et executable
COMPILE_ET_EXEFILE = $(DESTDIR)\bin\compile_et.exe
+COMPILE_ET_EXERES = $(OUT)\compile_et.res
+
prep:
$(DESTDIR)\bin\touch et_lex.lex_nt.c
$(DESTDIR)\bin\touch error_table_nt.c
$(OUT)\compile_et.obj \
$(OUT)\error_table_nt.obj
+$(COMPILE_ET_EXERES): compile_et.rc AFS_component_version_number.h
+
$(COMPILE_ET_EXEOBJS): $$(@B).c
$(C2OBJ) $**
COMPILE_ET_EXELIBS =\
$(DESTDIR)\lib\afs\afsutil.lib
-$(COMPILE_ET_EXEFILE): $(COMPILE_ET_EXEOBJS) $(COMPILE_ET_EXELIBS)
+$(COMPILE_ET_EXEFILE): $(COMPILE_ET_EXEOBJS) $(COMPILE_ET_EXERES) $(COMPILE_ET_EXELIBS)
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
clean::
$(DEL) $(COMERR_LIBFILE) $(OUT)\AFS_component_version_number.obj
$(DEL) $(COMPILE_ET_EXEFILE)
+ $(DEL) $(COMPILE_ET_EXERES);
$(DEL) *~ *.bak \
*.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
*.cp *.fn *.ky *.log *.pg *.tp *.vr \
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Common Error Table Compilation Tool"
+#define AFS_VERINFO_NAME "compile_et"
+#define AFS_VERINFO_FILENAME "compile_et.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\config\NTVersioninfo.rc"
# build rxgen
EXEFILE = $(DESTDIR)\bin\rxgen.exe
+EXERES = $(OUT)\rxgen.res
+
EXEOBJS =\
$(OUT)\rpc_main.obj \
$(OUT)\rpc_hout.obj \
$(EXEOBJS): $$(@B).c
$(C2OBJ) $**
-$(EXEFILE): $(EXEOBJS) $(EXELIBS)
+$(EXERES): rxgen.rc AFS_component_version_number.h
+
+$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
install9x: install
clean::
- $(DEL) $(EXEFILE)
+ $(DEL) $(EXEFILE)
+ $(DEL) $(EXERES)
mkdir:
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "RX RPC Code Generator"
+#define AFS_VERINFO_NAME "rxgen"
+#define AFS_VERINFO_FILENAME "rxgen.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\config\NTVersioninfo.rc"
EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\fileserver.exe
+EXERES = $(OUT)\fileserver.res
+
EXEOBJS =\
$(OUT)\afsfileprocs.obj \
$(OUT)\callback.obj \
$(OUT)\host.obj \
$(OUT)\physio.obj \
$(OUT)\viced.obj \
- $(OUT)\AFS_component_version_number.obj \
- $(OUT)\fileserver.res
+ $(OUT)\AFS_component_version_number.obj
EXELIBS = \
$(DESTDIR)\lib\afs\afscmd.lib \
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\afs\afseventlog.lib
-$(EXEFILE): $(EXEOBJS) $(EXELIBS)
+$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
$(EXEPREP)
# Build cbd - not generally distributed debugging program
CBD = $(DESTDIR)\root.server\usr\afs\bin\cbd.exe
+CBDRES = $(OUT)\cbd.res
+
$(OUT)\cbd.obj: callback.c AFS_component_version_number.h
$(C2OBJ) callback.c -DINTERPRET_DUMP
-$(CBD): $(OUT)\cbd.obj
+$(CBD): $(OUT)\cbd.obj $(CBDRES)
$(EXECONLINK)
$(_VC_MANIFEST_EMBED_EXE)
############################################################################
# generate versioninfo resources
-$(OUT)\fileserver.res: AFS_component_version_number.h
+$(EXERES): AFS_component_version_number.h
+
+$(CBDRES): AFS_component_version_number.h
-install: $(INCFILES) $(OUT)\fileserver.res $(CBD)
+install: $(INCFILES) $(EXERES) $(CBD) $(CBDRES)
mkdir:
--- /dev/null
+/*
+ * 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
+ */
+
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS File Server Callback Debugging Tool"
+#define AFS_VERINFO_NAME "cbd"
+#define AFS_VERINFO_FILENAME "cbd.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\config\NTVersioninfo.rc"