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