[HW] The patch add version stamping to mlx4_bus and mlx4_hca. [MLNX: 2871]
[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         verbs.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 -DUSE_WDM_FRAMEWORK\r
46 \r
47 TARGETLIBS= \\r
48         $(TARGETPATH)\*\complib.lib     \\r
49     $(DDK_LIB_PATH)\ntstrsafe.lib \\r
50 \r
51 #LINKER_FLAGS=/MAP \r
52 \r
53 !IFDEF ENABLE_EVENT_TRACING\r
54 \r
55 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
56 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
57         -scan:debug.h \\r
58         -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \r
59 !ENDIF\r
60 \r
61 #       -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r
62 \r
63 MSC_OPTIMIZATION=/Oi\r
64 MSC_WARNING_LEVEL= /W4\r