]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/Makefile.in
e4d7bc3f79b9b276eedcc3ca2af02d0a89c0195b
[wxWidgets.git] / utils / tex2rtf / src / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 RESCOMP = @RESCOMP@
15 SETFILE = @SETFILE@
16 STRIP = @STRIP@
17 NM = @NM@
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
19 INSTALL_DIR = @INSTALL_DIR@
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 top_builddir = @top_builddir@
23 bindir = @bindir@
24 LDFLAGS_GUI = @LDFLAGS_GUI@
25 CXX = @CXX@
26 CXXFLAGS = @CXXFLAGS@
27 CPPFLAGS = @CPPFLAGS@
28 LDFLAGS = @LDFLAGS@
29 TOOLKIT = @TOOLKIT@
30 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31 TOOLKIT_VERSION = @TOOLKIT_VERSION@
32 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
33 EXTRALIBS = @EXTRALIBS@
34 EXTRALIBS_HTML = @EXTRALIBS_HTML@
35 EXTRALIBS_GUI = @EXTRALIBS_GUI@
36 HOST_SUFFIX = @HOST_SUFFIX@
37
38 ### Variables: ###
39
40 DESTDIR =
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_OBJECTS = \
45 tex2rtf_tex2rtf.o \
46 tex2rtf_tex2any.o \
47 tex2rtf_texutils.o \
48 tex2rtf_rtfutils.o \
49 tex2rtf_xlputils.o \
50 tex2rtf_htmlutil.o \
51 tex2rtf_readshg.o \
52 tex2rtf_table.o
53 TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
54 $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS)
55 TEX2RTF_GUI_OBJECTS = \
56 $(__tex2rtf_gui___win32rc) \
57 $(__tex2rtf_gui_os2_lib_res) \
58 tex2rtf_gui_tex2rtf.o \
59 tex2rtf_gui_tex2any.o \
60 tex2rtf_gui_texutils.o \
61 tex2rtf_gui_rtfutils.o \
62 tex2rtf_gui_xlputils.o \
63 tex2rtf_gui_htmlutil.o \
64 tex2rtf_gui_readshg.o \
65 tex2rtf_gui_table.o
66
67 ### Conditionally set variables: ###
68
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_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \
79 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT)
80 @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT)
81 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \
82 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT)
83 @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
84 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
85 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
86 @COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL
87 @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
88 COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \
89 tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \
90 tex2rtf_gui$(EXEEXT) ; fi
91 @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd)
92 @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o
93 @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \
94 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
95 COND_MONOLITHIC_0___WXLIB_HTML_p = \
96 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
97 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
98 COND_MONOLITHIC_0___WXLIB_CORE_p = \
99 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
100 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
101 @COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui
102 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
103 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \
104 $(srcdir)/../../../samples -i $(top_srcdir)/include -o tex2rtf_gui$(EXEEXT) \
105 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r
106 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
107 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
108 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
109 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
110 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
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_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
115 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
116 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
117 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
118 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
119 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
120 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
121 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
122 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
123 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
124 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
125 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
126 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
127 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
128 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
129 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
130 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
131
132 ### Targets: ###
133
134 all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname)
135
136 install: all install_tex2rtf $(__install_tex2rtf_gui___depname)
137
138 uninstall:
139
140 install-strip: install
141 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT)
142 $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT)
143
144 clean:
145 rm -rf ./.deps ./.pch
146 rm -f ./*.o
147 rm -f tex2rtf$(EXEEXT)
148 rm -f tex2rtf_gui$(EXEEXT)
149
150 distclean: clean
151 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
152
153 tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS)
154 $(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)
155
156 $(__tex2rtf___mac_setfilecmd)
157
158 install_tex2rtf:
159 $(INSTALL_DIR) $(DESTDIR)$(bindir)
160 $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir)
161
162 @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc)
163 @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)
164 @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_rezcmd)
165 @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_setfilecmd)
166 @COND_USE_GUI_1@ $(__tex2rtf_gui___os2_emxbindcmd)
167
168 @COND_USE_GUI_1@install_tex2rtf_gui:
169 @COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir)
170 @COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir)
171
172 tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
173 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
174
175 tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
176 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
177
178 tex2rtf_texutils.o: $(srcdir)/texutils.cpp
179 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
180
181 tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
182 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
183
184 tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
185 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
186
187 tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
188 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
189
190 tex2rtf_readshg.o: $(srcdir)/readshg.cpp
191 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
192
193 tex2rtf_table.o: $(srcdir)/table.cpp
194 $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
195
196 tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
197 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples --include-dir $(top_srcdir)/include
198
199 tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
200 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
201
202 tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
203 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
204
205 tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
206 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
207
208 tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
209 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
210
211 tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
212 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
213
214 tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
215 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
216
217 tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
218 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
219
220 tex2rtf_gui_table.o: $(srcdir)/table.cpp
221 $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
222
223
224 # Include dependency info, if present:
225 @IF_GNU_MAKE@-include .deps/*.d
226
227 .PHONY: all install uninstall clean distclean install_tex2rtf install_tex2rtf_gui