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 # =========================================================================
11 INSTALL_DIR = @INSTALL_DIR@
13 wxUSE_ZLIB = @wxUSE_ZLIB@
14 MONOLITHIC = @MONOLITHIC@
15 SONAME_FLAG = @SONAME_FLAG@
21 PLATFORM_MAC = @PLATFORM_MAC@
22 USE_SOVERSION = @USE_SOVERSION@
23 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
24 INSTALL_PROGRAM = @INSTALL_PROGRAM@
25 wxUSE_LIBPNG = @wxUSE_LIBPNG@
26 wxUSE_LIBTIFF = @wxUSE_LIBTIFF@
27 exec_prefix = @exec_prefix@
30 EXTRALIBS = @EXTRALIBS@
33 PLATFORM_MSDOS = @PLATFORM_MSDOS@
37 USE_SOVERSOLARIS = @USE_SOVERSOLARIS@
39 wxUSE_ODBC = @wxUSE_ODBC@
40 wxUSE_REGEX = @wxUSE_REGEX@
43 USE_SOSYMLINKS = @USE_SOSYMLINKS@
44 wxUSE_LIBJPEG = @wxUSE_LIBJPEG@
45 INSTALL_DATA = @INSTALL_DATA@
47 PLATFORM_UNIX = @PLATFORM_UNIX@
49 SO_SUFFIX = @SO_SUFFIX@
50 top_srcdir = @top_srcdir@
53 PLATFORM_WIN32 = @PLATFORM_WIN32@
54 USE_MACVERSION = @USE_MACVERSION@
55 PLATFORM_MACOSX = @PLATFORM_MACOSX@
56 DEPS_TRACKING = @DEPS_TRACKING@
57 TOOLKIT_VERSION = @TOOLKIT_VERSION@
59 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
61 SHARED_LD_CXX = @SHARED_LD_CXX@
62 includedir = @includedir@
65 DLLPREFIX = @DLLPREFIX@
67 USE_SOVERLINUX = @USE_SOVERLINUX@
68 top_builddir = @top_builddir@
69 SHARED_LD_CC = @SHARED_LD_CC@
71 ### Conditionally set variables: ###
73 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = -lwxzlib
74 @COND_UNICODE_1@WXUNICODEFLAG = u
75 @COND_BUILD_DEBUG@WXDEBUGFLAG = d
76 @COND_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p = -lwxjpeg
77 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
78 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
79 @COND_PLATFORM_WIN32_1@__image___win32rc = image_rc.o
80 @COND_WXUSE_LIBPNG_BUILTIN@LIB_PNG = wxpng
81 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = -lwxodbc
82 @COND_MONOLITHIC_0@__WXLIB_CORE_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5
83 @COND_WXUNIV_1@WXUNIVNAME = univ
84 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
85 @COND_WXUSE_ODBC_BUILTIN@LIB_ODBC = wxodbc
86 @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc
87 @COND_WXUSE_ZLIB_BUILTIN@LIB_ZLIB = wxzlib
88 @COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC)
89 @COND_DEPS_TRACKING_0@CCC = $(CC)
90 @COND_TOOLKIT_MAC@MACOSX_RESOURCES = Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r
91 @COND_MONOLITHIC_0@WXLIB_HTML = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5
92 @COND_PLATFORM_WIN32_1@DLLIMPEXT = .a
93 @COND_PLATFORM_WIN32_0@DLLIMPEXT = .$(SO_SUFFIX)
94 @COND_WXUNIV_1@WXUNIV_DEFINE = __WXUNIVERSAL__
95 @COND_MONOLITHIC_1@WXLIB_MONO = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
96 @COND_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p = -lwxpng
97 @COND_MONOLITHIC_0@WXLIB_BASE = wx$(WXUNICODEFLAG)$(WXDEBUGFLAG)_base-2.5
98 @COND_WXUSE_LIBJPEG_BUILTIN@LIB_JPEG = wxjpeg
99 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
100 @COND_PLATFORM_MAC_1@__image___mac_setfilecmd = $(SETFILE) -a C image$(EXEEXT)
101 @COND_MONOLITHIC_1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
102 @COND_MONOLITHIC_0@WXLIB_CORE = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5
103 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
104 @COND_WXUSE_LIBTIFF_BUILTIN@LIB_TIFF = wxtiff
105 @COND_USE_GUI_0@PORTNAME = base
106 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
107 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p = $(RESCOMP) -d __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir)/../../include -i $(srcdir) -o image$(EXEEXT) Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r
108 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = -lwxregex
109 @COND_WXUSE_REGEX_BUILTIN@LIB_REGEX = wxregex
110 @COND_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p = -lwxtiff
111 @COND_PLATFORM_MAC_1@__image___mac_rezcmd = $(__MACOSX_RESOURCES_p)
115 all: image$(EXEEXT) data
117 install-strip: install
120 rm -f ./*.o ./.deps/*
122 rm -f ./horse.png ./horse.jpg ./horse.bmp ./horse.gif ./horse.pcx ./horse.pnm ./horse.tif ./horse.xpm ./horse.cur ./horse.ico ./horse3.ani ./smile.xbm
126 image.o: $(srcdir)/image.cpp
127 $(CXXC) -c -o $@ $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir)/../../include -I$(srcdir) $(CXXFLAGS) $<
129 image_rc.o: $(srcdir)/image.rc
130 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir)/../../include --include-dir $(srcdir)
133 rm -f configure config.cache config.log config.status
134 rm -f bk-deps shared-ld-sh
138 @for f in horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse.tif horse.xpm horse.cur horse.ico horse3.ani smile.xbm; do \
139 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
140 cp -pRf $(srcdir)/$$f . ; \
144 image$(EXEEXT): image.o $(__image___win32rc)
145 $(CXX) -o $@ image.o $(__image___win32rc) -L$(top_builddir)lib $(__WXLIB_MONO_p) $(SAMPLES_RPATH_FLAG) $(__WXLIB_CORE_p) $(EXTRALIBS) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_TIFF_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p)
146 $(__image___mac_rezcmd)
147 $(__image___mac_setfilecmd)
152 # Include dependency info, if present:
153 @IF_GNU_MAKE@-include .deps/*.d