[opensm+tools] Corrections for WDK build environment.
[mirror/winof/.git] / tools / flint / user / SOURCES
1 TARGETNAME=flint\r
2 TARGETTYPE=PROGRAM\r
3 UMTYPE=console\r
4 USE_MSVCRT=1\r
5 \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 \r
15 ZLIB=$(WINIBHOME)\tools\ext_libs\user\zlib-1.1.4\r
16 \r
17 \r
18 SOURCES=flint.rc  \\r
19         flint.cpp\r
20 \r
21 \r
22 INCLUDES= $(WINIBHOME)\inc;                    \\r
23           $(WINIBHOME)\inc\user;               \\r
24           $(WINIBHOME)\inc\iba;                \\r
25           $(WINIBHOME)\tools\mtcr\user;        \\r
26           $(ZLIB)\include;\r
27 \r
28 TARGETLIBS= \\r
29 !if $(FREEBUILD)\r
30                         $(SDK_LIB_PATH)\Ws2_32.lib\\r
31                         $(TARGETPATH)\*\mtcr.lib\r
32 !else\r
33                         $(SDK_LIB_PATH)\Ws2_32.lib\\r
34                         $(TARGETPATH)\*\mtcr.lib\r
35 !endif\r
36 \r
37 USER_C_FLAGS=$(USER_C_FLAGS) /Ze /EHsc\r
38 \r
39 # TODO:Should I define the __WIN__ manually\r
40 C_DEFINES=$(C_DEFINES) -D__WIN__ -DZEXPORT=__cdecl\r
41 \r
42 C_DEFINES=$(C_DEFINES) -DNO_ZLIB\r
43 \r
44 \r
45 !if $(FREEBUILD)\r
46 \r
47 !else\r
48 C_DEFINES=$(C_DEFINES) -DDEBUG\r
49 !endif\r
50 \r
51 # Version:\r
52 !if !defined(MFT_BLD_VER)\r
53 MFT_BLD_VER=Devel\r
54 !endif\r
55 C_DEFINES=$(C_DEFINES) "-DVERSION_ID=$(MFT_BLD_VER)"\r
56 \r
57 386_STDCALL=0\r
58 \r
59 MSC_WARNING_LEVEL= /W3\r
60 \r