From db3115f0c56fef887e35245d6918887e25ff2850 Mon Sep 17 00:00:00 2001 From: stansmith Date: Fri, 7 Sep 2007 00:08:30 +0000 Subject: [PATCH] [DAPL] Resource file + build it. git-svn-id: svn://openib.tc.cornell.edu/gen1@786 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/dapl/dapl/udapl/SOURCES | 2 +- trunk/ulp/dapl/dapl/udapl/udapl.rc | 48 ++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 trunk/ulp/dapl/dapl/udapl/udapl.rc diff --git a/trunk/ulp/dapl/dapl/udapl/SOURCES b/trunk/ulp/dapl/dapl/udapl/SOURCES index a8db4403..66130dc8 100644 --- a/trunk/ulp/dapl/dapl/udapl/SOURCES +++ b/trunk/ulp/dapl/dapl/udapl/SOURCES @@ -9,7 +9,7 @@ DLLENTRY=_DllMainCRTStartup DLLDEF=$O\udapl_exports.def USE_CRTDLL=1 -SOURCES=\ +SOURCES=udapl.rc \ dapl_init.c \ dapl_name_service.c \ dapl_timer_util.c \ diff --git a/trunk/ulp/dapl/dapl/udapl/udapl.rc b/trunk/ulp/dapl/dapl/udapl/udapl.rc new file mode 100644 index 00000000..e00b3280 --- /dev/null +++ b/trunk/ulp/dapl/dapl/udapl/udapl.rc @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2007 Intel Corporation. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_DLL +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#if DBG +#define VER_FILEDESCRIPTION_STR "Direct Access Provider Library v1.1 (Debug)" +#define VER_INTERNALNAME_STR "dapld.dll" +#define VER_ORIGINALFILENAME_STR "dapld.dll" +#else +#define VER_FILEDESCRIPTION_STR "Direct Access Provider Library v1.1" +#define VER_INTERNALNAME_STR "dapl.dll" +#define VER_ORIGINALFILENAME_STR "dapl.dll" +#endif + +#include -- 2.41.0