[MLX4] MLX4_HCA is returned to its original WDF form. [mlnx: 4103]
[mirror/winof/.git] / hw / mlx4 / kernel / hca / SOURCES
1 TARGETNAME=mlx4_hca\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=$(TARGETNAME)\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 SOURCES= \\r
20         hca.rc                  \\r
21         av.c                    \\r
22         ca.c                    \\r
23         cq.c                    \\r
24         data.c                  \\r
25         direct.c                \\r
26         drv.c                   \\r
27         fw.c                    \\r
28         mcast.c                 \\r
29         mr.c                    \\r
30         pd.c                    \\r
31         qp.c                    \\r
32         srq.c                   \\r
33         hverbs.c                \\r
34         vp.c                    \\r
35         wmi.c                   \\r
36 \r
37 INCLUDES=..;..\inc;..\..\inc;..\bus\inc;..\bus\ib;..\bus\core\$O;..\..\..\..\inc;..\..\..\..\inc\kernel;\r
38 \r
39 PRECOMPILED_INCLUDE=precomp.h\r
40 \r
41 NTTARGETFILE0=mofcomp\r
42 \r
43 KMDF_VERSION=1\r
44 \r
45 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN \r
46 #-DUSE_WDM_FRAMEWORK \r
47 \r
48 TARGETLIBS= \\r
49         $(TARGETPATH)\*\complib.lib     \\r
50     $(DDK_LIB_PATH)\ntstrsafe.lib \\r
51 \r
52 #LINKER_FLAGS=/MAP \r
53 \r
54 !IFDEF ENABLE_EVENT_TRACING\r
55 \r
56 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
57 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
58         -scan:debug.h \\r
59         -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \r
60 !ENDIF\r
61 \r
62 #       -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r
63 \r
64 MSC_OPTIMIZATION=/Oi\r
65 MSC_WARNING_LEVEL= /W4\r