]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[DAPL] Resource file + build it.
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 7 Sep 2007 00:08:30 +0000 (00:08 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 7 Sep 2007 00:08:30 +0000 (00:08 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@786 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/dapl/dapl/udapl/SOURCES
trunk/ulp/dapl/dapl/udapl/udapl.rc [new file with mode: 0644]

index a8db44039c57e100bd6fb9fc7d33fb2abef59de3..66130dc8dda510201b3d3a60b9f47b5561617973 100644 (file)
@@ -9,7 +9,7 @@ DLLENTRY=_DllMainCRTStartup
 DLLDEF=$O\udapl_exports.def\r
 USE_CRTDLL=1\r
 \r
-SOURCES=\\r
+SOURCES=udapl.rc               \\r
        dapl_init.c                     \\r
        dapl_name_service.c     \\r
        dapl_timer_util.c       \\r
diff --git a/trunk/ulp/dapl/dapl/udapl/udapl.rc b/trunk/ulp/dapl/dapl/udapl/udapl.rc
new file mode 100644 (file)
index 0000000..e00b328
--- /dev/null
@@ -0,0 +1,48 @@
+/*\r
+ * Copyright (c) 2007 Intel Corporation.  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_DLL\r
+#define VER_FILESUBTYPE                        VFT2_UNKNOWN\r
+\r
+#if DBG\r
+#define VER_FILEDESCRIPTION_STR                "Direct Access Provider Library v1.1 (Debug)"\r
+#define VER_INTERNALNAME_STR           "dapld.dll"\r
+#define VER_ORIGINALFILENAME_STR       "dapld.dll"\r
+#else\r
+#define VER_FILEDESCRIPTION_STR                "Direct Access Provider Library v1.1"\r
+#define VER_INTERNALNAME_STR           "dapl.dll"\r
+#define VER_ORIGINALFILENAME_STR       "dapl.dll"\r
+#endif\r
+\r
+#include <common.ver>\r