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