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