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 EXTRALIBS_HTML = @EXTRALIBS_HTML@
20 HOST_SUFFIX = @HOST_SUFFIX@
21 INSTALL_DIR = @INSTALL_DIR@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
24 LDFLAGS_GUI = @LDFLAGS_GUI@
29 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
31 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
32 TOOLKIT_VERSION = @TOOLKIT_VERSION@
35 top_builddir = @top_builddir@
36 top_srcdir = @top_srcdir@
41 LIBDIRNAME = $(top_builddir)lib
42 TEX2RTF_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
43 $(__DLLFLAG_p) -DNO_GUI $(CPPFLAGS) $(CXXFLAGS)
44 TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
45 $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS)
46 TEX2RTF_GUI_OBJECTS = \
47 $(__tex2rtf_gui___win32rc) \
48 $(__tex2rtf_gui_os2_lib_res) \
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@__LIB_EXPAT_p = \
82 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
83 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
84 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
85 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
86 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
87 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
88 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
89 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
90 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
91 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
92 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
93 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
94 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
95 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
96 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
97 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
98 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
99 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \
100 $(srcdir)/../../../samples -o tex2rtf_gui$(EXEEXT) Carbon.r \
101 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
102 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
103 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
104 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
105 COND_MONOLITHIC_0___WXLIB_CORE_p = \
106 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
107 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
108 COND_MONOLITHIC_0___WXLIB_HTML_p = \
109 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
110 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
111 COND_MONOLITHIC_1___WXLIB_MONO_p = \
112 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
113 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
114 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
115 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
116 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
117 @COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui
118 @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \
119 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT)
120 @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT)
121 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
122 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \
123 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT)
124 COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \
125 tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \
126 tex2rtf_gui$(EXEEXT) ; fi
127 @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd)
128 @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o
129 @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \
130 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
134 all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname)
137 rm -rf ./.deps ./.pch
139 rm -f tex2rtf$(EXEEXT)
140 rm -f tex2rtf_gui$(EXEEXT)
143 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
145 install: all install_tex2rtf $(__install_tex2rtf_gui___depname)
147 install-strip: install
148 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT)
149 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT)
152 $(INSTALL_DIR) $(DESTDIR)$(bindir)
153 $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir)
155 @COND_USE_GUI_1@install_tex2rtf_gui:
156 @COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir)
157 @COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir)
159 tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS)
160 $(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)
162 $(__tex2rtf___mac_setfilecmd)
164 @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc)
165 @COND_USE_GUI_1@ $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__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)
166 @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_rezcmd)
167 @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_setfilecmd)
168 @COND_USE_GUI_1@ $(__tex2rtf_gui___os2_emxbindcmd)
170 tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
171 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
173 tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
174 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
176 tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
177 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
179 tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
180 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples
182 tex2rtf_gui_table.o: $(srcdir)/table.cpp
183 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
185 tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
186 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
188 tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
189 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
191 tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
192 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
194 tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
195 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
197 tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
198 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
200 tex2rtf_readshg.o: $(srcdir)/readshg.cpp
201 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
203 tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
204 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
206 tex2rtf_table.o: $(srcdir)/table.cpp
207 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
209 tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
210 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
212 tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
213 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
215 tex2rtf_texutils.o: $(srcdir)/texutils.cpp
216 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
218 tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
219 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
224 # Include dependency info, if present:
225 @IF_GNU_MAKE@-include .deps/*.d
227 .PHONY: all clean distclean install install_tex2rtf install_tex2rtf_gui uninstall