9627851b64a52ebe2b452003eb44d22652f64763
[mirror/winof/.git] / hw / mlx4 / user / hca / SOURCES
1 TRUNK=..\..\..\..\r
2 \r
3 !if $(FREEBUILD)\r
4 TARGETNAME=mlx4u\r
5 !else\r
6 TARGETNAME=mlx4ud\r
7 !endif\r
8 \r
9 TARGETPATH=$(TRUNK)\bin\user\obj$(BUILD_ALT_DIR)\r
10 TARGETTYPE=DYNLINK\r
11 !if $(_NT_TOOLS_VERSION) == 0x700\r
12 # DDK\r
13 DLLDEF=$O\mlx4.def\r
14 !else\r
15 # WDK\r
16 DLLDEF=$(OBJ_PATH)\$O\mlx4.def\r
17 !endif\r
18 USE_MSVCRT=1\r
19 DLLENTRY=DllMain\r
20 \r
21 !if $(FREEBUILD)\r
22 #ENABLE_EVENT_TRACING=1\r
23 !else\r
24 #ENABLE_EVENT_TRACING=1\r
25 !endif\r
26 \r
27 SOURCES= \\r
28         buf.c           \\r
29         cq.c            \\r
30         dbrec.c         \\r
31         mlx4.c          \\r
32         mlx4_debug.c \\r
33         qp.c            \\r
34         srq.c           \\r
35         verbs.c\r
36 \r
37 INCLUDES= \\r
38         ..\..\inc; \\r
39         $(TRUNK)\inc\user; \\r
40         $(TRUNK)\inc\complib; \\r
41         $(TRUNK)\inc\user\complib; \\r
42         $(TRUNK)\inc;   \\r
43 \r
44 USER_C_FLAGS=$(USER_C_FLAGS) /DCL_NO_TRACK_MEM\r
45 \r
46 TARGETLIBS=\\r
47         $(SDK_LIB_PATH)\user32.lib \\r
48         $(SDK_LIB_PATH)\kernel32.lib \\r
49         $(SDK_LIB_PATH)\Advapi32.lib \\r
50 !if $(FREEBUILD)\r
51         $(TARGETPATH)\*\complib.lib \\r
52 !else\r
53         $(TARGETPATH)\*\complibd.lib \\r
54 !endif\r
55 \r
56 #LINKER_FLAGS=/MAP /MAPINFO:LINES\r
57 \r
58 !IFDEF ENABLE_EVENT_TRACING\r
59 \r
60 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING  -DWPP_OLDCC\r
61 \r
62 \r
63 RUN_WPP= $(SOURCES) -ext:.c.h -dll\\r
64         -scan:mlx4_debug.h \\r
65         -func:MLX4_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
66         -func:MLX4_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
67 !ENDIF\r
68 \r
69 MSC_WARNING_LEVEL= /W4\r