[MLX4] This patch adds rc file to mlx4u[d].dll.
[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         mlx4u.rc        \\r
29         buf.c           \\r
30         cq.c            \\r
31         dbrec.c         \\r
32         mlx4.c          \\r
33         mlx4_debug.c \\r
34         qp.c            \\r
35         srq.c           \\r
36         verbs.c\r
37 \r
38 INCLUDES= \\r
39         ..\..\inc; \\r
40         $(TRUNK)\inc\user; \\r
41         $(TRUNK)\inc\complib; \\r
42         $(TRUNK)\inc\user\complib; \\r
43         $(TRUNK)\inc;   \\r
44 \r
45 USER_C_FLAGS=$(USER_C_FLAGS) /DCL_NO_TRACK_MEM\r
46 \r
47 TARGETLIBS=\\r
48         $(SDK_LIB_PATH)\user32.lib \\r
49         $(SDK_LIB_PATH)\kernel32.lib \\r
50         $(SDK_LIB_PATH)\Advapi32.lib \\r
51 !if $(FREEBUILD)\r
52         $(TARGETPATH)\*\complib.lib \\r
53 !else\r
54         $(TARGETPATH)\*\complibd.lib \\r
55 !endif\r
56 \r
57 #LINKER_FLAGS=/MAP /MAPINFO:LINES\r
58 \r
59 !IFDEF ENABLE_EVENT_TRACING\r
60 \r
61 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING  -DWPP_OLDCC\r
62 \r
63 \r
64 RUN_WPP= $(SOURCES) -ext:.c.h -dll\\r
65         -scan:mlx4_debug.h \\r
66         -func:MLX4_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
67         -func:MLX4_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
68 !ENDIF\r
69 \r
70 MSC_WARNING_LEVEL= /W4\r