94ee9c89b6a68ca02b69c2920faa3edb045c87ce
[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.rc \\r
17         ibmad_main.cpp \\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;..\..\libibverbs\include;..\..\libibumad\include;..\..\..\inc;..\..\..\inc\user;\r
32 \r
33 USER_C_FLAGS = $(USER_C_FLAGS) -DEXPORT_IBMAD_SYMBOLS\r
34 \r
35 TARGETLIBS = \\r
36         $(SDK_LIB_PATH)\kernel32.lib    \\r
37         $(SDK_LIB_PATH)\uuid.lib        \\r
38         $(SDK_LIB_PATH)\ws2_32.lib      \\r
39         $(SDK_LIB_PATH)\advapi32.lib    \\r
40         $(SDK_LIB_PATH)\user32.lib      \\r
41         $(SDK_LIB_PATH)\ole32.lib       \\r
42 !if $(FREEBUILD)\r
43         $(TARGETPATH)\*\complib.lib     \\r
44         $(TARGETPATH)\*\libibumad.lib   \r
45 !else\r
46         $(TARGETPATH)\*\complibd.lib    \\r
47         $(TARGETPATH)\*\libibumadd.lib  \r
48 !endif\r