[mlx4] change wdf coinstaller to 1.7 (winib 2389)
[mirror/winof/.git] / hw / mlx4 / kernel / bus / drv / sources
1 TARGETNAME=mlx4_bus\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         bus.rc \\r
13         drv.c \\r
14         pci.c \\r
15         pdo.c \\r
16         wmi.c \\r
17 \r
18 PRECOMPILED_INCLUDE=precomp.h\r
19 \r
20 NTTARGETFILE0=mofcomp\r
21 \r
22 KMDF_VERSION=1\r
23 \r
24 KMDF_MINOR_VERSION=7\r
25 \r
26 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN -DUSE_WDM_INTERRUPTS\r
27 \r
28 INCLUDES=..;..\inc;..\..\inc;..\core;..\..\..\inc;..\..\..\..\..\inc;..\..\..\..\..\inc\kernel;..\core;..\core\$O\r
29 \r
30 \r
31 TARGETLIBS= $(TARGETLIBS) \\r
32         $(DDK_LIB_PATH)\ntstrsafe.lib \\r
33         $(TARGETPATH)\*\complib.lib \\r
34         $(TARGETPATH)\*\mlx4_core.lib \\r
35         $(TARGETPATH)\*\mlx4_ib.lib \\r
36         $(TARGETPATH)\*\mlx4_net.lib \r
37         \r
38         \r
39 \r
40 #LINKER_FLAGS=/MAP \r
41 \r
42 \r
43 !IFDEF ENABLE_EVENT_TRACING\r
44 \r
45 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
46 \r
47 RUN_WPP= $(SOURCES) -km -dll -ext: .c .cpp .h .C .CPP .H\\r
48 #       -preserveext:.cpp .h\\r
49         -scan:..\inc\mlx4_debug.h \\r
50         -func:MLX4_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
51         -func:MLX4_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
52 !ENDIF\r
53 \r
54 MSC_OPTIMIZATION=/Oi\r
55 MSC_WARNING_LEVEL= /W4\r
56 \r