]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
cbd63f42 VS |
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@ |
b328fad3 | 16 | EXEEXT = @EXEEXT@ |
cbd63f42 | 17 | EXTRALIBS = @EXTRALIBS@ |
250700e4 | 18 | HOST_SUFFIX = @HOST_SUFFIX@ |
baa6e1d6 | 19 | LDFLAGS = @LDFLAGS@ |
7dbc8e4f | 20 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
ab892b95 | 21 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
7dbc8e4f VS |
22 | SETFILE = @SETFILE@ |
23 | TOOLKIT = @TOOLKIT@ | |
cbd63f42 | 24 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ |
baa6e1d6 | 25 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ |
7dbc8e4f | 26 | srcdir = @srcdir@ |
cbd63f42 | 27 | top_builddir = @top_builddir@ |
7dbc8e4f | 28 | top_srcdir = @top_srcdir@ |
721a4a08 | 29 | |
fcf61db4 VS |
30 | ### Variables: ### |
31 | ||
250700e4 | 32 | CONSOLE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
75a0a7b7 VS |
33 | -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) $(__MULTILIB_FLAG_p) \ |
34 | $(CXXFLAGS) | |
25a73439 VS |
35 | CONSOLE_OBJECTS = \ |
36 | console_console.o | |
37 | LIBDIRNAME = $(top_builddir)lib | |
fcf61db4 | 38 | |
cbd63f42 | 39 | ### Conditionally set variables: ### |
d111a89a | 40 | |
b328fad3 VS |
41 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
42 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
481290e2 VS |
43 | @COND_USE_GUI_0@PORTNAME = base |
44 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 45 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
25a73439 VS |
46 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
47 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
7dbc8e4f VS |
48 | @COND_UNICODE_1@WXUNICODEFLAG = u |
49 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
50 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
bdc408c4 VS |
51 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
52 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
53 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
54 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
55 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
56 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
57 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
58 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
59 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
60 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
61 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ |
62 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
63 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ |
64 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
65 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
66 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
67 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
7dbc8e4f | 68 | @COND_MONOLITHIC_0@__MULTILIB_FLAG_p = -DwxUSE_GUI=0 |
250700e4 RD |
69 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ |
70 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
25a73439 VS |
71 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
72 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
73 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
7dbc8e4f | 74 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
250700e4 | 75 | @COND_PLATFORM_MAC_1@__console___mac_setfilecmd = \ |
b328fad3 | 76 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL console$(EXEEXT) |
d111a89a | 77 | |
cbd63f42 VS |
78 | ### Targets: ### |
79 | ||
b328fad3 | 80 | all: console$(EXEEXT) data |
cbd63f42 | 81 | |
cbd63f42 | 82 | clean: |
ab892b95 | 83 | rm -rf ./.deps ./.pch |
25a73439 | 84 | rm -f ./*.o |
b328fad3 | 85 | rm -f console$(EXEEXT) |
cbd63f42 | 86 | |
b328fad3 | 87 | console$(EXEEXT): $(CONSOLE_OBJECTS) |
25a73439 | 88 | $(CXX) -o $@ $(CONSOLE_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(__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) |
7dbc8e4f | 89 | |
ab892b95 | 90 | $(__console___mac_setfilecmd) $(SAMPLES_RPATH_POSTLINK) |
49b0a3aa | 91 | |
7dbc8e4f | 92 | console_console.o: $(srcdir)/console.cpp |
b328fad3 | 93 | $(CXXC) -c -o $@ $(CONSOLE_CXXFLAGS) $< |
fcf61db4 | 94 | |
cbd63f42 VS |
95 | data: |
96 | @mkdir -p . | |
97 | @for f in testdata.fc; do \ | |
98 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
99 | cp -pRf $(srcdir)/$$f . ; \ | |
100 | fi; \ | |
101 | done | |
102 | ||
7dbc8e4f | 103 | distclean: clean |
ab892b95 | 104 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
7dbc8e4f VS |
105 | |
106 | install: all | |
107 | ||
108 | install-strip: install | |
109 | ||
110 | uninstall: | |
cbd63f42 VS |
111 | |
112 | ||
113 | # Include dependency info, if present: | |
49b0a3aa | 114 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 115 | |
fd9f42b6 | 116 | .PHONY: all clean data distclean install uninstall |