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