]> git.saurik.com Git - wxWidgets.git/blame - samples/render/Makefile.in
fixed missing CPPUNIT_LIBS,CFLAGS in dmars makefiles
[wxWidgets.git] / samples / render / Makefile.in
CommitLineData
9c743a7c
VS
1# =========================================================================
2# This makefile was generated by
3fd9c298 3# Bakefile 0.1.4 (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@
33TOOLKIT = @TOOLKIT@
34TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
35TOOLKIT_VERSION = @TOOLKIT_VERSION@
36TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
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 =
b17c1746 46WX_VERSION = 2.5.1
9c743a7c 47LIBDIRNAME = $(top_builddir)lib
078c7a59 48PLUGINS_INST_DIR = $(libdir)/wx/$(PLUGIN_VERSION0)
9bfe7ad9
VS
49RENDER_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
50 $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
9c743a7c
VS
51RENDER_OBJECTS = \
52 $(__render___win32rc) \
a4ad36cd 53 $(__render_os2_lib_res) \
9c743a7c 54 render_render.o
b17c1746
DE
55RENDDLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -DWXUSINGDLL \
56 $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
57RENDDLL_OBJECTS = \
58 renddll_renddll.o
9c743a7c
VS
59
60### Conditionally set variables: ###
61
b328fad3
VS
62@COND_DEPS_TRACKING_0@CXXC = $(CXX)
63@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
9c743a7c
VS
64@COND_USE_GUI_0@PORTNAME = base
65@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
66@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
2c02ec05 67@COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
9c743a7c
VS
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
078c7a59
VS
72@COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = 251
73@COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = 2.5.1
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
b17c1746
DE
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__
9c743a7c
VS
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
b17c1746
DE
88COND_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
95COND_SHARED_1___renddll___depname = \
078c7a59 96 $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
b17c1746 97@COND_SHARED_1@__renddll___depname = $(COND_SHARED_1___renddll___depname)
078c7a59 98@COND_SHARED_1@__install_renddll___depname = install_renddll
9c743a7c 99COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
9bfe7ad9 100 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 101 $(srcdir)/../../samples -i $(top_srcdir)/include -o render$(EXEEXT) Carbon.r \
ec08d395 102 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
9c743a7c 103@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
b17c1746 104@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
9c743a7c
VS
105COND_MONOLITHIC_0___WXLIB_CORE_p = \
106 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
107@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
b17c1746
DE
108@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
109@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
9c743a7c
VS
110COND_MONOLITHIC_1___WXLIB_MONO_p = \
111 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
112@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
b17c1746
DE
113@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
114@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
115@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
116@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
117@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
118@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
119@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
120@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
121@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
122@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
123@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
124@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
125@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
126@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
b92ca8cf 127@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
b17c1746
DE
128@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
129@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
9c743a7c
VS
130
131### Targets: ###
132
b328fad3 133all: render$(EXEEXT) $(__render_bundle___depname) $(__renddll___depname)
9c743a7c 134
078c7a59 135install: all $(__install_renddll___depname)
b17c1746
DE
136
137uninstall:
138
139install-strip: install
078c7a59 140 $(STRIP) $(DESTDIR)$(PLUGINS_INST_DIR)/$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
b17c1746 141
9c743a7c 142clean:
ab892b95 143 rm -rf ./.deps ./.pch
9c743a7c 144 rm -f ./*.o
b328fad3 145 rm -f render$(EXEEXT)
ab892b95 146 rm -rf render.app
078c7a59 147 rm -f $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
9c743a7c
VS
148
149distclean: clean
ab892b95 150 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
9c743a7c 151
b328fad3 152render$(EXEEXT): $(RENDER_OBJECTS) $(__render___win32rc)
ec08d395 153 $(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
154 $(__render___mac_rezcmd)
155 $(__render___mac_setfilecmd)
ec08d395 156 $(__render___os2_emxbindcmd)
ab892b95
VS
157 $(SAMPLES_RPATH_POSTLINK)
158
3fd9c298 159render.app/Contents/PkgInfo: render$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
160 mkdir -p render.app/Contents
161 mkdir -p render.app/Contents/MacOS
162 mkdir -p render.app/Contents/Resources
163
164
165 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
166 -e "s/EXECUTABLE/render/" \
2c02ec05 167 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 168 $(top_srcdir)/src/mac/carbon/Info.plist.in >render.app/Contents/Info.plist
ab892b95
VS
169
170
171 echo -n "APPL????" >render.app/Contents/PkgInfo
172
173
b328fad3 174 ln -f render$(EXEEXT) render.app/Contents/MacOS/render
ab892b95
VS
175
176
a4ad36cd 177 ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc render.app/Contents/Resources/render.rsrc
3fd9c298 178 ln -sf $(top_srcdir)/src/mac/carbon/wxmac.icns render.app/Contents/Resources/wxmac.icns
ab892b95 179
1c3a6972 180@COND_PLATFORM_MACOSX_1@render_bundle: render.app/Contents/PkgInfo
9c743a7c 181
078c7a59 182@COND_SHARED_1@$(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE): $(RENDDLL_OBJECTS)
b17c1746 183@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 184
078c7a59
VS
185@COND_SHARED_1@install_renddll:
186@COND_SHARED_1@ $(INSTALL_DIR) $(DESTDIR)$(PLUGINS_INST_DIR)
187@COND_SHARED_1@ $(INSTALL_PROGRAM) $(DLLPREFIX_MODULE)renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE) $(DESTDIR)$(PLUGINS_INST_DIR)
188
9c743a7c 189render_sample_rc.o: $(srcdir)/../../samples/sample.rc
c3255f5f 190 $(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
9c743a7c 191
b17c1746
DE
192render_render.o: $(srcdir)/render.cpp
193 $(CXXC) -c -o $@ $(RENDER_CXXFLAGS) $<
194
195renddll_renddll.o: $(srcdir)/renddll.cpp
196 $(CXXC) -c -o $@ $(RENDDLL_CXXFLAGS) $<
9c743a7c
VS
197
198
199# Include dependency info, if present:
200@IF_GNU_MAKE@-include .deps/*.d
201
078c7a59 202.PHONY: all install uninstall clean distclean render_bundle install_renddll