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