libibmad: updated based on merge feedback
[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         dump.c \\r
18         fields.c \\r
19         gs.c \\r
20         mad.c \\r
21         portid.c \\r
22         register.c \\r
23         resolve.c \\r
24         rpc.c \\r
25         sa.c \\r
26         serv.c \\r
27         smp.c \\r
28         vendor.c\r
29         \r
30 INCLUDES = ..\include\infiniband;..\..\libibmad\include;..\..\libibverbs\include;..\..\libibumad\include;..\..\..\inc;..\..\..\inc\user;\r
31 \r
32 USER_C_FLAGS = $(USER_C_FLAGS) -DEXPORT_IBMAD_SYMBOLS\r
33 \r
34 TARGETLIBS = \\r
35         $(SDK_LIB_PATH)\kernel32.lib    \\r
36         $(SDK_LIB_PATH)\uuid.lib        \\r
37         $(SDK_LIB_PATH)\ws2_32.lib      \\r
38         $(SDK_LIB_PATH)\advapi32.lib    \\r
39         $(SDK_LIB_PATH)\user32.lib      \\r
40         $(SDK_LIB_PATH)\ole32.lib       \\r
41 !if $(FREEBUILD)\r
42         $(TARGETPATH)\*\complib.lib     \\r
43         $(TARGETPATH)\*\libibumad.lib   \r
44 !else\r
45         $(TARGETPATH)\*\complibd.lib    \\r
46         $(TARGETPATH)\*\libibumadd.lib  \r
47 !endif\r