[opensm+tools] Corrections for WDK build environment.
[mirror/winof/.git] / tools / spark / user / SOURCES
1 TARGETNAME=spark\r
2 TARGETTYPE=PROGRAM\r
3 UMTYPE=console\r
4 USE_MSVCRT=1\r
5 USE_STL=1\r
6 \r
7 !if !defined(WINIBHOME)\r
8 WINIBHOME=..\..\..\r
9 !endif\r
10 \r
11 TARGETPATH=$(WINIBHOME)\bin\user\obj$(BUILD_ALT_DIR)\r
12 \r
13 \r
14 SOURCES=spark.rc  \\r
15         spark.cpp\r
16 \r
17 \r
18 INCLUDES= $(WINIBHOME)\inc;                    \\r
19           $(WINIBHOME)\inc\user;               \\r
20           $(WINIBHOME)\inc\iba;                \\r
21           $(WINIBHOME)\tools\mtcr\user;        \\r
22           $(ZLIB)\include;\r
23 \r
24 TARGETLIBS= \\r
25 !if $(FREEBUILD)\r
26                         $(SDK_LIB_PATH)\Ws2_32.lib\\r
27                         $(TARGETPATH)\*\mtcr.lib\r
28 !else\r
29                         $(SDK_LIB_PATH)\Ws2_32.lib\\r
30                         $(TARGETPATH)\*\mtcr.lib\r
31 !endif\r
32 \r
33 USER_C_FLAGS=$(USER_C_FLAGS) /Ze /EHsc\r
34 \r
35 # TODO:Should I define the __WIN__ manually\r
36 C_DEFINES=$(C_DEFINES) -D__WIN__\r
37 \r
38 \r
39 !if $(FREEBUILD)\r
40 \r
41 !else\r
42 C_DEFINES=$(C_DEFINES) -DDEBUG\r
43 !endif\r
44 \r
45 # Version:\r
46 !if !defined(MFT_BLD_VER)\r
47 MFT_BLD_VER=Devel\r
48 !endif\r
49 C_DEFINES=$(C_DEFINES) "-DVERSION_ID=$(MFT_BLD_VER)"\r
50 \r
51 386_STDCALL=0\r
52 \r
53 MSC_WARNING_LEVEL= /W3\r
54 \r