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