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