ib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
[mirror/winof/.git] / ulp / libibmad / src / Sources
1 !if $(FREEBUILD)\r
2 TARGETNAME = libibmad\r
3 !else\r
4 TARGETNAME = libibmadd\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\ibmad_exports.def\r
11 \r
12 DLLENTRY = DllMain\r
13 USE_MSVCRT = 1\r
14 \r
15 SOURCES = \\r
16         ibmad_main.cpp \\r
17         bm.c \\r
18         dump.c \\r
19         fields.c \\r
20         gs.c \\r
21         mad.c \\r
22         portid.c \\r
23         register.c \\r
24         resolve.c \\r
25         rpc.c \\r
26         sa.c \\r
27         serv.c \\r
28         smp.c \\r
29         vendor.c\r
30         \r
31 INCLUDES =      ..\include\infiniband;\\r
32                         ..\include;\\r
33                         ..\..\libibverbs\include;\\r
34                         ..\..\libibumad\include;\\r
35                         ..\..\..\inc;\\r
36                         ..\..\..\inc\user;\\r
37                         ..\..\..\inc\user\linux;\r
38 \r
39 USER_C_FLAGS = $(USER_C_FLAGS) -DEXPORT_IBMAD_SYMBOLS\r
40 \r
41 TARGETLIBS = \\r
42         $(SDK_LIB_PATH)\kernel32.lib    \\r
43         $(SDK_LIB_PATH)\uuid.lib        \\r
44         $(SDK_LIB_PATH)\ws2_32.lib      \\r
45         $(SDK_LIB_PATH)\advapi32.lib    \\r
46         $(SDK_LIB_PATH)\user32.lib      \\r
47         $(SDK_LIB_PATH)\ole32.lib       \\r
48 !if $(FREEBUILD)\r
49         $(TARGETPATH)\*\complib.lib     \\r
50         $(TARGETPATH)\*\libibumad.lib   \r
51 !else\r
52         $(TARGETPATH)\*\complibd.lib    \\r
53         $(TARGETPATH)\*\libibumadd.lib  \r
54 !endif\r