]> git.saurik.com Git - wxWidgets.git/blame - samples/render/Makefile.in
Update files.bkl to match the changes Stefan made to Makefile.in earlier, to update...
[wxWidgets.git] / samples / render / Makefile.in
CommitLineData
9c743a7c
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (http://www.bakefile.org)
9c743a7c
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
6e0fbb3d 12datarootdir = @datarootdir@
9c743a7c 13INSTALL = @INSTALL@
b17c1746
DE
14SHARED_LD_MODULE_CXX = @SHARED_LD_MODULE_CXX@
15SO_SUFFIX_MODULE = @SO_SUFFIX_MODULE@
16EXEEXT = @EXEEXT@
8ced02f6
DE
17WINDRES = @WINDRES@
18REZ = @REZ@
b17c1746
DE
19SETFILE = @SETFILE@
20PIC_FLAG = @PIC_FLAG@
078c7a59 21STRIP = @STRIP@
b17c1746 22NM = @NM@
078c7a59
VS
23INSTALL_PROGRAM = @INSTALL_PROGRAM@
24INSTALL_DIR = @INSTALL_DIR@
69199aad 25BK_DEPS = @BK_DEPS@
b17c1746
DE
26srcdir = @srcdir@
27top_srcdir = @top_srcdir@
078c7a59 28libdir = @libdir@
b17c1746 29DLLPREFIX_MODULE = @DLLPREFIX_MODULE@
69199aad 30LIBS = @LIBS@
b17c1746 31LDFLAGS_GUI = @LDFLAGS_GUI@
9c743a7c
VS
32CXX = @CXX@
33CXXFLAGS = @CXXFLAGS@
b17c1746
DE
34CPPFLAGS = @CPPFLAGS@
35LDFLAGS = @LDFLAGS@
589e20d0 36WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
37TOOLKIT = @TOOLKIT@
38TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
39TOOLKIT_VERSION = @TOOLKIT_VERSION@
8ced02f6 40TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
9c743a7c
VS
41EXTRALIBS = @EXTRALIBS@
42EXTRALIBS_GUI = @EXTRALIBS_GUI@
444833b3 43CXXWARNINGS = @CXXWARNINGS@
9c743a7c 44HOST_SUFFIX = @HOST_SUFFIX@
9c743a7c 45SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 46SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
69199aad 47wx_top_builddir = @wx_top_builddir@
9c743a7c
VS
48
49### Variables: ###
50
b71531ad 51DESTDIR =
ae4ccf12
RD
52WX_RELEASE = 2.9
53WX_RELEASE_NODOT = 29
25bb1412 54WX_VERSION = $(WX_RELEASE).0
ae4ccf12 55WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
69199aad 56LIBDIRNAME = $(wx_top_builddir)/lib
078c7a59 57PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
8c9f8f91
JS
58RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
59 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
444833b3
CE
60 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
61 $(CPPFLAGS) $(CXXFLAGS)
9c743a7c
VS
62RENDER_OBJECTS = \
63 $(__render___win32rc) \
a4ad36cd 64 $(__render_os2_lib_res) \
9c743a7c 65 render_render.o
8c9f8f91
JS
66RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
67 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
444833b3 68 -DWXUSINGDLL $(PIC_FLAG) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
b17c1746
DE
69RENDDLL_OBJECTS = \
70 renddll_renddll.o
9c743a7c
VS
71
72### Conditionally set variables: ###
73
b328fad3 74@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69199aad 75@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
9c743a7c
VS
76@COND_USE_GUI_0@PORTNAME = base
77@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
78@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
2c02ec05 79@COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
9c743a7c
VS
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
0e3165d7
DE
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 =
ae4ccf12
RD
88@COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = $(WX_VERSION_NODOT)
89@COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = $(WX_VERSION)
078c7a59
VS
90@COND_PLATFORM_UNIX_0@PLUGVERDELIM =
91@COND_PLATFORM_UNIX_1@PLUGVERDELIM = -
92@COND_BUILD_RELEASE_UNICODE_0@PLUGINSUFFIX =
314a6446
VS
93@COND_BUILD_DEBUG_UNICODE_0@PLUGINSUFFIX = d
94@COND_BUILD_RELEASE_UNICODE_1@PLUGINSUFFIX = u
95@COND_BUILD_DEBUG_UNICODE_1@PLUGINSUFFIX = ud
6e0fbb3d 96@COND_PLATFORM_MAC_0@__render___mac_setfilecmd = @true
b17c1746
DE
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__
8c9f8f91
JS
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
9c743a7c
VS
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
b17c1746
DE
111COND_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)
8ced02f6
DE
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)
b17c1746
DE
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
e8352927
VS
121@COND_PLATFORM_MACOSX_1@__render_app_Contents_PkgInfo___depname \
122@COND_PLATFORM_MACOSX_1@ = render.app/Contents/PkgInfo
b17c1746 123@COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
c4839ccf 124@COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \
e8352927 125@COND_TOOLKIT_COCOA@ $(__render_app_Contents_PkgInfo___depname)
c4839ccf 126@COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \
e8352927 127@COND_TOOLKIT_MAC@ $(__render_app_Contents_PkgInfo___depname)
b17c1746 128COND_SHARED_1___renddll___depname = \
078c7a59 129 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
b17c1746 130@COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
078c7a59 131@COND_SHARED_1@__install_renddll___depname = install_renddll
69199aad 132@COND_SHARED_1@__uninstall_renddll___depname = uninstall_renddll
8ced02f6 133COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
134 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
135 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
8ced02f6
DE
136 $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
137 render$(EXEEXT) Carbon.r sample.r
9c743a7c 138@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
b17c1746 139@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
8c9f8f91
JS
140@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
141@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
142@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
9c743a7c 143COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 144 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
9c743a7c 145@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 146COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 147 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 148@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
9c743a7c 149COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 150 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9c743a7c 151@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
b17c1746
DE
152@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
153@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 154@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
155@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
156@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 157@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
158@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
159@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 160@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 161@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 162@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
163COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
164 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
165@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 166@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 167@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9c743a7c
VS
168
169### Targets: ###
170
b328fad3 171all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
9c743a7c 172
078c7a59 173install: all $(__install_renddll___depname)
b17c1746 174
69199aad 175uninstall: $(__uninstall_renddll___depname)
b17c1746
DE
176
177install-strip: install
078c7a59 178 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
b17c1746 179
9c743a7c 180clean:
ab892b95 181 rm -rf ./.deps ./.pch
9c743a7c 182 rm -f ./*.o
b328fad3 183 rm -f render$(EXEEXT)
ab892b95 184 rm -rf render.app
078c7a59 185 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
9c743a7c
VS
186
187distclean: clean
b14abf14 188 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
9c743a7c 189
b328fad3 190render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
7379e476 191 $(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)
9c743a7c
VS
192 $(__render___mac_rezcmd)
193 $(__render___mac_setfilecmd)
ec08d395 194 $(__render___os2_emxbindcmd)
ab892b95
VS
195 $(SAMPLES_RPATH_POSTLINK)
196
2383c21c 197@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
e8352927
VS
198@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents
199@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/MacOS
200@COND_PLATFORM_MACOSX_1@ mkdir -p render.app/Contents/Resources
201@COND_PLATFORM_MACOSX_1@
202@COND_PLATFORM_MACOSX_1@
203@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
204@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/render/" \
205@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
2383c21c 206@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >render.app/Contents/Info.plist
e8352927
VS
207@COND_PLATFORM_MACOSX_1@
208@COND_PLATFORM_MACOSX_1@
209@COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >render.app/Contents/PkgInfo
210@COND_PLATFORM_MACOSX_1@
211@COND_PLATFORM_MACOSX_1@
212@COND_PLATFORM_MACOSX_1@ ln -f render$(EXEEXT) render.app/Contents/MacOS/render
213@COND_PLATFORM_MACOSX_1@
214@COND_PLATFORM_MACOSX_1@
2383c21c 215@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
ab892b95 216
c4839ccf 217@COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP)
9c743a7c 218
078c7a59 219@COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
7379e476 220@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)
9c743a7c 221
078c7a59
VS
222@COND_SHARED_1@install_renddll:
223@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
224@COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
225
69199aad
VZ
226@COND_SHARED_1@uninstall_renddll:
227@COND_SHARED_1@ rm -f $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
228
9c743a7c 229render_sample_rc.o: $(srcdir)/../../samples/sample.rc
444833b3 230 $(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
9c743a7c 231
b17c1746 232render_render.o: $(srcdir)/render.cpp
b14abf14 233 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $(srcdir)/render.cpp
b17c1746
DE
234
235renddll_renddll.o: $(srcdir)/renddll.cpp
b14abf14 236 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $(srcdir)/renddll.cpp
9c743a7c
VS
237
238
239# Include dependency info, if present:
240@IF_GNU_MAKE@-include .deps/*.d
241
69199aad 242.PHONY: all install uninstall clean distclean render_bundle install_renddll uninstall_renddll