]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
f82b7036 | 3 | # Bakefile 0.2.8 (http://www.bakefile.org) |
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@ | |
6e0fbb3d | 12 | datarootdir = @datarootdir@ |
b1169abb | 13 | INSTALL = @INSTALL@ |
b17c1746 DE |
14 | EXEEXT = @EXEEXT@ |
15 | SETFILE = @SETFILE@ | |
69199aad | 16 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
17 | srcdir = @srcdir@ |
18 | top_srcdir = @top_srcdir@ | |
69199aad | 19 | LIBS = @LIBS@ |
7dbc8e4f | 20 | CXX = @CXX@ |
cbd63f42 | 21 | CXXFLAGS = @CXXFLAGS@ |
b17c1746 DE |
22 | CPPFLAGS = @CPPFLAGS@ |
23 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 24 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
b17c1746 DE |
25 | TOOLKIT = @TOOLKIT@ |
26 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
27 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
cbd63f42 | 28 | EXTRALIBS = @EXTRALIBS@ |
0e3165d7 | 29 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
444833b3 | 30 | CXXWARNINGS = @CXXWARNINGS@ |
250700e4 | 31 | HOST_SUFFIX = @HOST_SUFFIX@ |
7dbc8e4f | 32 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
69199aad | 33 | wx_top_builddir = @wx_top_builddir@ |
721a4a08 | 34 | |
fcf61db4 VS |
35 | ### Variables: ### |
36 | ||
b17c1746 | 37 | DESTDIR = |
ae4ccf12 | 38 | WX_RELEASE = 2.9 |
69199aad | 39 | LIBDIRNAME = $(wx_top_builddir)/lib |
d12d9eda | 40 | CONSOLE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ |
8c9f8f91 | 41 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ |
444833b3 CE |
42 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ |
43 | $(CXXFLAGS) | |
25a73439 VS |
44 | CONSOLE_OBJECTS = \ |
45 | console_console.o | |
fcf61db4 | 46 | |
cbd63f42 | 47 | ### Conditionally set variables: ### |
d111a89a | 48 | |
b328fad3 | 49 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 50 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
481290e2 VS |
51 | @COND_USE_GUI_0@PORTNAME = base |
52 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 53 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
d12d9eda | 54 | @COND_BUILD_debug@WXDEBUGFLAG = d |
7dbc8e4f VS |
55 | @COND_UNICODE_1@WXUNICODEFLAG = u |
56 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
57 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
58 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
6e0fbb3d | 59 | @COND_PLATFORM_MAC_0@__console___mac_setfilecmd = @true |
b17c1746 DE |
60 | @COND_PLATFORM_MAC_1@__console___mac_setfilecmd = \ |
61 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL console$(EXEEXT) | |
62 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
d12d9eda | 63 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 |
8c9f8f91 JS |
64 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
65 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
66 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
7dbc8e4f | 67 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
ceec2216 | 68 | COND_MONOLITHIC_0___WXLIB_NET_p = \ |
a1bf307a | 69 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 70 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) |
ceec2216 | 71 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 72 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 73 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 74 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 75 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 76 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
8ece421c VZ |
77 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ |
78 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
79 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
ceec2216 | 80 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ece421c VZ |
81 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) |
82 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
83 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
d111a89a | 84 | |
cbd63f42 VS |
85 | ### Targets: ### |
86 | ||
b328fad3 | 87 | all: console$(EXEEXT) data |
cbd63f42 | 88 | |
8ece421c | 89 | install: |
b17c1746 DE |
90 | |
91 | uninstall: | |
92 | ||
93 | install-strip: install | |
94 | ||
cbd63f42 | 95 | clean: |
ab892b95 | 96 | rm -rf ./.deps ./.pch |
25a73439 | 97 | rm -f ./*.o |
b328fad3 | 98 | rm -f console$(EXEEXT) |
cbd63f42 | 99 | |
b17c1746 | 100 | distclean: clean |
070e8453 | 101 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
b17c1746 | 102 | |
b328fad3 | 103 | console$(EXEEXT): $(CONSOLE_OBJECTS) |
8ece421c | 104 | $(CXX) -o $@ $(CONSOLE_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
7dbc8e4f | 105 | |
0e3165d7 | 106 | $(__console___mac_setfilecmd) |
49b0a3aa | 107 | |
cbd63f42 VS |
108 | data: |
109 | @mkdir -p . | |
110 | @for f in testdata.fc; do \ | |
0d90d6ea | 111 | if test ! -f ./$$f -a ! -d ./$$f ; \ |
070e8453 MW |
112 | then x=yep ; \ |
113 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
cbd63f42 | 114 | fi; \ |
070e8453 MW |
115 | case "$$x" in ?*) \ |
116 | cp -pRf $(srcdir)/$$f . ;; \ | |
117 | esac; \ | |
cbd63f42 VS |
118 | done |
119 | ||
b17c1746 | 120 | console_console.o: $(srcdir)/console.cpp |
070e8453 | 121 | $(CXXC) -c -o $@ $(CONSOLE_CXXFLAGS) $(srcdir)/console.cpp |
cbd63f42 VS |
122 | |
123 | ||
124 | # Include dependency info, if present: | |
8ece421c | 125 | @IF_GNU_MAKE@-include ./.deps/*.d |
cbd63f42 | 126 | |
b17c1746 | 127 | .PHONY: all install uninstall clean distclean data |