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