[MTHCA] bugfix: data corruption while registering MR
[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 !if $(FREEBUILD)\r
8 ENABLE_EVENT_TRACING=1\r
9 !else\r
10 #ENABLE_EVENT_TRACING=1\r
11 !endif\r
12 \r
13 SOURCES= \\r
14         mthca_log.mc            \\r
15         mthca_log.rc            \\r
16         hca.rc                  \\r
17         mthca_log.c             \\r
18                                         \\r
19         ..\hca_utils.c          \\r
20         ..\mt_utils.c           \\r
21                                         \\r
22         hca_data.c              \\r
23         hca_direct.c            \\r
24         hca_driver.c            \\r
25         hca_mcast.c             \\r
26         hca_memory.c    \\r
27         hca_pci.c                       \\r
28         hca_pnp.c               \\r
29         hca_smp.c               \\r
30         hca_verbs.c             \\r
31                                         \\r
32         mt_cache.c              \\r
33         mt_device.c             \\r
34         mt_l2w.c                        \\r
35         mt_memory.c             \\r
36         mt_packer.c             \\r
37         mt_reset_tavor.c        \\r
38         mt_ud_header.c  \\r
39         mt_uverbs.c             \\r
40         mt_verbs.c              \\r
41         mt_pa_cash.c            \\r
42                                         \\r
43         mthca_allocator.c       \\r
44         mthca_av.c              \\r
45         mthca_catas.c           \\r
46         mthca_cmd.c             \\r
47         mthca_cq.c              \\r
48         mthca_eq.c              \\r
49         mthca_mad.c             \\r
50         mthca_main.c            \\r
51         mthca_mcg.c             \\r
52         mthca_memfree.c \\r
53         mthca_mr.c              \\r
54         mthca_pd.c              \\r
55         mthca_profile.c \\r
56         mthca_provider.c        \\r
57         mthca_qp.c              \\r
58         mthca_srq.c             \\r
59         mthca_uar.c             \\r
60 \r
61 \r
62 INCLUDES=\\r
63         ..; \\r
64         $(TRUNK)\inc;   \\r
65         $(TRUNK)\inc\kernel;\r
66         \r
67 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN\r
68 \r
69 TARGETLIBS= \\r
70         $(TARGETPATH)\*\complib.lib     \\r
71         $(DDK_LIB_PATH)\wdmguid.lib\r
72 \r
73 \r
74 #LINKER_FLAGS=/MAP \r
75 \r
76 !IFDEF ENABLE_EVENT_TRACING\r
77 \r
78 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
79 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
80         -scan:hca_debug.h \\r
81         -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
82         -func:HCA_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
83 !ENDIF\r
84 \r
85 #       -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r
86 \r
87 MSC_OPTIMIZATION=/Oi\r
88 MSC_WARNING_LEVEL= /W4\r