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@
28 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
30 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31 TOOLKIT_VERSION = @TOOLKIT_VERSION@
34 top_builddir = @top_builddir@
35 top_srcdir = @top_srcdir@
40 LIBDIRNAME = $(top_builddir)lib
41 TEX2RTF_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
42 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) -DNO_GUI $(CXXFLAGS)
43 TEX2RTF_GUI_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
45 -I$(srcdir)/../../../samples $(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 $(top_srcdir)/include -i $(srcdir) \
100 $(__DLLFLAG_p_4) -i $(srcdir)/../../../samples -o tex2rtf_gui$(EXEEXT) \
101 Carbon.r $(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_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \
118 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT)
119 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
120 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \
121 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT)
122 COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \
123 tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \
124 tex2rtf_gui$(EXEEXT) ; fi
125 @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd)
126 @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o
127 @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \
128 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
132 all: tex2rtf$(EXEEXT) tex2rtf_gui$(EXEEXT)
135 rm -rf ./.deps ./.pch
137 rm -f tex2rtf$(EXEEXT)
138 rm -f tex2rtf_gui$(EXEEXT)
141 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
143 install: all install_tex2rtf install_tex2rtf_gui
145 install-strip: install
146 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT)
147 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT)
150 $(INSTALL_DIR) $(DESTDIR)$(bindir)
151 $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir)
154 $(INSTALL_DIR) $(DESTDIR)$(bindir)
155 $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir)
157 tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS)
158 $(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)
160 $(__tex2rtf___mac_setfilecmd)
162 tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc)
163 $(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)
164 $(__tex2rtf_gui___mac_rezcmd)
165 $(__tex2rtf_gui___mac_setfilecmd)
166 $(__tex2rtf_gui___os2_emxbindcmd)
168 tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
169 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
171 tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
172 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
174 tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
175 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
177 tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
178 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples
180 tex2rtf_gui_table.o: $(srcdir)/table.cpp
181 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
183 tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
184 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
186 tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
187 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
189 tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
190 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
192 tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
193 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
195 tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
196 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
198 tex2rtf_readshg.o: $(srcdir)/readshg.cpp
199 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
201 tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
202 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
204 tex2rtf_table.o: $(srcdir)/table.cpp
205 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
207 tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
208 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
210 tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
211 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
213 tex2rtf_texutils.o: $(srcdir)/texutils.cpp
214 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
216 tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
217 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
222 # Include dependency info, if present:
223 @IF_GNU_MAKE@-include .deps/*.d
225 .PHONY: all clean distclean install install_tex2rtf install_tex2rtf_gui uninstall