]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.8 (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 | SETFILE = @SETFILE@ | |
19 | PIC_FLAG = @PIC_FLAG@ | |
20 | STRIP = @STRIP@ | |
21 | NM = @NM@ | |
22 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
23 | INSTALL_DIR = @INSTALL_DIR@ | |
24 | BK_DEPS = @BK_DEPS@ | |
25 | srcdir = @srcdir@ | |
26 | top_srcdir = @top_srcdir@ | |
27 | libdir = @libdir@ | |
28 | DLLPREFIX_MODULE = @DLLPREFIX_MODULE@ | |
29 | LIBS = @LIBS@ | |
30 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
31 | CXX = @CXX@ | |
32 | CXXFLAGS = @CXXFLAGS@ | |
33 | CPPFLAGS = @CPPFLAGS@ | |
34 | LDFLAGS = @LDFLAGS@ | |
35 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
36 | TOOLKIT = @TOOLKIT@ | |
37 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
38 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
39 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ | |
40 | EXTRALIBS = @EXTRALIBS@ | |
41 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
42 | CXXWARNINGS = @CXXWARNINGS@ | |
43 | HOST_SUFFIX = @HOST_SUFFIX@ | |
44 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
45 | wx_top_builddir = @wx_top_builddir@ | |
46 | ||
47 | ### Variables: ### | |
48 | ||
49 | DESTDIR = | |
50 | WX_RELEASE = 2.9 | |
51 | WX_RELEASE_NODOT = 29 | |
52 | WX_VERSION = $(WX_RELEASE).1 | |
53 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1 | |
54 | LIBDIRNAME = $(wx_top_builddir)/lib | |
55 | PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0) | |
56 | RENDER_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) | |
60 | RENDER_OBJECTS = \ | |
61 | $(__render___win32rc) \ | |
62 | $(__render_os2_lib_res) \ | |
63 | render_render.o | |
64 | RENDDLL_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) | |
67 | RENDDLL_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_PLATFORM_WIN32_1@WXCOMPILER = _gcc | |
78 | @COND_BUILD_debug@WXDEBUGFLAG = d | |
79 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
80 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
81 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
82 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
83 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
84 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
85 | @COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = $(WX_VERSION_NODOT) | |
86 | @COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = $(WX_VERSION) | |
87 | @COND_PLATFORM_UNIX_0@PLUGVERDELIM = | |
88 | @COND_PLATFORM_UNIX_1@PLUGVERDELIM = - | |
89 | @COND_PLATFORM_MAC_0@__render___mac_setfilecmd = @true | |
90 | @COND_PLATFORM_MAC_1@__render___mac_setfilecmd = \ | |
91 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL render$(EXEEXT) | |
92 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
93 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_2 = --define wxDEBUG_LEVEL=0 | |
94 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS | |
95 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI | |
96 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS | |
97 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
98 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
99 | COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \ | |
100 | -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi | |
101 | @COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd) | |
102 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
103 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
104 | @COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o | |
105 | @COND_PLATFORM_OS2_1@__render_os2_lib_res = \ | |
106 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
107 | @COND_PLATFORM_MACOSX_1@__render_app_Contents_PkgInfo___depname \ | |
108 | @COND_PLATFORM_MACOSX_1@ = render.app/Contents/PkgInfo | |
109 | @COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle | |
110 | @COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \ | |
111 | @COND_TOOLKIT_MAC@ $(__render_app_Contents_PkgInfo___depname) | |
112 | @COND_TOOLKIT_OSX_CARBON@____render_BUNDLE_TGT_REF_DEP \ | |
113 | @COND_TOOLKIT_OSX_CARBON@ = $(__render_app_Contents_PkgInfo___depname) | |
114 | @COND_TOOLKIT_OSX_COCOA@____render_BUNDLE_TGT_REF_DEP \ | |
115 | @COND_TOOLKIT_OSX_COCOA@ = $(__render_app_Contents_PkgInfo___depname) | |
116 | @COND_TOOLKIT_OSX_IPHONE@____render_BUNDLE_TGT_REF_DEP \ | |
117 | @COND_TOOLKIT_OSX_IPHONE@ = $(__render_app_Contents_PkgInfo___depname) | |
118 | @COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \ | |
119 | @COND_TOOLKIT_COCOA@ $(__render_app_Contents_PkgInfo___depname) | |
120 | COND_SHARED_1___renddll___depname = \ | |
121 | $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) | |
122 | @COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname) | |
123 | @COND_SHARED_1@__install_renddll___depname = install_renddll | |
124 | @COND_SHARED_1@__uninstall_renddll___depname = uninstall_renddll | |
125 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
126 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 | |
127 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
128 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
129 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
130 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
131 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
132 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
133 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
134 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
135 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
136 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
137 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
138 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
139 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ | |
140 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
141 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
142 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
143 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
144 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
145 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
146 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
147 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
148 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ | |
149 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
150 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
151 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
152 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) | |
153 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
154 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
155 | ||
156 | ### Targets: ### | |
157 | ||
158 | all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname) | |
159 | ||
160 | install: $(__install_renddll___depname) | |
161 | ||
162 | uninstall: $(__uninstall_renddll___depname) | |
163 | ||
164 | install-strip: install | |
165 | $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) | |
166 | ||
167 | clean: | |
168 | rm -rf ./.deps ./.pch | |
169 | rm -f ./*.o | |
170 | rm -f render$(EXEEXT) | |
171 | rm -rf render.app | |
172 | rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) | |
173 | ||
174 | distclean: clean | |
175 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
176 | ||
177 | render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc) | |
178 | $(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) | |
179 | ||
180 | $(__render___mac_setfilecmd) | |
181 | $(__render___os2_emxbindcmd) | |
182 | ||
183 | @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 | |
184 | @COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents | |
185 | @COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/MacOS | |
186 | @COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/Resources | |
187 | @COND_PLATFORM_MACOSX_1@ | |
188 | @COND_PLATFORM_MACOSX_1@ | |
189 | @COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
190 | @COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/render/" \ | |
191 | @COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
192 | @COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >render.app/Contents/Info.plist | |
193 | @COND_PLATFORM_MACOSX_1@ | |
194 | @COND_PLATFORM_MACOSX_1@ | |
195 | @COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >render.app/Contents/PkgInfo | |
196 | @COND_PLATFORM_MACOSX_1@ | |
197 | @COND_PLATFORM_MACOSX_1@ | |
198 | @COND_PLATFORM_MACOSX_1@ ln -f render$(EXEEXT) render.app/Contents/MacOS/render | |
199 | @COND_PLATFORM_MACOSX_1@ | |
200 | @COND_PLATFORM_MACOSX_1@ | |
201 | @COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns | |
202 | ||
203 | @COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP) | |
204 | ||
205 | @COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS) | |
206 | @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) | |
207 | ||
208 | @COND_SHARED_1@install_renddll: $(__renddll___depname) | |
209 | @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR) | |
210 | @COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR) | |
211 | ||
212 | @COND_SHARED_1@uninstall_renddll: | |
213 | @COND_SHARED_1@ rm -f $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) | |
214 | ||
215 | render_sample_rc.o: $(srcdir)/../../samples/sample.rc | |
216 | $(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 | |
217 | ||
218 | render_render.o: $(srcdir)/render.cpp | |
219 | $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $(srcdir)/render.cpp | |
220 | ||
221 | renddll_renddll.o: $(srcdir)/renddll.cpp | |
222 | $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $(srcdir)/renddll.cpp | |
223 | ||
224 | ||
225 | # Include dependency info, if present: | |
226 | @IF_GNU_MAKE@-include ./.deps/*.d | |
227 | ||
228 | .PHONY: all install uninstall clean distclean render_bundle install_renddll \ | |
229 | uninstall_renddll |