librdmacm: provide OFED compatibility library.
[mirror/winof/.git] / ulp / librdmacm / src / Sources
1 !if $(FREEBUILD)\r
2 TARGETNAME = librdmacm\r
3 !else\r
4 TARGETNAME = librdmacmd\r
5 !endif\r
6 \r
7 TARGETPATH = ..\..\..\bin\user\obj$(BUILD_ALT_DIR)\r
8 TARGETTYPE = DYNLINK\r
9 \r
10 !if $(_NT_TOOLS_VERSION) == 0x700\r
11 DLLDEF = $O\cma_exports.def\r
12 !else\r
13 DLLDEF = $(OBJ_PATH)\$O\cma_exports.def\r
14 !endif\r
15 \r
16 DLLENTRY = DllMain\r
17 USE_MSVCRT = 1\r
18 \r
19 SOURCES =                       \\r
20         cma.rc                  \\r
21         cma_main.cpp    \\r
22         cma.cpp\r
23 \r
24 INCLUDES = ..\include;..\..\..\inc;..\..\..\inc\user;..\..\libibverbs\include\r
25 \r
26 USER_C_FLAGS = $(USER_C_FLAGS) -DEXPORT_CMA_SYMBOLS\r
27 \r
28 TARGETLIBS = \\r
29         $(SDK_LIB_PATH)\kernel32.lib    \\r
30         $(SDK_LIB_PATH)\uuid.lib                \\r
31         $(SDK_LIB_PATH)\ws2_32.lib              \\r
32         $(SDK_LIB_PATH)\iphlpapi.lib    \\r
33         $(TARGETPATH)\*\ibat.lib                \\r
34 !if $(FREEBUILD)\r
35         $(TARGETPATH)\*\libibverbs.lib  \\r
36         $(TARGETPATH)\*\winverbs.lib\r
37 !else\r
38         $(TARGETPATH)\*\libibverbsd.lib \\r
39         $(TARGETPATH)\*\winverbsd.lib\r
40 !endif\r