]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/render/Makefile.in
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / samples / render / Makefile.in
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.9 (http://www.bakefile.org)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12datarootdir = @datarootdir@
13INSTALL = @INSTALL@
14SHARED_LD_MODULE_CXX = @SHARED_LD_MODULE_CXX@
15SO_SUFFIX_MODULE = @SO_SUFFIX_MODULE@
16EXEEXT = @EXEEXT@
17WINDRES = @WINDRES@
18SETFILE = @SETFILE@
19PIC_FLAG = @PIC_FLAG@
20STRIP = @STRIP@
21NM = @NM@
22INSTALL_PROGRAM = @INSTALL_PROGRAM@
23INSTALL_DIR = @INSTALL_DIR@
24BK_DEPS = @BK_DEPS@
25srcdir = @srcdir@
26top_srcdir = @top_srcdir@
27libdir = @libdir@
28DLLPREFIX_MODULE = @DLLPREFIX_MODULE@
29LIBS = @LIBS@
30LDFLAGS_GUI = @LDFLAGS_GUI@
31CXX = @CXX@
32CXXFLAGS = @CXXFLAGS@
33CPPFLAGS = @CPPFLAGS@
34LDFLAGS = @LDFLAGS@
35WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
36TOOLKIT = @TOOLKIT@
37TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
38TOOLKIT_VERSION = @TOOLKIT_VERSION@
39TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
40EXTRALIBS = @EXTRALIBS@
41EXTRALIBS_XML = @EXTRALIBS_XML@
42EXTRALIBS_GUI = @EXTRALIBS_GUI@
43CXXWARNINGS = @CXXWARNINGS@
44HOST_SUFFIX = @HOST_SUFFIX@
45SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
46wx_top_builddir = @wx_top_builddir@
47
48### Variables: ###
49
50DESTDIR =
51WX_RELEASE = 3.0
52WX_RELEASE_NODOT = 30
53WX_VERSION = $(WX_RELEASE).0
54LIBDIRNAME = $(wx_top_builddir)/lib
55PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
56RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
57 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
58 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
59 $(CPPFLAGS) $(CXXFLAGS)
60RENDER_OBJECTS = \
61 $(__render___win32rc) \
62 $(__render_os2_lib_res) \
63 render_render.o
64RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
65 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
66 -DWXUSINGDLL $(PIC_FLAG) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
67RENDDLL_OBJECTS = \
68 renddll_renddll.o
69
70### Conditionally set variables: ###
71
72@COND_DEPS_TRACKING_0@CXXC = $(CXX)
73@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
74@COND_USE_GUI_0@PORTNAME = base
75@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
76@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
77@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@COMPILER_VERSION \
78@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = \
79@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
80@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@WXCOMPILER = _gcc
81@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@WXCOMPILER \
82@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@ = _gcc$(COMPILER_VERSION)
83@COND_BUILD_debug@WXDEBUGFLAG = d
84@COND_UNICODE_1@WXUNICODEFLAG = u
85@COND_WXUNIV_1@WXUNIVNAME = univ
86@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
87@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
88@COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
89@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
90@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
91@COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = $(WX_RELEASE_NODOT)
92@COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = $(WX_RELEASE)
93@COND_PLATFORM_UNIX_0@PLUGVERDELIM =
94@COND_PLATFORM_UNIX_1@PLUGVERDELIM = -
95@COND_PLATFORM_MAC_0@__render___mac_setfilecmd = @true
96@COND_PLATFORM_MAC_1@__render___mac_setfilecmd = \
97@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL render$(EXEEXT)
98@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
99@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_2 = --define wxDEBUG_LEVEL=0
100@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
101@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
102@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
103@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
104@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
105COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \
106 -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi
107@COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd)
108@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
109@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
110@COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o
111@COND_PLATFORM_OS2_1@__render_os2_lib_res = \
112@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
113@COND_PLATFORM_MACOSX_1@__render_app_Contents_PkgInfo___depname \
114@COND_PLATFORM_MACOSX_1@ = render.app/Contents/PkgInfo
115@COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
116@COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \
117@COND_TOOLKIT_MAC@ $(__render_app_Contents_PkgInfo___depname)
118@COND_TOOLKIT_OSX_CARBON@____render_BUNDLE_TGT_REF_DEP \
119@COND_TOOLKIT_OSX_CARBON@ = $(__render_app_Contents_PkgInfo___depname)
120@COND_TOOLKIT_OSX_COCOA@____render_BUNDLE_TGT_REF_DEP \
121@COND_TOOLKIT_OSX_COCOA@ = $(__render_app_Contents_PkgInfo___depname)
122@COND_TOOLKIT_OSX_IPHONE@____render_BUNDLE_TGT_REF_DEP \
123@COND_TOOLKIT_OSX_IPHONE@ = $(__render_app_Contents_PkgInfo___depname)
124@COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \
125@COND_TOOLKIT_COCOA@ $(__render_app_Contents_PkgInfo___depname)
126COND_SHARED_1___renddll___depname = \
127 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
128@COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
129@COND_SHARED_1@__install_renddll___depname = install_renddll
130@COND_SHARED_1@__uninstall_renddll___depname = uninstall_renddll
131@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
132@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
133@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
134@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
135@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
136COND_MONOLITHIC_0___WXLIB_CORE_p = \
137 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
138@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
139COND_MONOLITHIC_0___WXLIB_BASE_p = \
140 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
141@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
142COND_MONOLITHIC_1___WXLIB_MONO_p = \
143 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
144@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
145@COND_MONOLITHIC_1_USE_STC_1@__LIB_SCINTILLA_IF_MONO_p \
146@COND_MONOLITHIC_1_USE_STC_1@ = \
147@COND_MONOLITHIC_1_USE_STC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
148@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
149@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
150@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
151@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
152@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
153@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
154@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
155@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
156@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
157@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
158@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
159COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
160 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
161@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
162@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
163@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
164
165### Targets: ###
166
167all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
168
169install: $(__install_renddll___depname)
170
171uninstall: $(__uninstall_renddll___depname)
172
173install-strip: install
174 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
175
176clean:
177 rm -rf ./.deps ./.pch
178 rm -f ./*.o
179 rm -f render$(EXEEXT)
180 rm -rf render.app
181 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
182
183distclean: clean
184 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
185
186render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
187 $(CXX) -o $@ $(RENDER_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
188
189 $(__render___mac_setfilecmd)
190 $(__render___os2_emxbindcmd)
191
192@COND_PLATFORM_MACOSX_1@render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
193@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents
194@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/MacOS
195@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/Resources
196@COND_PLATFORM_MACOSX_1@
197@COND_PLATFORM_MACOSX_1@
198@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
199@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/render/" \
200@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
201@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >render.app/Contents/Info.plist
202@COND_PLATFORM_MACOSX_1@
203@COND_PLATFORM_MACOSX_1@
204@COND_PLATFORM_MACOSX_1@ /bin/echo "APPL????" >render.app/Contents/PkgInfo
205@COND_PLATFORM_MACOSX_1@
206@COND_PLATFORM_MACOSX_1@
207@COND_PLATFORM_MACOSX_1@ ln -f render$(EXEEXT) render.app/Contents/MacOS/render
208@COND_PLATFORM_MACOSX_1@
209@COND_PLATFORM_MACOSX_1@
210@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
211
212@COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP)
213
214@COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
215@COND_SHARED_1@ $(SHARED_LD_MODULE_CXX) $@ $(RENDDLL_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
216
217@COND_SHARED_1@install_renddll: $(__renddll___depname)
218@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
219@COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
220
221@COND_SHARED_1@uninstall_renddll:
222@COND_SHARED_1@ rm -f $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
223
224render_sample_rc.o: $(srcdir)/../../samples/sample.rc
225 $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__DEBUG_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
226
227render_render.o: $(srcdir)/render.cpp
228 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $(srcdir)/render.cpp
229
230renddll_renddll.o: $(srcdir)/renddll.cpp
231 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $(srcdir)/renddll.cpp
232
233
234# Include dependency info, if present:
235@IF_GNU_MAKE@-include ./.deps/*.d
236
237.PHONY: all install uninstall clean distclean render_bundle install_renddll \
238 uninstall_renddll