[MTHCA] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERS...
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
1 TRUNK=..\..\..\r
2 \r
3 TARGETNAME=mthca\r
4 TARGETPATH=$(TRUNK)\bin\kernel\obj$(BUILD_ALT_DIR)\r
5 TARGETTYPE=DRIVER\r
6 \r
7 KMDF_VERSION_MAJOR=1\r
8 \r
9 # WDK build only - transform .inx --> .inf adding date & version stamp.\r
10 # see .\makefile.inc\r
11 INF_NAME=$(TARGETNAME)\r
12 INF_TARGET=$(TRUNK)\bin\kernel\$(O)\$(INF_NAME).inf\r
13 NTTARGETFILES=$(INF_TARGET)\r
14 \r
15 !if $(FREEBUILD)\r
16 ENABLE_EVENT_TRACING=1\r
17 !else\r
18 #ENABLE_EVENT_TRACING=1\r
19 !endif\r
20 \r
21 SOURCES= \\r
22         mthca_log.mc            \\r
23         hca.rc                  \\r
24         mthca_log.c             \\r
25                                         \\r
26         ..\hca_utils.c          \\r
27         ..\mt_utils.c           \\r
28                                         \\r
29         hca_data.c              \\r
30         hca_direct.c            \\r
31         hca_driver.c            \\r
32         hca_mcast.c             \\r
33         hca_memory.c    \\r
34         hca_pci.c                       \\r
35         hca_pnp.c               \\r
36         hca_verbs.c             \\r
37                                         \\r
38         mt_cache.c              \\r
39         mt_device.c             \\r
40         mt_l2w.c                        \\r
41         mt_memory.c             \\r
42         mt_packer.c             \\r
43         mt_reset_tavor.c        \\r
44         mt_ud_header.c  \\r
45         mt_uverbs.c             \\r
46         mt_verbs.c              \\r
47         mt_pa_cash.c            \\r
48                                         \\r
49         mthca_allocator.c       \\r
50         mthca_av.c              \\r
51         mthca_catas.c           \\r
52         mthca_cmd.c             \\r
53         mthca_cq.c              \\r
54         mthca_eq.c              \\r
55         mthca_mad.c             \\r
56         mthca_main.c            \\r
57         mthca_mcg.c             \\r
58         mthca_memfree.c \\r
59         mthca_mr.c              \\r
60         mthca_pd.c              \\r
61         mthca_profile.c \\r
62         mthca_provider.c        \\r
63         mthca_qp.c              \\r
64         mthca_srq.c             \\r
65         mthca_uar.c             \\r
66 \r
67 \r
68 INCLUDES=\\r
69         ..; \\r
70         $(TRUNK)\inc;   \\r
71         $(TRUNK)\inc\kernel;\r
72         \r
73 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN\r
74 \r
75 TARGETLIBS= \\r
76         $(TARGETPATH)\*\complib.lib     \\r
77         $(DDK_LIB_PATH)\wdmguid.lib\r
78 \r
79 \r
80 #LINKER_FLAGS=/MAP \r
81 \r
82 !IFDEF ENABLE_EVENT_TRACING\r
83 \r
84 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
85 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
86         -scan:hca_debug.h \\r
87         -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \r
88 !ENDIF\r
89 \r
90 #       -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r
91 \r
92 MSC_OPTIMIZATION=/Oi\r
93 MSC_WARNING_LEVEL= /W4\r