[OPENSM] set opensm cache & config folder as %ProgramFiles%\WinOF\OpenSM; integrated...
[mirror/winof/.git] / ulp / libibnetdisc / src / Sources
1 !if $(FREEBUILD)\r
2 TARGETNAME = libibnetdisc\r
3 !else\r
4 TARGETNAME = libibnetdiscd\r
5 !endif\r
6 \r
7 TARGETPATH = ..\..\..\bin\user\obj$(BUILD_ALT_DIR)\r
8 TARGETTYPE = DYNLINK\r
9 \r
10 DLLDEF = $(OBJ_PATH)\$O\ibnetdisc_exports.def\r
11 \r
12 DLLENTRY = DllMain\r
13 USE_MSVCRT = 1\r
14 \r
15 SOURCES = \\r
16         ibnetdisc_main.cpp \\r
17         ibnetdisc.c \\r
18         chassis.c\r
19         \r
20 INCLUDES =      ..\include\infiniband;\\r
21                         ..\include;\\r
22                         ..\..\libibmad\include;\\r
23                         ..\..\..\tools\infiniband-diags\include;\\r
24                         ..\..\libibverbs\include;\\r
25                         ..\..\libibumad\include;\\r
26                         ..\..\..\inc;\\r
27                         ..\..\..\inc\user;\\r
28                         ..\..\..\inc\user\linux;\r
29 \r
30 USER_C_FLAGS = $(USER_C_FLAGS)\r
31 \r
32 TARGETLIBS = \\r
33         $(SDK_LIB_PATH)\kernel32.lib    \\r
34         $(SDK_LIB_PATH)\uuid.lib                \\r
35         $(SDK_LIB_PATH)\ws2_32.lib              \\r
36         $(SDK_LIB_PATH)\advapi32.lib    \\r
37         $(SDK_LIB_PATH)\user32.lib              \\r
38         $(SDK_LIB_PATH)\ole32.lib               \\r
39 !if $(FREEBUILD)\r
40         $(TARGETPATH)\*\libibumad.lib   \\r
41         $(TARGETPATH)\*\libibmad.lib   \r
42 !else\r
43         $(TARGETPATH)\*\libibumadd.lib  \\r
44         $(TARGETPATH)\*\libibmadd.lib  \r
45 !endif\r