]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[WSD Installer] Add resource file so that installsp has a file version.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 May 2006 23:09:27 +0000 (23:09 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 May 2006 23:09:27 +0000 (23:09 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@342 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/tools/wsdinstall/user/SOURCES
trunk/tools/wsdinstall/user/installsp.rc [new file with mode: 0644]

index 9a4c915f53475508c2b8f6e6b61a28f00bd22449..b0bba4b0e3c4f86ae4b69b9f5c58c97ab0f5b64f 100644 (file)
@@ -8,7 +8,8 @@ INCLUDES=..\..\..\inc;\
        ..\..\..\inc\user;\\r
        $(PLATFORM_SDK_PATH)\include;\r
 \r
-SOURCES=\\r
+SOURCES= \\r
+       installsp.rc \\r
        installsp.c\r
 \r
 USER_C_FLAGS=$(USER_C_FLAGS) -DPERFMON_ENABLED\r
diff --git a/trunk/tools/wsdinstall/user/installsp.rc b/trunk/tools/wsdinstall/user/installsp.rc
new file mode 100644 (file)
index 0000000..51a73c8
--- /dev/null
@@ -0,0 +1,47 @@
+/*\r
+ * Copyright (c) 2005 SilverStorm Technologies.  All rights reserved.\r
+ *\r
+ * This software is available to you under the OpenIB.org BSD license\r
+ * below:\r
+ *\r
+ *     Redistribution and use in source and binary forms, with or\r
+ *     without modification, are permitted provided that the following\r
+ *     conditions are met:\r
+ *\r
+ *      - Redistributions of source code must retain the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer.\r
+ *\r
+ *      - Redistributions in binary form must reproduce the above\r
+ *        copyright notice, this list of conditions and the following\r
+ *        disclaimer in the documentation and/or other materials\r
+ *        provided with the distribution.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\r
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\r
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
+ * SOFTWARE.\r
+ *\r
+ * $Id$\r
+ */\r
+\r
+\r
+#include <oib_ver.h>\r
+\r
+#define VER_FILETYPE                           VFT_APP\r
+#define VER_FILESUBTYPE                                VFT2_UNKNOWN\r
+\r
+#ifdef _DEBUG_\r
+#define VER_FILEDESCRIPTION_STR                "Winsock Direct for InfiniBand installer (Debug)"\r
+#else\r
+#define VER_FILEDESCRIPTION_STR                "Winsock Direct for InfiniBand installer"\r
+#endif\r
+\r
+#define VER_INTERNALNAME_STR           "installsp.exe"\r
+#define VER_ORIGINALFILENAME_STR       "installsp.exe"\r
+\r
+#include <common.ver>\r