[OPENSM] set opensm cache & config folder as %ProgramFiles%\WinOF\OpenSM; integrated...
[mirror/winof/.git] / ulp / libibumad / src / Sources
1 !if $(FREEBUILD)\r
2 TARGETNAME = libibumad\r
3 !else\r
4 TARGETNAME = libibumadd\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\ibum_exports.def\r
12 !else\r
13 DLLDEF = $(OBJ_PATH)\$O\ibum_exports.def\r
14 !endif\r
15 \r
16 DLLENTRY = DllMain\r
17 USE_MSVCRT=1\r
18 \r
19 SOURCES = \\r
20         ibumad.rc               \\r
21         ibum_main.cpp   \\r
22         umad.cpp\r
23 \r
24 INCLUDES = ..\include;..\..\libibverbs\include;..\..\..\inc;..\..\..\inc\user;\r
25 \r
26 USER_C_FLAGS = $(USER_C_FLAGS) -DEXPORT_IBUM_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 !if $(FREEBUILD)\r
33         $(TARGETPATH)\*\winmad.lib              \\r
34         $(TARGETPATH)\*\libibverbs.lib\r
35 !else\r
36         $(TARGETPATH)\*\winmadd.lib             \\r
37         $(TARGETPATH)\*\libibverbsd.lib\r
38 !endif\r