]> git.saurik.com Git - wxWidgets.git/blob - samples/render/Makefile.in
use wxUSE_DATEPICKCTRL
[wxWidgets.git] / samples / render / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 RESCOMP = @RESCOMP@
17 SETFILE = @SETFILE@
18 PIC_FLAG = @PIC_FLAG@
19 STRIP = @STRIP@
20 NM = @NM@
21 INSTALL_PROGRAM = @INSTALL_PROGRAM@
22 INSTALL_DIR = @INSTALL_DIR@
23 srcdir = @srcdir@
24 top_srcdir = @top_srcdir@
25 top_builddir = @top_builddir@
26 libdir = @libdir@
27 DLLPREFIX_MODULE = @DLLPREFIX_MODULE@
28 LDFLAGS_GUI = @LDFLAGS_GUI@
29 CXX = @CXX@
30 CXXFLAGS = @CXXFLAGS@
31 CPPFLAGS = @CPPFLAGS@
32 LDFLAGS = @LDFLAGS@
33 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
34 TOOLKIT = @TOOLKIT@
35 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
36 TOOLKIT_VERSION = @TOOLKIT_VERSION@
37 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
38 EXTRALIBS = @EXTRALIBS@
39 EXTRALIBS_GUI = @EXTRALIBS_GUI@
40 HOST_SUFFIX = @HOST_SUFFIX@
41 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
42 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
43
44 ### Variables: ###
45
46 DESTDIR =
47 WX_RELEASE = 2.5
48 WX_RELEASE_NODOT = 25
49 WX_VERSION = $(WX_RELEASE).3
50 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
51 LIBDIRNAME = $(top_builddir)lib
52 PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
53 RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
54 $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
55 RENDER_OBJECTS = \
56 $(__render___win32rc) \
57 $(__render_os2_lib_res) \
58 render_render.o
59 RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -DWXUSINGDLL \
60 $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
61 RENDDLL_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_VERSION_NODOT)
81 @COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = $(WX_VERSION)
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_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
94 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
95 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
96 COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \
97 -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi
98 @COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd)
99 @COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o
100 @COND_PLATFORM_OS2_1@__render_os2_lib_res = \
101 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
102 @COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
103 @COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \
104 @COND_TOOLKIT_COCOA@ render.app/Contents/PkgInfo
105 @COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \
106 @COND_TOOLKIT_MAC@ render.app/Contents/PkgInfo
107 COND_SHARED_1___renddll___depname = \
108 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
109 @COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
110 @COND_SHARED_1@__install_renddll___depname = install_renddll
111 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
112 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
113 $(srcdir)/../../samples -i $(top_srcdir)/include -o render$(EXEEXT) Carbon.r \
114 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
115 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
116 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
117 COND_MONOLITHIC_0___WXLIB_CORE_p = \
118 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
119 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
120 COND_MONOLITHIC_0___WXLIB_BASE_p = \
121 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
122 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
123 COND_MONOLITHIC_1___WXLIB_MONO_p = \
124 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
125 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
126 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
127 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
128 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
129 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
130 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
131 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
132 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
133 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
134 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
135 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
136 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
137 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
138 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
139 COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
140 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
141 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
142 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
143 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
144
145 ### Targets: ###
146
147 all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
148
149 install: all $(__install_renddll___depname)
150
151 uninstall:
152
153 install-strip: install
154 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
155
156 clean:
157 rm -rf ./.deps ./.pch
158 rm -f ./*.o
159 rm -f render$(EXEEXT)
160 rm -rf render.app
161 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
162
163 distclean: clean
164 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
165
166 render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
167 $(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)
168 $(__render___mac_rezcmd)
169 $(__render___mac_setfilecmd)
170 $(__render___os2_emxbindcmd)
171 $(SAMPLES_RPATH_POSTLINK)
172
173 render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
174 mkdir -p render.app/Contents
175 mkdir -p render.app/Contents/MacOS
176 mkdir -p render.app/Contents/Resources
177
178
179 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
180 -e "s/EXECUTABLE/render/" \
181 -e "s/VERSION/$(WX_VERSION)/" \
182 $(top_srcdir)/src/mac/carbon/Info.plist.in >render.app/Contents/Info.plist
183
184
185 echo -n "APPL????" >render.app/Contents/PkgInfo
186
187
188 ln -f render$(EXEEXT) render.app/Contents/MacOS/render
189
190
191 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc render.app/Contents/Resources/render.rsrc
192 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
193
194 @COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP)
195
196 @COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
197 @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)
198
199 @COND_SHARED_1@install_renddll:
200 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
201 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
202
203 render_sample_rc.o: $(srcdir)/../../samples/sample.rc
204 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
205
206 render_render.o: $(srcdir)/render.cpp
207 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $<
208
209 renddll_renddll.o: $(srcdir)/renddll.cpp
210 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $<
211
212
213 # Include dependency info, if present:
214 @IF_GNU_MAKE@-include .deps/*.d
215
216 .PHONY: all install uninstall clean distclean render_bundle install_renddll