]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: Add resource info to threaded volserver.exe
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 19 Aug 2009 15:51:18 +0000 (11:51 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 19 Aug 2009 17:16:39 +0000 (10:16 -0700)
1.5.60 and 1.5.61 shipped without resource information
linked to the threaded version of the volserver.exe
executable.  Correct that oversight.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/325
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/tvolser/NTMakefile
src/tvolser/volserver.rc [new file with mode: 0644]

index cad8a5521500f72f7ee1309906ae750a52207ce6..375dd594f1206f3a8ddca35496c723061eaad195 100644 (file)
@@ -72,7 +72,14 @@ LIBACLOBJS=$(OUT)\aclprocs.obj $(OUT)\netprocs.obj
 
 DIROBJS=$(OUT)\buffer.obj $(OUT)\dir.obj $(OUT)\salvage.obj
 
-VOLSERVER_EXEOBJS = $(VOLSEROBJS) $(VLSERVEROBJS) $(LWPOBJS) $(LIBACLOBJS) $(DIROBJS) $(FSINTOBJS) $(OUT)\vscommon.obj
+VOLSERVER_EXEOBJS = $(VOLSEROBJS) \
+        $(VLSERVEROBJS) \
+        $(LWPOBJS) \
+        $(LIBACLOBJS) \
+        $(DIROBJS) \
+        $(FSINTOBJS) \
+        $(OUT)\vscommon.obj \
+        $(OUT)\volserver.res
 
 VOLSERVER_EXELIBS = \
        $(DESTDIR)\lib\afsauthent.lib \
diff --git a/src/tvolser/volserver.rc b/src/tvolser/volserver.rc
new file mode 100644 (file)
index 0000000..58e3f1a
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * 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 Volume Server (Threaded)"
+#define  AFS_VERINFO_NAME "volserver"
+#define  AFS_VERINFO_FILENAME "volserver.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\config\NTVersioninfo.rc"