]>
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 | WINDRES = @WINDRES@ | |
15 | REZ = @REZ@ | |
16 | SETFILE = @SETFILE@ | |
17 | STRIP = @STRIP@ | |
18 | NM = @NM@ | |
19 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
20 | INSTALL_DIR = @INSTALL_DIR@ | |
21 | BK_DEPS = @BK_DEPS@ | |
22 | srcdir = @srcdir@ | |
23 | top_srcdir = @top_srcdir@ | |
24 | bindir = @bindir@ | |
25 | LIBS = @LIBS@ | |
26 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
27 | CXX = @CXX@ | |
28 | CXXFLAGS = @CXXFLAGS@ | |
29 | CPPFLAGS = @CPPFLAGS@ | |
30 | LDFLAGS = @LDFLAGS@ | |
31 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
32 | TOOLKIT = @TOOLKIT@ | |
33 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
34 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
35 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ | |
36 | EXTRALIBS = @EXTRALIBS@ | |
37 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
38 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
39 | HOST_SUFFIX = @HOST_SUFFIX@ | |
40 | wx_top_builddir = @wx_top_builddir@ | |
41 | ||
42 | ### Variables: ### | |
43 | ||
44 | DESTDIR = | |
45 | WX_RELEASE = 2.9 | |
46 | LIBDIRNAME = $(wx_top_builddir)/lib | |
47 | TEX2RTF_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
48 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
49 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 -DNO_GUI $(CPPFLAGS) $(CXXFLAGS) | |
50 | TEX2RTF_OBJECTS = \ | |
51 | tex2rtf_tex2rtf.o \ | |
52 | tex2rtf_tex2any.o \ | |
53 | tex2rtf_texutils.o \ | |
54 | tex2rtf_rtfutils.o \ | |
55 | tex2rtf_xlputils.o \ | |
56 | tex2rtf_htmlutil.o \ | |
57 | tex2rtf_readshg.o \ | |
58 | tex2rtf_table.o | |
59 | TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
60 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
61 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) \ | |
62 | $(CXXFLAGS) | |
63 | TEX2RTF_GUI_OBJECTS = \ | |
64 | $(__tex2rtf_gui___win32rc) \ | |
65 | $(__tex2rtf_gui_os2_lib_res) \ | |
66 | tex2rtf_gui_tex2rtf.o \ | |
67 | tex2rtf_gui_tex2any.o \ | |
68 | tex2rtf_gui_texutils.o \ | |
69 | tex2rtf_gui_rtfutils.o \ | |
70 | tex2rtf_gui_xlputils.o \ | |
71 | tex2rtf_gui_htmlutil.o \ | |
72 | tex2rtf_gui_readshg.o \ | |
73 | tex2rtf_gui_table.o | |
74 | ||
75 | ### Conditionally set variables: ### | |
76 | ||
77 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
78 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
79 | @COND_USE_GUI_0@PORTNAME = base | |
80 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
81 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
82 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
83 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
84 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
85 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
86 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
87 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
88 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
89 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
90 | @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \ | |
91 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT) | |
92 | @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT) | |
93 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \ | |
94 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT) | |
95 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
96 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__ | |
97 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__ | |
98 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_4 = -d wxNO_EXCEPTIONS | |
99 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS | |
100 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_4 = -d wxNO_RTTI | |
101 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI | |
102 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_4 = -d wxNO_THREADS | |
103 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS | |
104 | @COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL | |
105 | @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL | |
106 | COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \ | |
107 | tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \ | |
108 | tex2rtf_gui$(EXEEXT) ; fi | |
109 | @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd) | |
110 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \ | |
111 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
112 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
113 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
114 | @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o | |
115 | @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \ | |
116 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
117 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
118 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) | |
119 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
120 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
121 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
122 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
123 | @COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui | |
124 | @COND_USE_GUI_1@__uninstall_tex2rtf_gui___depname = uninstall_tex2rtf_gui | |
125 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
126 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
127 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
128 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ | |
129 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
130 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
131 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ | |
132 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
133 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
134 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \ | |
135 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) $(__EXCEPTIONS_DEFINE_p_4) \ | |
136 | $(__RTTI_DEFINE_p_4) $(__THREAD_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \ | |
137 | $(srcdir)/../../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ | |
138 | tex2rtf_gui$(EXEEXT) Carbon.r sample.r | |
139 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) | |
140 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
141 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
142 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
143 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
144 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
145 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
146 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
147 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
148 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
149 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
150 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
151 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
152 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
153 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
154 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
155 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ | |
156 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
157 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
158 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
159 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
160 | ||
161 | ### Targets: ### | |
162 | ||
163 | all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname) | |
164 | ||
165 | install: all install_tex2rtf $(__install_tex2rtf_gui___depname) | |
166 | ||
167 | uninstall: uninstall_tex2rtf $(__uninstall_tex2rtf_gui___depname) | |
168 | ||
169 | install-strip: install | |
170 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT) | |
171 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT) | |
172 | ||
173 | clean: | |
174 | rm -rf ./.deps ./.pch | |
175 | rm -f ./*.o | |
176 | rm -f tex2rtf$(EXEEXT) | |
177 | rm -f tex2rtf_gui$(EXEEXT) | |
178 | ||
179 | distclean: clean | |
180 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
181 | ||
182 | tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS) | |
183 | $(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) | |
184 | ||
185 | $(__tex2rtf___mac_setfilecmd) | |
186 | ||
187 | install_tex2rtf: | |
188 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
189 | $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir) | |
190 | ||
191 | uninstall_tex2rtf: | |
192 | rm -f $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT) | |
193 | ||
194 | @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc) | |
195 | @COND_USE_GUI_1@ $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) | |
196 | @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_rezcmd) | |
197 | @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_setfilecmd) | |
198 | @COND_USE_GUI_1@ $(__tex2rtf_gui___os2_emxbindcmd) | |
199 | ||
200 | @COND_USE_GUI_1@install_tex2rtf_gui: | |
201 | @COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
202 | @COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir) | |
203 | ||
204 | @COND_USE_GUI_1@uninstall_tex2rtf_gui: | |
205 | @COND_USE_GUI_1@ rm -f $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT) | |
206 | ||
207 | tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp | |
208 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/tex2rtf.cpp | |
209 | ||
210 | tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp | |
211 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/tex2any.cpp | |
212 | ||
213 | tex2rtf_texutils.o: $(srcdir)/texutils.cpp | |
214 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/texutils.cpp | |
215 | ||
216 | tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp | |
217 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/rtfutils.cpp | |
218 | ||
219 | tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp | |
220 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/xlputils.cpp | |
221 | ||
222 | tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp | |
223 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/htmlutil.cpp | |
224 | ||
225 | tex2rtf_readshg.o: $(srcdir)/readshg.cpp | |
226 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/readshg.cpp | |
227 | ||
228 | tex2rtf_table.o: $(srcdir)/table.cpp | |
229 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $(srcdir)/table.cpp | |
230 | ||
231 | tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
232 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) $(__EXCEPTIONS_DEFINE_p_5) $(__RTTI_DEFINE_p_5) $(__THREAD_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include | |
233 | ||
234 | tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp | |
235 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/tex2rtf.cpp | |
236 | ||
237 | tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp | |
238 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/tex2any.cpp | |
239 | ||
240 | tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp | |
241 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/texutils.cpp | |
242 | ||
243 | tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp | |
244 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/rtfutils.cpp | |
245 | ||
246 | tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp | |
247 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/xlputils.cpp | |
248 | ||
249 | tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp | |
250 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/htmlutil.cpp | |
251 | ||
252 | tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp | |
253 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/readshg.cpp | |
254 | ||
255 | tex2rtf_gui_table.o: $(srcdir)/table.cpp | |
256 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $(srcdir)/table.cpp | |
257 | ||
258 | ||
259 | # Include dependency info, if present: | |
260 | @IF_GNU_MAKE@-include .deps/*.d | |
261 | ||
262 | .PHONY: all install uninstall clean distclean install_tex2rtf uninstall_tex2rtf install_tex2rtf_gui uninstall_tex2rtf_gui |