]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.1 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
13 | EXEEXT = @EXEEXT@ | |
14 | SETFILE = @SETFILE@ | |
15 | BK_DEPS = @BK_DEPS@ | |
16 | srcdir = @srcdir@ | |
17 | top_srcdir = @top_srcdir@ | |
18 | LIBS = @LIBS@ | |
19 | CXX = @CXX@ | |
20 | CXXFLAGS = @CXXFLAGS@ | |
21 | CPPFLAGS = @CPPFLAGS@ | |
22 | LDFLAGS = @LDFLAGS@ | |
23 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
24 | TOOLKIT = @TOOLKIT@ | |
25 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
26 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
27 | EXTRALIBS = @EXTRALIBS@ | |
28 | EXTRALIBS_ODBC = @EXTRALIBS_ODBC@ | |
29 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
30 | HOST_SUFFIX = @HOST_SUFFIX@ | |
31 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
32 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ | |
33 | wx_top_builddir = @wx_top_builddir@ | |
34 | ||
35 | ### Variables: ### | |
36 | ||
37 | DESTDIR = | |
38 | WX_RELEASE = 2.9 | |
39 | LIBDIRNAME = $(wx_top_builddir)/lib | |
40 | CONSOLE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
41 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
42 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS) | |
43 | CONSOLE_OBJECTS = \ | |
44 | console_console.o | |
45 | ||
46 | ### Conditionally set variables: ### | |
47 | ||
48 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
49 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
50 | @COND_USE_GUI_0@PORTNAME = base | |
51 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
52 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
53 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
54 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
55 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
56 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
57 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
58 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
59 | @COND_PLATFORM_MAC_1@__console___mac_setfilecmd = \ | |
60 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL console$(EXEEXT) | |
61 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
62 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
63 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
64 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
65 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
66 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
67 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
68 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
69 | COND_MONOLITHIC_0_USE_ODBC_1___WXLIB_ODBC_p = \ | |
70 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc-$(WX_RELEASE)$(HOST_SUFFIX) | |
71 | @COND_MONOLITHIC_0_USE_ODBC_1@__WXLIB_ODBC_p = $(COND_MONOLITHIC_0_USE_ODBC_1___WXLIB_ODBC_p) | |
72 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
73 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
74 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
75 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
76 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
77 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
78 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
79 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
80 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
81 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
82 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ | |
83 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
84 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
85 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
86 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
87 | ||
88 | ### Targets: ### | |
89 | ||
90 | all: console$(EXEEXT) data | |
91 | ||
92 | install: all | |
93 | ||
94 | uninstall: | |
95 | ||
96 | install-strip: install | |
97 | ||
98 | clean: | |
99 | rm -rf ./.deps ./.pch | |
100 | rm -f ./*.o | |
101 | rm -f console$(EXEEXT) | |
102 | ||
103 | distclean: clean | |
104 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
105 | ||
106 | console$(EXEEXT): $(CONSOLE_OBJECTS) | |
107 | $(CXX) -o $@ $(CONSOLE_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_NET_p) $(__WXLIB_ODBC_p) $(EXTRALIBS_ODBC) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) | |
108 | ||
109 | $(__console___mac_setfilecmd) | |
110 | $(SAMPLES_RPATH_POSTLINK) | |
111 | ||
112 | data: | |
113 | @mkdir -p . | |
114 | @for f in testdata.fc; do \ | |
115 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
116 | then x=yep ; \ | |
117 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
118 | fi; \ | |
119 | case "$$x" in ?*) \ | |
120 | cp -pRf $(srcdir)/$$f . ;; \ | |
121 | esac; \ | |
122 | done | |
123 | ||
124 | console_console.o: $(srcdir)/console.cpp | |
125 | $(CXXC) -c -o $@ $(CONSOLE_CXXFLAGS) $(srcdir)/console.cpp | |
126 | ||
127 | ||
128 | # Include dependency info, if present: | |
129 | @IF_GNU_MAKE@-include .deps/*.d | |
130 | ||
131 | .PHONY: all install uninstall clean distclean data |