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