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