]> git.saurik.com Git - wxWidgets.git/blame - samples/render/Makefile.in
reversed change
[wxWidgets.git] / samples / render / Makefile.in
CommitLineData
9c743a7c
VS
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
b328fad3
VS
16DLLPREFIX_MODULE = @DLLPREFIX_MODULE@
17EXEEXT = @EXEEXT@
9c743a7c
VS
18EXTRALIBS = @EXTRALIBS@
19EXTRALIBS_GUI = @EXTRALIBS_GUI@
20HOST_SUFFIX = @HOST_SUFFIX@
21LDFLAGS = @LDFLAGS@
22LDFLAGS_GUI = @LDFLAGS_GUI@
ec08d395 23NM = @NM@
9c743a7c
VS
24PIC_FLAG = @PIC_FLAG@
25RESCOMP = @RESCOMP@
26SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 27SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
9c743a7c
VS
28SETFILE = @SETFILE@
29SHARED_LD_MODULE_CXX = @SHARED_LD_MODULE_CXX@
30SO_SUFFIX_MODULE = @SO_SUFFIX_MODULE@
31TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
32TOOLKIT = @TOOLKIT@
33TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
34TOOLKIT_VERSION = @TOOLKIT_VERSION@
35srcdir = @srcdir@
36top_builddir = @top_builddir@
37top_srcdir = @top_srcdir@
38
39### Variables: ###
40
b71531ad 41DESTDIR =
9c743a7c 42LIBDIRNAME = $(top_builddir)lib
e1a098d1
VS
43RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 -I$(top_srcdir)/include -DWXUSINGDLL $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
9c743a7c
VS
45RENDDLL_OBJECTS = \
46 renddll_renddll.o
e1a098d1 47RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7 48 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
e1a098d1 49 -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
9c743a7c
VS
50RENDER_OBJECTS = \
51 $(__render___win32rc) \
a4ad36cd 52 $(__render_os2_lib_res) \
9c743a7c 53 render_render.o
ec08d395 54WX_VERSION = 2.5.1
9c743a7c
VS
55
56### Conditionally set variables: ###
57
b328fad3
VS
58@COND_DEPS_TRACKING_0@CXXC = $(CXX)
59@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
ec08d395
JS
60@COND_PLATFORM_UNIX_0@PLUGIN_VERSION = 251
61@COND_PLATFORM_UNIX_1@PLUGIN_VERSION = -2.5.1
9c743a7c
VS
62@COND_USE_GUI_0@PORTNAME = base
63@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
64@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
2c02ec05 65@COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
9c743a7c
VS
66@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
67@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
68@COND_UNICODE_1@WXUNICODEFLAG = u
69@COND_WXUNIV_1@WXUNIVNAME = univ
70@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
71@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
72@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
9c743a7c
VS
73@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
74@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
75@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
76@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
77@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
78@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
79@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
80@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
81@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
82@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
83@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
84@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
85@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
86@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
87@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
88@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
89@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
90COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 91 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
b328fad3 92 $(__DLLFLAG_p_1) -i $(srcdir)/../../samples -o render$(EXEEXT) Carbon.r \
ec08d395 93 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
9c743a7c
VS
94@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
95@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
96@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
97COND_MONOLITHIC_0___WXLIB_CORE_p = \
98 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
99@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
100COND_MONOLITHIC_1___WXLIB_MONO_p = \
101 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
102@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
103@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
104@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
105@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
106COND_SHARED_1___renddll___depname = \
b328fad3 107 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGIN_VERSION)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
9c743a7c
VS
108@COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
109@COND_PLATFORM_MAC_1@__render___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
b328fad3
VS
110@COND_PLATFORM_MAC_1@__render___mac_setfilecmd = \
111@COND_PLATFORM_MAC_1@ $(SETFILE) -a C render$(EXEEXT)
ec08d395
JS
112COND_PLATFORM_OS2_1___render___os2_emxbindcmd = $(NM) render$(EXEEXT) | if grep \
113 -q pmwin.763 ; then emxbind -ep render$(EXEEXT) ; fi
114@COND_PLATFORM_OS2_1@__render___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___render___os2_emxbindcmd)
9c743a7c 115@COND_PLATFORM_WIN32_1@__render___win32rc = render_sample_rc.o
ab892b95 116@COND_PLATFORM_MACOSX_1@__render_bundle___depname = render_bundle
a4ad36cd
VS
117@COND_PLATFORM_OS2_1@__render_os2_lib_res = \
118@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
9c743a7c
VS
119
120### Targets: ###
121
b328fad3 122all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
9c743a7c
VS
123
124clean:
ab892b95 125 rm -rf ./.deps ./.pch
9c743a7c 126 rm -f ./*.o
b328fad3 127 rm -f render$(EXEEXT)
ab892b95 128 rm -rf render.app
b328fad3 129 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGIN_VERSION)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
9c743a7c
VS
130
131distclean: clean
ab892b95 132 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
9c743a7c
VS
133
134install: all
135
136install-strip: install
137
b328fad3 138@COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(PLUGIN_VERSION)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
ec08d395 139@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)
9c743a7c
VS
140
141renddll_renddll.o: $(srcdir)/renddll.cpp
b328fad3 142 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $<
9c743a7c 143
b328fad3 144render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
ec08d395 145 $(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)
9c743a7c
VS
146 $(__render___mac_rezcmd)
147 $(__render___mac_setfilecmd)
ec08d395 148 $(__render___os2_emxbindcmd)
ab892b95
VS
149 $(SAMPLES_RPATH_POSTLINK)
150
ec08d395 151render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
ab892b95
VS
152 mkdir -p render.app/Contents
153 mkdir -p render.app/Contents/MacOS
154 mkdir -p render.app/Contents/Resources
155
156
157 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
158 -e "s/EXECUTABLE/render/" \
2c02ec05 159 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
160 $(top_srcdir)/src/mac/Info.plist.in >render.app/Contents/Info.plist
161
162
163 echo -n "APPL????" >render.app/Contents/PkgInfo
164
165
b328fad3 166 ln -f render$(EXEEXT) render.app/Contents/MacOS/render
ab892b95
VS
167
168
a4ad36cd
VS
169 ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc render.app/Contents/Resources/render.rsrc
170 ln -sf $(top_srcdir)/src/mac/wxmac.icns render.app/Contents/Resources/wxmac.icns
ab892b95 171
1c3a6972 172@COND_PLATFORM_MACOSX_1@render_bundle: render.app/Contents/PkgInfo
9c743a7c
VS
173
174render_render.o: $(srcdir)/render.cpp
b328fad3 175 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $<
9c743a7c
VS
176
177render_sample_rc.o: $(srcdir)/../../samples/sample.rc
ec08d395 178 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples
9c743a7c
VS
179
180uninstall:
181
182
183# Include dependency info, if present:
184@IF_GNU_MAKE@-include .deps/*.d
185
ab892b95 186.PHONY: all clean distclean install render_bundle uninstall