[ofw] DAT/DAPL - generate dapltestd.exe for field debug

Stan C. Smith stan.smith at intel.com
Tue Mar 4 17:09:50 PST 2008


Corrected oversight of not producing a debug version of dapltestd.exe for field debug.

Signed off by: stan.smith at intel.com

diff U3 Y:/Documents and Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/test/udapl/dapltest/dapltest.rc
D:/openIB-windows-svn/955/gen1/trunk/ulp/dapl/test/udapl/dapltest/dapltest.rc
--- Y:/Documents and Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/test/udapl/dapltest/dapltest.rc	Fri Oct 12 13:08:48 2007
+++ D:/openIB-windows-svn/955/gen1/trunk/ulp/dapl/test/udapl/dapltest/dapltest.rc	Tue Mar 04 15:34:18 2008
@@ -32,16 +32,18 @@
 
 #include <oib_ver.h>
 
-#define VER_FILETYPE				VFT_APP
-#define VER_FILESUBTYPE			VFT2_UNKNOWN
+#define VER_FILETYPE			VFT_APP
+#define VER_FILESUBTYPE		VFT2_UNKNOWN
 
 #if DBG
-#define VER_FILEDESCRIPTION_STR	"DAPL/DAT[1.1] test Application (Debug)"
+#define VER_FILEDESCRIPTION_STR	"DAPL/DAT[1.1] test application (Debug)"
+#define VER_INTERNALNAME_STR		"dapltestd.exe"
+#define VER_ORIGINALFILENAME_STR	"dapltestd.exe"
 #else
-#define VER_FILEDESCRIPTION_STR	"DAPL/DAT[1.1] test Application"
-#endif
-
+#define VER_FILEDESCRIPTION_STR	"DAPL/DAT[1.1] test application"
 #define VER_INTERNALNAME_STR		"dapltest.exe"
 #define VER_ORIGINALFILENAME_STR	"dapltest.exe"
+#endif
 
 #include <common.ver>
+


diff U3 Y:/Documents and Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/test/udapl/dapltest/SOURCES
D:/openIB-windows-svn/955/gen1/trunk/ulp/dapl/test/udapl/dapltest/SOURCES
--- Y:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/dapl/test/udapl/dapltest/SOURCES
Mon Feb 11 13:34:53 2008
+++ D:/openIB-windows-svn/955/gen1/trunk/ulp/dapl/test/udapl/dapltest/SOURCES	Tue Mar 04 15:31:02 2008
@@ -1,4 +1,8 @@
+!if $(FREEBUILD)
 TARGETNAME=dapltest
+!else
+TARGETNAME=dapltestd
+!endif
 TARGETPATH=..\..\..\..\..\bin\user\obj$(BUILD_ALT_DIR)
 TARGETTYPE=PROGRAM
 UMTYPE=console
@@ -54,10 +58,12 @@
 USER_C_FLAGS=$(USER_C_FLAGS) -DDYNAMIC_DAT_LOADING
 !if $(FREEBUILD)
 USER_C_FLAGS=$(USER_C_FLAGS) -DDAT_DLL_NAME=\"dat.dll\"
+DATLIB=dat.lib
 !else
 USER_C_FLAGS=$(USER_C_FLAGS) -DDAT_DLL_NAME=\"datd.dll\"
+DATLIB=datd.lib
 !endif
 
-TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib
+TARGETLIBS=$(TARGETPATH)\*\$(DATLIB) $(SDK_LIB_PATH)\ws2_32.lib
 
 MSC_WARNING_LEVEL= /W3






More information about the ofw mailing list