[mlx4] Fix WPP for mlx4 part one
[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 $(FREEBUILD)\r
6 ENABLE_EVENT_TRACING=1\r
7 !else\r
8 #ENABLE_EVENT_TRACING=1\r
9 !endif\r
10 \r
11 SOURCES= \\r
12         hca.rc                  \\r
13         av.c                    \\r
14         ca.c                    \\r
15         cq.c                    \\r
16         data.c                  \\r
17         direct.c                \\r
18         drv.c                   \\r
19         fw.c                    \\r
20         mcast.c                 \\r
21         mr.c                    \\r
22         pd.c                    \\r
23         qp.c                    \\r
24         srq.c                   \\r
25         verbs.c                 \\r
26         vp.c                    \\r
27         wmi.c                   \\r
28 \r
29 INCLUDES=..;..\inc;..\..\inc;..\bus\inc;..\bus\ib;..\bus\core\$O;..\..\..\..\inc;..\..\..\..\inc\kernel;\r
30 \r
31 PRECOMPILED_INCLUDE=precomp.h\r
32 \r
33 NTTARGETFILE0=mofcomp\r
34 \r
35 KMDF_VERSION=1\r
36 \r
37 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN -DUSE_WDM_FRAMEWORK\r
38 \r
39 TARGETLIBS= \\r
40         $(TARGETPATH)\*\complib.lib     \\r
41     $(DDK_LIB_PATH)\ntstrsafe.lib \\r
42 \r
43 #LINKER_FLAGS=/MAP \r
44 \r
45 !IFDEF ENABLE_EVENT_TRACING\r
46 \r
47 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
48 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
49         -scan:debug.h \\r
50         -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \r
51 !ENDIF\r
52 \r
53 #       -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r
54 \r
55 MSC_OPTIMIZATION=/Oi\r
56 MSC_WARNING_LEVEL= /W4\r