bf237d7a74577493f5d31b93fdf8f067bd510c2a
[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 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN -DUSE_WDM_INTERRUPTS\r
25 \r
26 INCLUDES=..;..\inc;..\..\inc;..\core;..\..\..\inc;..\..\..\..\..\inc;..\..\..\..\..\inc\kernel;..\core;..\core\$O\r
27 \r
28 \r
29 TARGETLIBS= $(TARGETLIBS) \\r
30         $(DDK_LIB_PATH)\ntstrsafe.lib \\r
31         $(TARGETPATH)\*\complib.lib \\r
32         $(TARGETPATH)\*\mlx4_core.lib \\r
33         $(TARGETPATH)\*\mlx4_ib.lib \\r
34         $(TARGETPATH)\*\mlx4_net.lib \r
35         \r
36         \r
37 \r
38 #LINKER_FLAGS=/MAP \r
39 \r
40 \r
41 !IFDEF ENABLE_EVENT_TRACING\r
42 \r
43 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
44 \r
45 RUN_WPP= $(SOURCES) -km -dll -ext: .c .cpp .h .C .CPP .H\\r
46 #       -preserveext:.cpp .h\\r
47         -scan:..\inc\mlx4_debug.h \\r
48         -func:MLX4_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
49         -func:MLX4_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
50 !ENDIF\r
51 \r
52 MSC_OPTIMIZATION=/Oi\r
53 MSC_WARNING_LEVEL= /W4\r
54 \r