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