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