[ipoib 6] Bug fixes to the driver.
[mirror/winof/.git] / ulp / ipoib_NDIS6_CM / kernel / SOURCES
1 TARGETNAME=ipoib\r
2 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)\r
3 TARGETTYPE=DRIVER\r
4 \r
5 !if $(_NT_TOOLS_VERSION) != 0x700\r
6 # WDK build only - transform .inx --> .inf adding date & version stamp.\r
7 # see .\makefile.inc\r
8 INF_NAME=netipoib\r
9 INF_TARGET=..\..\..\bin\kernel\$(O)\$(INF_NAME).inf\r
10 NTTARGETFILES=$(INF_TARGET)\r
11 !endif\r
12 \r
13 !if $(FREEBUILD)\r
14 ENABLE_EVENT_TRACING=1\r
15 !else\r
16 #ENABLE_EVENT_TRACING=1\r
17 !endif\r
18 \r
19 \r
20 SOURCES=        ipoib_log.mc \\r
21                 ipoib.rc \\r
22                 ipoib_driver.cpp \\r
23                 ipoib_adapter.cpp \\r
24                 ipoib_endpoint.cpp \\r
25                 ipoib_port.cpp \\r
26                 ipoib_ibat.cpp \\r
27 #               ipoib_cm.cpp    \\r
28                 ipoib_xfr_mgr.cpp \\r
29                 ipoib_stat.cpp\r
30 \r
31 INCLUDES=..;..\..\..\inc;..\..\..\inc\kernel;\r
32 \r
33 C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 \\r
34         -DDEPRECATE_DDK_FUNCTIONS -DNDIS60_MINIPORT=1 -DNEED_CL_OBJ -DBINARY_COMPATIBLE=0\r
35 \r
36 TARGETLIBS= \\r
37         $(TARGETPATH)\*\complib.lib \\r
38         $(DDK_LIB_PATH)\ndis.lib \\r
39         $(DDK_LIB_PATH)\ntstrsafe.lib \\r
40         $(DDK_LIB_PATH)\strsafe.lib\r
41 \r
42 !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"\r
43 #\r
44 # The driver is built in the Win2K build environment\r
45 # - use the library version of safe strings \r
46 #\r
47 #TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)\ntstrsafe.lib\r
48 !endif\r
49 \r
50 !IFDEF ENABLE_EVENT_TRACING\r
51 \r
52 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
53 \r
54 RUN_WPP = $(SOURCES) -km -ext: .c .cpp .h .C .CPP .H\\r
55         -scan:ipoib_debug.h \\r
56         -func:IPOIB_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
57         -func:IPOIB_PRINT_EXIT(LEVEL,FLAGS,(MSG,...))\r
58 !ENDIF\r
59 \r
60 \r
61 PRECOMPILED_INCLUDE=Precompile.h\r
62 PRECOMPILED_PCH=Precompile.pch\r
63 PRECOMPILED_CXX=1\r
64 \r
65 \r
66 MSC_WARNING_LEVEL= /W4\r