]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
winof: add missing build files for ibal, scm
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 30 Oct 2009 14:32:56 +0000 (06:32 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 30 Oct 2009 14:32:56 +0000 (06:32 -0800)
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/ibal/SOURCES [new file with mode: 0644]
dapl/ibal/udapl.rc [new file with mode: 0644]
dapl/ibal/udapl_exports.src [new file with mode: 0644]
dapl/openib_scm/udapl_ofa_scm_exports.src [new file with mode: 0644]

diff --git a/dapl/ibal/SOURCES b/dapl/ibal/SOURCES
new file mode 100644 (file)
index 0000000..b8c9932
--- /dev/null
@@ -0,0 +1,56 @@
+!if $(FREEBUILD)
+TARGETNAME = dapl2
+!else
+TARGETNAME = dapl2d
+!endif
+
+TARGETPATH = ..\..\..\..\bin\user\obj$(BUILD_ALT_DIR)
+TARGETTYPE = DYNLINK
+DLLENTRY = _DllMainCRTStartup
+
+!if $(_NT_TOOLS_VERSION) == 0x700
+DLLDEF=$O\udapl_exports.def
+!else
+DLLDEF=$(OBJ_PATH)\$O\udapl_exports.def
+!endif
+
+USE_MSVCRT = 1
+
+SOURCES=udapl.rc                       \
+       ..\dapl_common_src.c    \
+       ..\dapl_udapl_src.c             \
+       dapl_ibal_cm.c                  \
+       dapl_ibal_cq.c                  \
+       dapl_ibal_extensions.c  \
+       dapl_ibal_name_service.c\
+       dapl_ibal_qp.c                  \
+       dapl_ibal_util.c
+
+INCLUDES = ..\include;..\common;..\..\dat\include;\
+                  ..\..\dat\udat\windows;..\udapl\windows;\
+                  ..\..\..\..\inc;..\..\..\..\inc\user;
+
+DAPL_OPTS = -DEXPORT_DAPL_SYMBOLS -D_VENDOR_IBAL_ -DDAPL_MERGE_CM_DTO\
+                       -DDAT_EXTENSIONS
+
+USER_C_FLAGS=$(USER_C_FLAGS) $(DAPL_OPTS)
+!if !$(FREEBUILD)
+USER_C_FLAGS=$(USER_C_FLAGS) -DDAPL_DBG #-DDAPL_COUNTERS
+!endif
+
+TARGETLIBS= \
+       $(SDK_LIB_PATH)\kernel32.lib \
+       $(SDK_LIB_PATH)\ws2_32.lib \
+!if $(FREEBUILD)
+       $(TARGETPATH)\*\dat2.lib \
+       $(TARGETPATH)\*\complib.lib \
+       $(TARGETPATH)\*\ibal.lib
+!else
+       $(TARGETPATH)\*\dat2d.lib \
+       $(TARGETPATH)\*\complibd.lib \
+       $(TARGETPATH)\*\ibald.lib
+!endif
+
+# FIX ME ASAP
+#MSC_WARNING_LEVEL= /W3
+MSC_WARNING_LEVEL= /W1 /wd4113
diff --git a/dapl/ibal/udapl.rc b/dapl/ibal/udapl.rc
new file mode 100644 (file)
index 0000000..7c2505a
--- /dev/null
@@ -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 <oib_ver.h>
+
+#define VER_FILETYPE                   VFT_DLL
+#define VER_FILESUBTYPE                        VFT2_UNKNOWN
+
+#if DBG
+#define VER_FILEDESCRIPTION_STR                "Direct Access Provider Library v2.0 (Debug)"
+#define VER_INTERNALNAME_STR           "dapl2d.dll"
+#define VER_ORIGINALFILENAME_STR       "dapl2d.dll"
+#else
+#define VER_FILEDESCRIPTION_STR                "Direct Access Provider Library v2.0"
+#define VER_INTERNALNAME_STR           "dapl2.dll"
+#define VER_ORIGINALFILENAME_STR       "dapl2.dll"
+#endif
+
+#include <common.ver>
diff --git a/dapl/ibal/udapl_exports.src b/dapl/ibal/udapl_exports.src
new file mode 100644 (file)
index 0000000..54b403b
--- /dev/null
@@ -0,0 +1,14 @@
+#if DBG
+LIBRARY dapl2d.dll
+#else
+LIBRARY dapl2.dll
+#endif
+
+
+EXPORTS
+dat_provider_init
+dat_provider_fini
+#ifdef DAT_EXTENSIONS
+dapl_extensions
+#endif
+
diff --git a/dapl/openib_scm/udapl_ofa_scm_exports.src b/dapl/openib_scm/udapl_ofa_scm_exports.src
new file mode 100644 (file)
index 0000000..cc1a7a3
--- /dev/null
@@ -0,0 +1,14 @@
+#if DBG\r
+LIBRARY dapl2-ofa-scmd.dll\r
+#else\r
+LIBRARY dapl2-ofa-scm.dll\r
+#endif\r
+\r
+\r
+EXPORTS\r
+dat_provider_init\r
+dat_provider_fini\r
+#ifdef DAT_EXTENSIONS\r
+dapl_extensions\r
+#endif\r
+\r