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 TOOLKIT_VERSION = @TOOLKIT_VERSION@
58 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
59 DEPS_TYPE = @DEPS_TYPE@
60 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_ZLIBBUILTIN@__LIB_ZLIB_p = -lwxzlib
74 @COND_UNICODE1@WXUNICODEFLAG = u
75 @COND_BUILDDEBUG@WXDEBUGFLAG = d
76 @COND_WXUSE_LIBJPEGBUILTIN@__LIB_JPEG_p = -lwxjpeg
77 @COND_PLATFORM_MAC1@__mfc___mac_rezcmd = $(__MACOSX_RESOURCES_p)
78 @COND_WXUSE_LIBPNGBUILTIN@LIB_PNG = wxpng
79 @COND_WXUSE_ODBCBUILTIN@__LIB_ODBC_p = -lwxodbc
80 @COND_MONOLITHIC0@__WXLIB_CORE_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5
81 @COND_WXUNIV1@WXUNIVNAME = univ
82 @COND_WXUNIV1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
83 @COND_PLATFORM_WIN321@WXCOMPILER = _gcc
84 @COND_WXUSE_ZLIBBUILTIN@LIB_ZLIB = wxzlib
85 @COND_PLATFORM_WIN321@__mfc___win32rc = mfc_rc.o
86 @COND_TOOLKITMAC@MACOSX_RESOURCES = Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r
87 @COND_WXUSE_LIBPNGBUILTIN@__LIB_PNG_p = -lwxpng
88 @COND_PLATFORM_WIN321@DLLIMPEXT = .a
89 @COND_PLATFORM_WIN320@DLLIMPEXT = .$(SO_SUFFIX)
90 @COND_WXUNIV1@WXUNIV_DEFINE = __WXUNIVERSAL__
91 @COND_MONOLITHIC1@WXLIB_MONO = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
92 @COND_WXUSE_LIBTIFFBUILTIN@__LIB_TIFF_p = -lwxtiff
93 @COND_MONOLITHIC0@WXLIB_CORE = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5
94 @COND_WXUSE_ODBCBUILTIN@LIB_ODBC = wxodbc
95 @COND_MONOLITHIC1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5
96 @COND_WXUSE_LIBJPEGBUILTIN@LIB_JPEG = wxjpeg
97 @COND_WXUSE_LIBTIFFBUILTIN@LIB_TIFF = wxtiff
98 @COND_PLATFORM_MAC1@__mfc___mac_setfilecmd = $(SETFILE) -a C mfc$(EXEEXT)
99 @COND_USE_GUI0@PORTNAME = base
100 @COND_USE_GUI1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
101 @COND_TOOLKITMAC@__MACOSX_RESOURCES_p = $(RESCOMP) -d __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ -d $(WXUNIV_DEFINE) -i $(srcdir)/../../include -i $(srcdir) -o mfc$(EXEEXT) Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r
102 @COND_WXUSE_REGEXBUILTIN@__LIB_REGEX_p = -lwxregex
103 @COND_WXUSE_REGEXBUILTIN@LIB_REGEX = wxregex
104 @COND_DEPS_TYPEGCC@DEPS_FLAG = -MMD -MT$@ -MF$@.d
110 mfc.o: $(srcdir)/mfc.cpp
111 $(CXX) -c -o $@ $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir)/../../include -I$(srcdir) $(DEPS_FLAG) $(CXXFLAGS) $<
113 install-strip: install
115 mfc$(EXEEXT): mfc.o $(__mfc___win32rc)
116 $(CXX) -o $@ mfc.o $(__mfc___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)
117 $(__mfc___mac_rezcmd)
118 $(__mfc___mac_setfilecmd)
126 mfc_rc.o: $(srcdir)/mfc.rc
127 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ --define $(WXUNIV_DEFINE) --include-dir $(srcdir)/../../include --include-dir $(srcdir)
132 # Include dependency info, if present:
133 @IF_GNU_MAKE@-include *.d