]> git.saurik.com Git - wxWidgets.git/blob - samples/render/Makefile.in
Fixed flat style for toolbars under XP, Windows Classic style
[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 TOOLKIT = @TOOLKIT@
34 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
35 TOOLKIT_VERSION = @TOOLKIT_VERSION@
36 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
37 EXTRALIBS = @EXTRALIBS@
38 EXTRALIBS_GUI = @EXTRALIBS_GUI@
39 HOST_SUFFIX = @HOST_SUFFIX@
40 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
41 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
42
43 ### Variables: ###
44
45 DESTDIR =
46 WX_VERSION = 2.5.2
47 LIBDIRNAME = $(top_builddir)lib
48 PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
49 RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
50 $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
51 RENDER_OBJECTS = \
52 $(__render___win32rc) \
53 $(__render_os2_lib_res) \
54 render_render.o
55 RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -DWXUSINGDLL \
56 $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
57 RENDDLL_OBJECTS = \
58 renddll_renddll.o
59
60 ### Conditionally set variables: ###
61
62 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
63 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
64 @COND_USE_GUI_0@PORTNAME = base
65 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
66 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
67 @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
68 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
69 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
70 @COND_UNICODE_1@WXUNICODEFLAG = u
71 @COND_WXUNIV_1@WXUNIVNAME = univ
72 @COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = 252
73 @COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = 2.5.2
74 @COND_PLATFORM_UNIX_0@PLUGVERDELIM =
75 @COND_PLATFORM_UNIX_1@PLUGVERDELIM = -
76 @COND_BUILD_RELEASE_UNICODE_0@PLUGINSUFFIX =
77 @COND_BUILD_DEBUG_UNICODE_0@PLUGINSUFFIX = _d
78 @COND_BUILD_RELEASE_UNICODE_1@PLUGINSUFFIX = _u
79 @COND_BUILD_DEBUG_UNICODE_1@PLUGINSUFFIX = _ud
80 @COND_PLATFORM_MAC_1@__render___mac_setfilecmd = \
81 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C render$(EXEEXT)
82 @COND_PLATFORM_MAC_1@__render___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
83 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
84 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
85 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
86 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
87 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
88 COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \
89 -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi
90 @COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd)
91 @COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o
92 @COND_PLATFORM_OS2_1@__render_os2_lib_res = \
93 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
94 @COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
95 @COND_TOOLKIT_COCOA@____render_BUNDLE_TGT_REF_DEP = \
96 @COND_TOOLKIT_COCOA@ render.app/Contents/PkgInfo
97 @COND_TOOLKIT_MAC@____render_BUNDLE_TGT_REF_DEP = \
98 @COND_TOOLKIT_MAC@ render.app/Contents/PkgInfo
99 COND_SHARED_1___renddll___depname = \
100 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
101 @COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
102 @COND_SHARED_1@__install_renddll___depname = install_renddll
103 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
104 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
105 $(srcdir)/../../samples -i $(top_srcdir)/include -o render$(EXEEXT) Carbon.r \
106 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r
107 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
108 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
109 COND_MONOLITHIC_0___WXLIB_CORE_p = \
110 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
111 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
112 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
113 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
114 COND_MONOLITHIC_1___WXLIB_MONO_p = \
115 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
116 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
117 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
118 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
119 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
120 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
121 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
122 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
123 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
124 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
125 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
126 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
127 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
128 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
129 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
130 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
131 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
132 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
133 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
134
135 ### Targets: ###
136
137 all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
138
139 install: all $(__install_renddll___depname)
140
141 uninstall:
142
143 install-strip: install
144 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
145
146 clean:
147 rm -rf ./.deps ./.pch
148 rm -f ./*.o
149 rm -f render$(EXEEXT)
150 rm -rf render.app
151 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
152
153 distclean: clean
154 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
155
156 render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
157 $(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) $(EXTRALIBS_GUI)
158 $(__render___mac_rezcmd)
159 $(__render___mac_setfilecmd)
160 $(__render___os2_emxbindcmd)
161 $(SAMPLES_RPATH_POSTLINK)
162
163 render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
164 mkdir -p render.app/Contents
165 mkdir -p render.app/Contents/MacOS
166 mkdir -p render.app/Contents/Resources
167
168
169 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
170 -e "s/EXECUTABLE/render/" \
171 -e "s/VERSION/$(WX_VERSION)/" \
172 $(top_srcdir)/src/mac/carbon/Info.plist.in >render.app/Contents/Info.plist
173
174
175 echo -n "APPL????" >render.app/Contents/PkgInfo
176
177
178 ln -f render$(EXEEXT) render.app/Contents/MacOS/render
179
180
181 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc render.app/Contents/Resources/render.rsrc
182 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
183
184 @COND_PLATFORM_MACOSX_1@render_bundle: $(____render_BUNDLE_TGT_REF_DEP)
185
186 @COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
187 @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) $(EXTRALIBS_GUI)
188
189 @COND_SHARED_1@install_renddll:
190 @COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
191 @COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
192
193 render_sample_rc.o: $(srcdir)/../../samples/sample.rc
194 $(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
195
196 render_render.o: $(srcdir)/render.cpp
197 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $<
198
199 renddll_renddll.o: $(srcdir)/renddll.cpp
200 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $<
201
202
203 # Include dependency info, if present:
204 @IF_GNU_MAKE@-include .deps/*.d
205
206 .PHONY: all install uninstall clean distclean render_bundle install_renddll