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