[OPENSM] added OpenSM version to osmtest.rc file description string for easy ID....
[mirror/winof/.git] / ulp / opensm / user / osmtest / SOURCES
1 TARGETNAME=osmtest\r
2 \r
3 !if !defined(WINIBHOME)\r
4 WINIBHOME=..\..\..\..\r
5 !endif\r
6 \r
7 LIBPATH=$(WINIBHOME)\bin\user\obj$(BUILD_ALT_DIR)\r
8 \r
9 !if defined(OSM_TARGET)\r
10 TARGETPATH=$(OSM_TARGET)\bin\user\obj$(BUILD_ALT_DIR)\r
11 !else\r
12 TARGETPATH=$(WINIBHOME)\bin\user\obj$(BUILD_ALT_DIR)\r
13 !endif\r
14 \r
15 # include only one vendor definition\r
16 \r
17 !include ..\opensm\vendor-ibal.inc\r
18 #!include ..\opensm\vendor-umad.inc\r
19 \r
20 \r
21 TARGETTYPE=PROGRAM\r
22 UMTYPE=console\r
23 USE_MSVCRT=1\r
24 OVR_DIR=..\addon\r
25 \r
26 \r
27 SOURCES=osmtest.rc \\r
28         osmt_files.c \\r
29         osmt_slvl_vl_arb.c \\r
30         osmt_service.c \\r
31         osmt_multicast.c \\r
32         osmt_inform.c \\r
33         osmtest.c \\r
34         main.c \\r
35 \r
36 OSM_HOME=..\r
37 \r
38 TARGETLIBS=\\r
39         $(SDK_LIB_PATH)\kernel32.lib \\r
40         $(SDK_LIB_PATH)\ws2_32.lib \\r
41 !if $(FREEBUILD)\r
42         $(VENDOR_LIBS) \\r
43         $(LIBPATH)\*\ibal.lib \\r
44         $(LIBPATH)\*\complib.lib\r
45 !else\r
46         $(VENDOR_LIBSD) \\r
47         $(LIBPATH)\*\ibald.lib \\r
48         $(LIBPATH)\*\complibd.lib\r
49 !endif\r
50 \r
51 \r
52 INCLUDES= \\r
53         $(WINIBHOME)\inc; \\r
54         $(WINIBHOME)\inc\user; \\r
55         $(WINIBHOME)\inc\user\linux; \\r
56         $(VENDOR_INC) \\r
57         $(OSM_HOME); \\r
58         $(OSM_HOME)\osmtest\include; \\r
59         $(OSM_HOME)\include;\r
60 \r
61 # Could be any special flag needed for this project \r
62 USER_C_FLAGS=$(USER_C_FLAGS) /MD\r
63 \r
64 #Add preproccessor definitions\r
65 \r
66 C_DEFINES=$(C_DEFINES) -D__WIN__ -D$(VENDOR_IF) -DHAVE_CONFIG_H\r
67 \r
68 !if !$(FREEBUILD)\r
69 #C_DEFINES=$(C_DEFINES) -D_DEBUG -DDEBUG -DDBG\r
70 C_DEFINES=$(C_DEFINES) \r
71 !endif\r
72 \r
73 LINKER_FLAGS= $(LINKER_FLAGS)\r
74 MSC_WARNING_LEVEL= /W3 /wd4007 /wd4090\r
75 \r