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