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