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