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