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