]> git.saurik.com Git - wxWidgets.git/blob - samples/render/Makefile.in
remove sole makefile.dmc in tree
[wxWidgets.git] / samples / render / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (http://bakefile.sourceforge.net)
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@
13 SHARED_LD_MODULE_CXX = @SHARED_LD_MODULE_CXX@
14 SO_SUFFIX_MODULE = @SO_SUFFIX_MODULE@
15 EXEEXT = @EXEEXT@
16 WINDRES = @WINDRES@
17 REZ = @REZ@
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 HOST_SUFFIX = @HOST_SUFFIX@
43 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
44 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
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).0
53 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
54 LIBDIRNAME = $(wx_top_builddir)/lib
55 PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
56 RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
57 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
58 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
59 RENDER_OBJECTS = \
60 $(__render___win32rc) \
61 $(__render_os2_lib_res) \
62 render_render.o
63 RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
64 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
65 -DWXUSINGDLL $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
66 RENDDLL_OBJECTS = \
67 renddll_renddll.o
68
69 ### Conditionally set variables: ###
70
71 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
72 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
73 @COND_USE_GUI_0@PORTNAME = base
74 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
75 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
76 @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
77 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
78 @COND_DEBUG_FLAG_1@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_BUILD_RELEASE_UNICODE_0@PLUGINSUFFIX =
90 @COND_BUILD_DEBUG_UNICODE_0@PLUGINSUFFIX = d
91 @COND_BUILD_RELEASE_UNICODE_1@PLUGINSUFFIX = u
92 @COND_BUILD_DEBUG_UNICODE_1@PLUGINSUFFIX = ud
93 @COND_PLATFORM_MAC_1@__render___mac_setfilecmd = \
94 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C render$(EXEEXT)
95 @COND_PLATFORM_MAC_1@__render___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
96 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
97 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
98 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
99 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
100 @COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
101 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
102 @COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
103 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
104 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
105 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
106 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
107 COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \
108 -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi
109 @COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd)
110 @COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \
111 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
112 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
113 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
114 @COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o
115 @COND_PLATFORM_OS2_1@__render_os2_lib_res = \
116 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
117 @COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
118 @COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \
119 @COND_TOOLKIT_COCOA@ render.app/Contents/PkgInfo
120 @COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \
121 @COND_TOOLKIT_MAC@ render.app/Contents/PkgInfo
122 COND_SHARED_1___renddll___depname = \
123 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
124 @COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
125 @COND_SHARED_1@__install_renddll___depname = install_renddll
126 @COND_SHARED_1@__uninstall_renddll___depname = uninstall_renddll
127 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
128 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
129 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
130 $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
131 render$(EXEEXT) Carbon.r sample.r
132 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
133 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
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
137 COND_MONOLITHIC_0___WXLIB_CORE_p = \
138 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
139 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
140 COND_MONOLITHIC_0___WXLIB_BASE_p = \
141 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
142 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
143 COND_MONOLITHIC_1___WXLIB_MONO_p = \
144 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
145 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
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)
157 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
158 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
159 COND_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
167 all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
168
169 install: all $(__install_renddll___depname)
170
171 uninstall: $(__uninstall_renddll___depname)
172
173 install-strip: install
174 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
175
176 clean:
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)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
182
183 distclean: clean
184 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
185
186 render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
187 $(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_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
188 $(__render___mac_rezcmd)
189 $(__render___mac_setfilecmd)
190 $(__render___os2_emxbindcmd)
191 $(SAMPLES_RPATH_POSTLINK)
192
193 render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
194 mkdir -p render.app/Contents
195 mkdir -p render.app/Contents/MacOS
196 mkdir -p render.app/Contents/Resources
197
198
199 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
200 -e "s/EXECUTABLE/render/" \
201 -e "s/VERSION/$(WX_VERSION)/" \
202 $(top_srcdir)/src/mac/carbon/Info.plist.in >render.app/Contents/Info.plist
203
204
205 echo -n "APPL????" >render.app/Contents/PkgInfo
206
207
208 ln -f render$(EXEEXT) render.app/Contents/MacOS/render
209
210
211 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
212
213 @COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP)
214
215 @COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
216 @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_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
217
218 @COND_SHARED_1@install_renddll:
219 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
220 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
221
222 @COND_SHARED_1@uninstall_renddll:
223 @COND_SHARED_1@ rm -f $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
224
225 render_sample_rc.o: $(srcdir)/../../samples/sample.rc
226 $(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
227
228 render_render.o: $(srcdir)/render.cpp
229 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $(srcdir)/render.cpp
230
231 renddll_renddll.o: $(srcdir)/renddll.cpp
232 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $(srcdir)/renddll.cpp
233
234
235 # Include dependency info, if present:
236 @IF_GNU_MAKE@-include .deps/*.d
237
238 .PHONY: all install uninstall clean distclean render_bundle install_renddll uninstall_renddll