]> 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:07:33 +0000 (00:07 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 7 Sep 2007 00:07:33 +0000 (00:07 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@785 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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

index 5a016c40d81e671401f268631962126ee21dda57..4e397f75dc2c535b54fc7ea8c480af4e504da7ec 100644 (file)
@@ -9,7 +9,7 @@ DLLENTRY=_DllMainCRTStartup
 DLLDEF=$O\udat_exports.def\r
 USE_CRTDLL=1\r
 \r
-SOURCES=\\r
+SOURCES=udat.rc                        \\r
        udat.c                          \\r
        udat_sr_parser.c        \\r
        udat_sources.c\r
diff --git a/trunk/ulp/dapl/dat/udat/udat.rc b/trunk/ulp/dapl/dat/udat/udat.rc
new file mode 100644 (file)
index 0000000..6f20000
--- /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                "User-mode Direct Access Transport Library v1.1 (Debug)"\r
+#define VER_INTERNALNAME_STR           "datd.dll"\r
+#define VER_ORIGINALFILENAME_STR       "datd.dll"\r
+#else\r
+#define VER_FILEDESCRIPTION_STR                "User-mode Direct Access Transport Library v1.1"\r
+#define VER_INTERNALNAME_STR           "dat.dll"\r
+#define VER_ORIGINALFILENAME_STR       "dat.dll"\r
+#endif\r
+\r
+#include <common.ver>\r