]> git.saurik.com Git - wxWidgets.git/blame - demos/life/makefile.vc
No changes, just get rid of some wxT()s in wxString unit test.
[wxWidgets.git] / demos / life / makefile.vc
CommitLineData
a7ebaf0d
KO
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
a7ebaf0d
KO
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7!include <../../build/msw/config.vc>\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13### Variables: ###\r
14\r
15WX_RELEASE_NODOT = 29\r
16COMPILER_PREFIX = vc\r
17OBJS = \\r
bed99c22 18 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX)\r
a7ebaf0d 19LIBDIRNAME = \\r
bed99c22 20 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
a7ebaf0d
KO
21SETUPHDIR = \\r
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
23LIFE_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \\r
24 $(__DEBUGINFO_0) /Fd$(OBJS)\life.pdb $(____DEBUGRUNTIME_3_p) \\r
49a63afb
VZ
25 $(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \\r
26 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \\r
bed99c22
VZ
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \\r
31 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) \\r
32 $(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)\r
a7ebaf0d
KO
33LIFE_OBJECTS = \\r
34 $(OBJS)\life_life.obj \\r
35 $(OBJS)\life_dialogs.obj \\r
36 $(OBJS)\life_game.obj \\r
37 $(OBJS)\life_reader.obj\r
38LIFE_RESOURCES = \\r
39 $(OBJS)\life_life.res\r
40\r
41### Conditionally set variables: ###\r
42\r
bed99c22
VZ
43!if "$(TARGET_CPU)" == "AMD64"\r
44ARCH_SUFFIX = _x64\r
45!endif\r
46!if "$(TARGET_CPU)" == "IA64"\r
47ARCH_SUFFIX = _ia64\r
48!endif\r
49!if "$(TARGET_CPU)" == "X64"\r
50ARCH_SUFFIX = _x64\r
51!endif\r
52!if "$(TARGET_CPU)" == "amd64"\r
53ARCH_SUFFIX = _x64\r
54!endif\r
55!if "$(TARGET_CPU)" == "ia64"\r
56ARCH_SUFFIX = _ia64\r
57!endif\r
58!if "$(TARGET_CPU)" == "x64"\r
59ARCH_SUFFIX = _x64\r
60!endif\r
a7ebaf0d
KO
61!if "$(USE_GUI)" == "0"\r
62PORTNAME = base\r
63!endif\r
64!if "$(USE_GUI)" == "1"\r
bed99c22
VZ
65PORTNAME = msw$(TOOLKIT_VERSION)\r
66!endif\r
67!if "$(OFFICIAL_BUILD)" == "1"\r
68COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD\r
22a3b6e4 69!endif\r
a7ebaf0d
KO
70!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
71WXDEBUGFLAG = d\r
72!endif\r
73!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
74WXDEBUGFLAG = d\r
75!endif\r
76!if "$(UNICODE)" == "1"\r
77WXUNICODEFLAG = u\r
78!endif\r
79!if "$(WXUNIV)" == "1"\r
80WXUNIVNAME = univ\r
81!endif\r
a7ebaf0d
KO
82!if "$(SHARED)" == "1"\r
83WXDLLFLAG = dll\r
84!endif\r
85!if "$(SHARED)" == "0"\r
86LIBTYPE_SUFFIX = lib\r
87!endif\r
88!if "$(SHARED)" == "1"\r
89LIBTYPE_SUFFIX = dll\r
90!endif\r
91!if "$(TARGET_CPU)" == "AMD64"\r
94b6ce7f 92LINK_TARGET_CPU = /MACHINE:X64\r
a7ebaf0d
KO
93!endif\r
94!if "$(TARGET_CPU)" == "IA64"\r
95LINK_TARGET_CPU = /MACHINE:IA64\r
96!endif\r
bed99c22
VZ
97!if "$(TARGET_CPU)" == "X64"\r
98LINK_TARGET_CPU = /MACHINE:X64\r
99!endif\r
a7ebaf0d 100!if "$(TARGET_CPU)" == "amd64"\r
94b6ce7f 101LINK_TARGET_CPU = /MACHINE:X64\r
a7ebaf0d
KO
102!endif\r
103!if "$(TARGET_CPU)" == "ia64"\r
104LINK_TARGET_CPU = /MACHINE:IA64\r
105!endif\r
bed99c22
VZ
106!if "$(TARGET_CPU)" == "x64"\r
107LINK_TARGET_CPU = /MACHINE:X64\r
108!endif\r
a7ebaf0d
KO
109!if "$(MONOLITHIC)" == "0"\r
110EXTRALIBS_FOR_BASE = \r
111!endif\r
112!if "$(MONOLITHIC)" == "1"\r
51ec29ea 113EXTRALIBS_FOR_BASE = \r
a7ebaf0d
KO
114!endif\r
115!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
116__DEBUGINFO_0 = /Zi\r
117!endif\r
118!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
119__DEBUGINFO_0 = \r
120!endif\r
121!if "$(DEBUG_INFO)" == "0"\r
122__DEBUGINFO_0 = \r
123!endif\r
124!if "$(DEBUG_INFO)" == "1"\r
125__DEBUGINFO_0 = /Zi\r
126!endif\r
127!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
128__DEBUGINFO_1 = /DEBUG\r
129!endif\r
130!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
131__DEBUGINFO_1 = \r
132!endif\r
133!if "$(DEBUG_INFO)" == "0"\r
134__DEBUGINFO_1 = \r
135!endif\r
136!if "$(DEBUG_INFO)" == "1"\r
137__DEBUGINFO_1 = /DEBUG\r
138!endif\r
139!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
140__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r
141!endif\r
142!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
143__DEBUGINFO_2 = \r
144!endif\r
145!if "$(DEBUG_INFO)" == "0"\r
146__DEBUGINFO_2 = \r
147!endif\r
148!if "$(DEBUG_INFO)" == "1"\r
149__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)\r
150!endif\r
151!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
152____DEBUGRUNTIME_3_p = /D_DEBUG\r
153!endif\r
154!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
155____DEBUGRUNTIME_3_p = \r
156!endif\r
157!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
158____DEBUGRUNTIME_3_p = \r
159!endif\r
160!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
161____DEBUGRUNTIME_3_p = /D_DEBUG\r
162!endif\r
163!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
164____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r
165!endif\r
166!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
167____DEBUGRUNTIME_3_p_1 = \r
168!endif\r
169!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
170____DEBUGRUNTIME_3_p_1 = \r
171!endif\r
172!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
173____DEBUGRUNTIME_3_p_1 = /d _DEBUG\r
174!endif\r
175!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
176__DEBUGRUNTIME_4 = d\r
177!endif\r
178!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
179__DEBUGRUNTIME_4 = \r
180!endif\r
181!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
182__DEBUGRUNTIME_4 = \r
183!endif\r
184!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
185__DEBUGRUNTIME_4 = d\r
186!endif\r
187!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
188__DEBUGRUNTIME_5 = \r
189!endif\r
190!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
191__DEBUGRUNTIME_5 = /opt:ref /opt:icf\r
192!endif\r
193!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
194__DEBUGRUNTIME_5 = /opt:ref /opt:icf\r
195!endif\r
196!if "$(DEBUG_RUNTIME_LIBS)" == "1"\r
197__DEBUGRUNTIME_5 = \r
198!endif\r
199!if "$(BUILD)" == "debug"\r
200__OPTIMIZEFLAG_6 = /Od\r
201!endif\r
202!if "$(BUILD)" == "release"\r
203__OPTIMIZEFLAG_6 = /O2\r
204!endif\r
205!if "$(USE_THREADS)" == "0"\r
206__THREADSFLAG_9 = L\r
207!endif\r
208!if "$(USE_THREADS)" == "1"\r
209__THREADSFLAG_9 = T\r
210!endif\r
211!if "$(RUNTIME_LIBS)" == "dynamic"\r
212__RUNTIME_LIBS_10 = D\r
213!endif\r
214!if "$(RUNTIME_LIBS)" == "static"\r
215__RUNTIME_LIBS_10 = $(__THREADSFLAG_9)\r
216!endif\r
217!if "$(USE_RTTI)" == "0"\r
218__RTTIFLAG_11 = \r
219!endif\r
220!if "$(USE_RTTI)" == "1"\r
221__RTTIFLAG_11 = /GR\r
222!endif\r
223!if "$(USE_EXCEPTIONS)" == "0"\r
224__EXCEPTIONSFLAG_12 = \r
225!endif\r
226!if "$(USE_EXCEPTIONS)" == "1"\r
227__EXCEPTIONSFLAG_12 = /EHsc\r
228!endif\r
229!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
230__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
231!endif\r
232!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
233__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r
234!endif\r
235!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r
236__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
237!endif\r
238!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r
239__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r
240!endif\r
241!if "$(WXUNIV)" == "1"\r
242__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r
243!endif\r
244!if "$(WXUNIV)" == "1"\r
245__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r
246!endif\r
247!if "$(DEBUG_FLAG)" == "0"\r
248__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r
249!endif\r
250!if "$(DEBUG_FLAG)" == "0"\r
251__DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r
252!endif\r
da8b1d4b
KO
253!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
254__NDEBUG_DEFINE_p = /DNDEBUG\r
255!endif\r
256!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
257__NDEBUG_DEFINE_p = /DNDEBUG\r
258!endif\r
259!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r
260__NDEBUG_DEFINE_p_1 = /d NDEBUG\r
261!endif\r
262!if "$(DEBUG_RUNTIME_LIBS)" == "0"\r
263__NDEBUG_DEFINE_p_1 = /d NDEBUG\r
264!endif\r
a7ebaf0d
KO
265!if "$(USE_EXCEPTIONS)" == "0"\r
266__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r
267!endif\r
268!if "$(USE_EXCEPTIONS)" == "0"\r
269__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r
270!endif\r
271!if "$(USE_RTTI)" == "0"\r
272__RTTI_DEFINE_p = /DwxNO_RTTI\r
273!endif\r
274!if "$(USE_RTTI)" == "0"\r
275__RTTI_DEFINE_p_1 = /d wxNO_RTTI\r
276!endif\r
277!if "$(USE_THREADS)" == "0"\r
278__THREAD_DEFINE_p = /DwxNO_THREADS\r
279!endif\r
280!if "$(USE_THREADS)" == "0"\r
281__THREAD_DEFINE_p_1 = /d wxNO_THREADS\r
282!endif\r
283!if "$(UNICODE)" == "0"\r
284__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r
285!endif\r
286!if "$(UNICODE)" == "1"\r
287__UNICODE_DEFINE_p = /D_UNICODE\r
288!endif\r
289!if "$(UNICODE)" == "0"\r
290__UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r
291!endif\r
292!if "$(UNICODE)" == "1"\r
293__UNICODE_DEFINE_p_1 = /d _UNICODE\r
294!endif\r
295!if "$(MSLU)" == "1"\r
296__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r
297!endif\r
298!if "$(MSLU)" == "1"\r
299__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r
300!endif\r
f82b7036
KO
301!if "$(USE_CAIRO)" == "1"\r
302____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo\r
303!endif\r
304!if "$(USE_CAIRO)" == "1"\r
305____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo\r
306!endif\r
a7ebaf0d
KO
307!if "$(SHARED)" == "1"\r
308__DLLFLAG_p = /DWXUSINGDLL\r
309!endif\r
310!if "$(SHARED)" == "1"\r
311__DLLFLAG_p_1 = /d WXUSINGDLL\r
312!endif\r
313!if "$(MONOLITHIC)" == "0"\r
314__WXLIB_CORE_p = \\r
315 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
316!endif\r
317!if "$(MONOLITHIC)" == "0"\r
318__WXLIB_BASE_p = \\r
bed99c22 319 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
a7ebaf0d
KO
320!endif\r
321!if "$(MONOLITHIC)" == "1"\r
322__WXLIB_MONO_p = \\r
323 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
324!endif\r
bd0f3ca6 325!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
a4830bb5
VZ
326__LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib\r
327!endif\r
a7ebaf0d
KO
328!if "$(USE_GUI)" == "1"\r
329__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
330!endif\r
331!if "$(USE_GUI)" == "1"\r
332__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
333!endif\r
334!if "$(USE_GUI)" == "1"\r
335__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
336!endif\r
337!if "$(MSLU)" == "1"\r
338__UNICOWS_LIB_p = unicows.lib\r
339!endif\r
f82b7036
KO
340!if "$(USE_CAIRO)" == "1"\r
341__CAIRO_LIB_p = cairo.lib\r
342!endif\r
343!if "$(USE_CAIRO)" == "1"\r
344____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib\r
345!endif\r
a7ebaf0d
KO
346\r
347\r
348all: $(OBJS)\r
349$(OBJS):\r
350 -if not exist $(OBJS) mkdir $(OBJS)\r
351\r
352### Targets: ###\r
353\r
354all: $(OBJS)\life.exe data\r
355\r
356clean: \r
357 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
358 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
359 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
360 -if exist $(OBJS)\life.exe del $(OBJS)\life.exe\r
361 -if exist $(OBJS)\life.ilk del $(OBJS)\life.ilk\r
362 -if exist $(OBJS)\life.pdb del $(OBJS)\life.pdb\r
363\r
364$(OBJS)\life.exe: $(LIFE_OBJECTS) $(OBJS)\life_life.res\r
f82b7036 365 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\life.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<\r
a4830bb5 366 $(LIFE_OBJECTS) $(LIFE_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r
a7ebaf0d
KO
367<<\r
368\r
369data: \r
370 if not exist $(OBJS) mkdir $(OBJS)\r
371 for %f in (breeder.lif) do if not exist $(OBJS)\%f copy .\%f $(OBJS)\r
372\r
373$(OBJS)\life_life.obj: .\life.cpp\r
374 $(CXX) /c /nologo /TP /Fo$@ $(LIFE_CXXFLAGS) .\life.cpp\r
375\r
376$(OBJS)\life_dialogs.obj: .\dialogs.cpp\r
377 $(CXX) /c /nologo /TP /Fo$@ $(LIFE_CXXFLAGS) .\dialogs.cpp\r
378\r
379$(OBJS)\life_game.obj: .\game.cpp\r
380 $(CXX) /c /nologo /TP /Fo$@ $(LIFE_CXXFLAGS) .\game.cpp\r
381\r
382$(OBJS)\life_reader.obj: .\reader.cpp\r
383 $(CXX) /c /nologo /TP /Fo$@ $(LIFE_CXXFLAGS) .\reader.cpp\r
384\r
385$(OBJS)\life_life.res: .\life.rc\r
bed99c22 386 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\life.rc\r
a7ebaf0d 387\r