]>
Commit | Line | Data |
---|---|---|
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 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
13 | CPPFLAGS = @CPPFLAGS@ | |
14 | CXX = @CXX@ | |
15 | CXXFLAGS = @CXXFLAGS@ | |
16 | EXEEXT = @EXEEXT@ | |
17 | EXTRALIBS = @EXTRALIBS@ | |
18 | HOST_SUFFIX = @HOST_SUFFIX@ | |
19 | LDFLAGS = @LDFLAGS@ | |
20 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
21 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ | |
22 | SETFILE = @SETFILE@ | |
23 | TOOLKIT = @TOOLKIT@ | |
24 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
25 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
26 | srcdir = @srcdir@ | |
27 | top_builddir = @top_builddir@ | |
28 | top_srcdir = @top_srcdir@ | |
29 | ||
30 | ### Variables: ### | |
31 | ||
32 | CONSOLE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
33 | -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) $(__MULTILIB_FLAG_p) \ | |
34 | $(CXXFLAGS) | |
35 | CONSOLE_OBJECTS = \ | |
36 | console_console.o | |
37 | LIBDIRNAME = $(top_builddir)lib | |
38 | ||
39 | ### Conditionally set variables: ### | |
40 | ||
41 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
42 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
43 | @COND_USE_GUI_0@PORTNAME = base | |
44 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
45 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
46 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
47 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
48 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
49 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
50 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
51 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
52 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
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) | |
56 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
57 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
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) | |
61 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ | |
62 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
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) | |
66 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
67 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
68 | @COND_MONOLITHIC_0@__MULTILIB_FLAG_p = -DwxUSE_GUI=0 | |
69 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ | |
70 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
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) | |
74 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
75 | @COND_PLATFORM_MAC_1@__console___mac_setfilecmd = \ | |
76 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL console$(EXEEXT) | |
77 | ||
78 | ### Targets: ### | |
79 | ||
80 | all: console$(EXEEXT) data | |
81 | ||
82 | clean: | |
83 | rm -rf ./.deps ./.pch | |
84 | rm -f ./*.o | |
85 | rm -f console$(EXEEXT) | |
86 | ||
87 | console$(EXEEXT): $(CONSOLE_OBJECTS) | |
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) | |
89 | ||
90 | $(__console___mac_setfilecmd) $(SAMPLES_RPATH_POSTLINK) | |
91 | ||
92 | console_console.o: $(srcdir)/console.cpp | |
93 | $(CXXC) -c -o $@ $(CONSOLE_CXXFLAGS) $< | |
94 | ||
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 | ||
103 | distclean: clean | |
104 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
105 | ||
106 | install: all | |
107 | ||
108 | install-strip: install | |
109 | ||
110 | uninstall: | |
111 | ||
112 | ||
113 | # Include dependency info, if present: | |
114 | @IF_GNU_MAKE@-include .deps/*.d | |
115 | ||
116 | .PHONY: all clean data distclean install uninstall |