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 # =========================================================================
11 exec_prefix = @exec_prefix@
17 EXTRALIBS = @EXTRALIBS@
18 EXTRALIBS_GUI = @EXTRALIBS_GUI@
19 HOST_SUFFIX = @HOST_SUFFIX@
20 INSTALL_DIR = @INSTALL_DIR@
21 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 LDFLAGS_GUI = @LDFLAGS_GUI@
27 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
29 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30 TOOLKIT_VERSION = @TOOLKIT_VERSION@
33 top_builddir = @top_builddir@
34 top_srcdir = @top_srcdir@
38 LIBDIRNAME = $(top_builddir)lib
39 TEX2RTF_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
40 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
41 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
42 -I$(srcdir) $(__DLLFLAG_p) -DNO_GUI $(CXXFLAGS)
43 TEX2RTF_GUI_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
45 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
46 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CXXFLAGS)
47 TEX2RTF_GUI_OBJECTS = \
48 $(__tex2rtf_gui___win32rc) \
49 tex2rtf_gui_tex2rtf.o \
50 tex2rtf_gui_tex2any.o \
51 tex2rtf_gui_texutils.o \
52 tex2rtf_gui_rtfutils.o \
53 tex2rtf_gui_xlputils.o \
54 tex2rtf_gui_htmlutil.o \
55 tex2rtf_gui_readshg.o \
67 ### Conditionally set variables: ###
69 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
70 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
71 @COND_USE_GUI_0@PORTNAME = base
72 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
73 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
74 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
75 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
76 @COND_UNICODE_1@WXUNICODEFLAG = u
77 @COND_WXUNIV_1@WXUNIVNAME = univ
78 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
79 @COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL
80 @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
81 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
82 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_4 = -i $(top_srcdir)/src/expat/lib
83 @COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_5 = \
84 @COND_WXUSE_EXPAT_BUILTIN@ --include-dir $(top_srcdir)/src/expat/lib
85 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
86 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_4 = -i $(top_srcdir)/src/jpeg
87 @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_5 = \
88 @COND_WXUSE_LIBJPEG_BUILTIN@ --include-dir $(top_srcdir)/src/jpeg
89 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
90 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_4 = -i $(top_srcdir)/src/odbc
91 @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_5 = \
92 @COND_WXUSE_ODBC_BUILTIN@ --include-dir $(top_srcdir)/src/odbc
93 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
94 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_4 = -i $(top_srcdir)/src/png
95 @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_5 = \
96 @COND_WXUSE_LIBPNG_BUILTIN@ --include-dir $(top_srcdir)/src/png
97 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
98 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_4 = -i $(top_srcdir)/src/regex
99 @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_5 = \
100 @COND_WXUSE_REGEX_BUILTIN@ --include-dir $(top_srcdir)/src/regex
101 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
102 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_4 = -i $(top_srcdir)/src/tiff
103 @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_5 = \
104 @COND_WXUSE_LIBTIFF_BUILTIN@ --include-dir $(top_srcdir)/src/tiff
105 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
106 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_4 = -i $(top_srcdir)/src/zlib
107 @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_5 = \
108 @COND_WXUSE_ZLIB_BUILTIN@ --include-dir $(top_srcdir)/src/zlib
109 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
110 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
111 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
112 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
113 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
114 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
115 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
116 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
117 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
118 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
119 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
120 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
121 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
122 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
123 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
124 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
125 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
126 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
127 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(top_srcdir)/include \
128 $(__INC_TIFF_p_4) $(__INC_JPEG_p_4) $(__INC_PNG_p_4) $(__INC_ZLIB_p_4) \
129 $(__INC_ODBC_p_4) $(__INC_REGEX_p_4) $(__INC_EXPAT_p_4) -i $(srcdir) \
130 $(__DLLFLAG_p_4) -i $(srcdir)/../../../samples -o tex2rtf_gui$(EXEEXT) \
131 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
132 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
133 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
134 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
135 COND_MONOLITHIC_0___WXLIB_CORE_p = \
136 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
137 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
138 COND_MONOLITHIC_0___WXLIB_HTML_p = \
139 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
140 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
141 COND_MONOLITHIC_1___WXLIB_MONO_p = \
142 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
143 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
144 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
146 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
147 @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \
148 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT)
149 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
150 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \
151 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT)
152 @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o
156 all: tex2rtf$(EXEEXT) tex2rtf_gui$(EXEEXT)
159 rm -rf ./.deps ./.pch
161 rm -f tex2rtf$(EXEEXT)
162 rm -f tex2rtf_gui$(EXEEXT)
165 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
167 install: all install_tex2rtf install_tex2rtf_gui
169 install-strip: install
170 $(STRIP) $(bindir)/tex2rtf$(EXEEXT)
171 $(STRIP) $(bindir)/tex2rtf_gui$(EXEEXT)
174 $(INSTALL_DIR) $(bindir)
175 $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(bindir)
178 $(INSTALL_DIR) $(bindir)
179 $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(bindir)
181 tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS)
182 $(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__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)
184 $(__tex2rtf___mac_setfilecmd)
186 tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc)
187 $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__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) $(EXTRALIBS_GUI)
188 $(__tex2rtf_gui___mac_rezcmd)
189 $(__tex2rtf_gui___mac_setfilecmd)
191 tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
192 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
194 tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
195 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
197 tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
198 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
200 tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
201 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_5) $(__INC_JPEG_p_5) $(__INC_PNG_p_5) $(__INC_ZLIB_p_5) $(__INC_ODBC_p_5) $(__INC_REGEX_p_5) $(__INC_EXPAT_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples
203 tex2rtf_gui_table.o: $(srcdir)/table.cpp
204 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
206 tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
207 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
209 tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
210 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
212 tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
213 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
215 tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
216 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
218 tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
219 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
221 tex2rtf_readshg.o: $(srcdir)/readshg.cpp
222 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
224 tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
225 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
227 tex2rtf_table.o: $(srcdir)/table.cpp
228 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
230 tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
231 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
233 tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
234 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
236 tex2rtf_texutils.o: $(srcdir)/texutils.cpp
237 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
239 tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
240 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
245 # Include dependency info, if present:
246 @IF_GNU_MAKE@-include .deps/*.d
248 .PHONY: all clean distclean install install_tex2rtf install_tex2rtf_gui uninstall