]>
Commit | Line | Data |
---|---|---|
cbd63f42 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 | # ========================================================================= | |
d111a89a | 6 | |
d111a89a | 7 | |
cbd63f42 | 8 | @MAKE_SET@ |
d111a89a | 9 | |
3af038c0 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
b1169abb | 12 | INSTALL = @INSTALL@ |
cbd63f42 | 13 | CPPFLAGS = @CPPFLAGS@ |
7dbc8e4f | 14 | CXX = @CXX@ |
cbd63f42 | 15 | CXXFLAGS = @CXXFLAGS@ |
cbd63f42 | 16 | EXEEXT = @EXEEXT@ |
cbd63f42 | 17 | EXTRALIBS = @EXTRALIBS@ |
baa6e1d6 | 18 | LDFLAGS = @LDFLAGS@ |
7dbc8e4f VS |
19 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
20 | SETFILE = @SETFILE@ | |
21 | TOOLKIT = @TOOLKIT@ | |
cbd63f42 | 22 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ |
baa6e1d6 | 23 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ |
7dbc8e4f | 24 | srcdir = @srcdir@ |
cbd63f42 | 25 | top_builddir = @top_builddir@ |
7dbc8e4f | 26 | top_srcdir = @top_srcdir@ |
721a4a08 | 27 | |
fcf61db4 VS |
28 | ### Variables: ### |
29 | ||
b1169abb | 30 | CONSOLE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) -I$(srcdir) $(__DLLFLAG_p) $(__MULTILIB_FLAG_p) $(CXXFLAGS) |
fcf61db4 | 31 | |
cbd63f42 | 32 | ### Conditionally set variables: ### |
d111a89a | 33 | |
baa6e1d6 | 34 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
7dbc8e4f | 35 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) |
481290e2 VS |
36 | @COND_USE_GUI_0@PORTNAME = base |
37 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb VS |
38 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
39 | @COND_BUILD_DEBUG@WXDEBUGFLAG = d | |
7dbc8e4f VS |
40 | @COND_UNICODE_1@WXUNICODEFLAG = u |
41 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
42 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
b1169abb VS |
43 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg |
44 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc | |
45 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png | |
46 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex | |
47 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff | |
48 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib | |
49 | @COND_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) | |
50 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = -lwxodbc$(WXDEBUGFLAG) | |
51 | @COND_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) | |
52 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = -lwxregex$(WXDEBUGFLAG) | |
53 | @COND_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) | |
54 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = -lwxzlib$(WXDEBUGFLAG) | |
7dbc8e4f | 55 | @COND_MONOLITHIC_0@__MULTILIB_FLAG_p = -DwxUSE_GUI=0 |
b1169abb | 56 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 |
7dbc8e4f VS |
57 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 |
58 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
59 | @COND_PLATFORM_MAC_1@__console___mac_setfilecmd = $(SETFILE) -t APPL console$(EXEEXT) | |
d111a89a | 60 | |
cbd63f42 VS |
61 | ### Targets: ### |
62 | ||
63 | all: console$(EXEEXT) data | |
64 | ||
cbd63f42 | 65 | clean: |
baa6e1d6 VS |
66 | rm -rf ./.deps |
67 | rm -f -f ./*.o | |
cbd63f42 | 68 | rm -f console$(EXEEXT) |
cbd63f42 | 69 | |
7dbc8e4f | 70 | console$(EXEEXT): console_console.o |
b1169abb | 71 | $(CXX) -o $@ console_console.o $(LDFLAGS) -L$(top_builddir)lib $(SAMPLES_RPATH_FLAG) $(__WXLIB_MONO_p) $(__WXLIB_BASE_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(EXTRALIBS) |
7dbc8e4f VS |
72 | |
73 | $(__console___mac_setfilecmd) | |
49b0a3aa | 74 | |
7dbc8e4f VS |
75 | console_console.o: $(srcdir)/console.cpp |
76 | $(CXXC) -c -o $@ $(CONSOLE_CXXFLAGS) $< | |
fcf61db4 | 77 | |
cbd63f42 VS |
78 | data: |
79 | @mkdir -p . | |
80 | @for f in testdata.fc; do \ | |
81 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
82 | cp -pRf $(srcdir)/$$f . ; \ | |
83 | fi; \ | |
84 | done | |
85 | ||
7dbc8e4f VS |
86 | distclean: clean |
87 | rm -f configure config.cache config.log config.status | |
88 | rm -f bk-deps shared-ld-sh | |
89 | ||
90 | install: all | |
91 | ||
92 | install-strip: install | |
93 | ||
94 | uninstall: | |
cbd63f42 VS |
95 | |
96 | ||
97 | # Include dependency info, if present: | |
49b0a3aa | 98 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 99 | |
b1169abb | 100 | .PHONY: all clean distclean install uninstall |