[eth6] Add first version of ipoib NDIS 6.0 driver.
[mirror/winof/.git] / ulp / ipoib / kernel6 / 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.c \\r
23                 ipoib_adapter.c \\r
24                 ipoib_endpoint.c \\r
25                 ipoib_port.c \\r
26                 ipoib_ibat.c \\r
27 #               ipoib_cm.c      \\r
28                 ipoib_xfr_mgr.c\r
29 \r
30 INCLUDES=..;..\..\..\inc;..\..\..\inc\kernel;\r
31 \r
32 C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 \\r
33         -DDEPRECATE_DDK_FUNCTIONS -DNDIS60_MINIPORT=1 -DNEED_CL_OBJ -DBINARY_COMPATIBLE=0 -DVER_FILEREV=42\r
34 \r
35 TARGETLIBS= \\r
36         $(TARGETPATH)\*\complib.lib \\r
37         $(DDK_LIB_PATH)\ndis.lib \\r
38         $(DDK_LIB_PATH)\ntstrsafe.lib \\r
39         $(DDK_LIB_PATH)\strsafe.lib\r
40 \r
41 !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"\r
42 #\r
43 # The driver is built in the Win2K build environment\r
44 # - use the library version of safe strings \r
45 #\r
46 #TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)\ntstrsafe.lib\r
47 !endif\r
48 \r
49 !IFDEF ENABLE_EVENT_TRACING\r
50 \r
51 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
52 \r
53 RUN_WPP = $(SOURCES) -km -ext: .c .h .C .H \\r
54         -scan:ipoib_debug.h \\r
55         -func:IPOIB_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
56         -func:IPOIB_PRINT_EXIT(LEVEL,FLAGS,(MSG,...))\r
57 !ENDIF\r
58 \r
59 MSC_WARNING_LEVEL= /W4\r