]>
Commit | Line | Data |
---|---|---|
f98da3fb VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3fd9c298 | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
f98da3fb VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
ffaaaacb | 6 | |
37b8e679 | 7 | |
f98da3fb | 8 | @MAKE_SET@ |
ffaaaacb | 9 | |
f98da3fb VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
b328fad3 | 13 | EXEEXT = @EXEEXT@ |
f98da3fb VS |
14 | RESCOMP = @RESCOMP@ |
15 | SETFILE = @SETFILE@ | |
16 | STRIP = @STRIP@ | |
b17c1746 DE |
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@ | |
589e20d0 | 29 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
f98da3fb VS |
30 | TOOLKIT = @TOOLKIT@ |
31 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
32 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
33 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
34 | EXTRALIBS = @EXTRALIBS@ | |
5259a417 | 35 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ |
b17c1746 DE |
36 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
37 | HOST_SUFFIX = @HOST_SUFFIX@ | |
ffaaaacb | 38 | |
f98da3fb | 39 | ### Variables: ### |
ffaaaacb | 40 | |
a4ad36cd | 41 | DESTDIR = |
ceec2216 | 42 | WX_RELEASE = 2.5 |
f98da3fb | 43 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
44 | TEX2RTF_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
45 | $(__DLLFLAG_p) -DNO_GUI $(CPPFLAGS) $(CXXFLAGS) | |
b17c1746 DE |
46 | TEX2RTF_OBJECTS = \ |
47 | tex2rtf_tex2rtf.o \ | |
48 | tex2rtf_tex2any.o \ | |
49 | tex2rtf_texutils.o \ | |
50 | tex2rtf_rtfutils.o \ | |
51 | tex2rtf_xlputils.o \ | |
52 | tex2rtf_htmlutil.o \ | |
53 | tex2rtf_readshg.o \ | |
54 | tex2rtf_table.o | |
9bfe7ad9 VS |
55 | TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
56 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
f98da3fb VS |
57 | TEX2RTF_GUI_OBJECTS = \ |
58 | $(__tex2rtf_gui___win32rc) \ | |
a4ad36cd | 59 | $(__tex2rtf_gui_os2_lib_res) \ |
f98da3fb VS |
60 | tex2rtf_gui_tex2rtf.o \ |
61 | tex2rtf_gui_tex2any.o \ | |
62 | tex2rtf_gui_texutils.o \ | |
63 | tex2rtf_gui_rtfutils.o \ | |
64 | tex2rtf_gui_xlputils.o \ | |
65 | tex2rtf_gui_htmlutil.o \ | |
66 | tex2rtf_gui_readshg.o \ | |
67 | tex2rtf_gui_table.o | |
ffaaaacb | 68 | |
f98da3fb VS |
69 | ### Conditionally set variables: ### |
70 | ||
b328fad3 VS |
71 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
72 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
f98da3fb VS |
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 | |
0e3165d7 DE |
80 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
81 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
82 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
83 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
f98da3fb | 84 | @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \ |
b328fad3 | 85 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT) |
8be1c2c5 | 86 | @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT) |
f98da3fb | 87 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \ |
b328fad3 | 88 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT) |
b17c1746 DE |
89 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) |
90 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__ | |
91 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__ | |
92 | @COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL | |
93 | @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL | |
ec08d395 JS |
94 | COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \ |
95 | tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \ | |
96 | tex2rtf_gui$(EXEEXT) ; fi | |
97 | @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd) | |
f98da3fb | 98 | @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o |
a4ad36cd VS |
99 | @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \ |
100 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
5259a417 | 101 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ |
a1bf307a | 102 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) |
5259a417 | 103 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
b17c1746 | 104 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
a1bf307a | 105 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
106 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
107 | @COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui | |
108 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
109 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \ | |
c3255f5f | 110 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o tex2rtf_gui$(EXEEXT) \ |
7714864e | 111 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r |
b17c1746 DE |
112 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
113 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
114 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
ceec2216 | 115 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 116 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 117 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 118 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 119 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
120 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
121 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
122 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 123 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
124 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
125 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 126 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
127 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
128 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 129 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 130 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 131 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 132 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
7714864e | 133 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
134 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
135 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
136 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 137 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 138 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f98da3fb VS |
139 | |
140 | ### Targets: ### | |
141 | ||
8be1c2c5 | 142 | all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname) |
f98da3fb | 143 | |
b17c1746 DE |
144 | install: all install_tex2rtf $(__install_tex2rtf_gui___depname) |
145 | ||
146 | uninstall: | |
147 | ||
148 | install-strip: install | |
149 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT) | |
150 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT) | |
151 | ||
f98da3fb VS |
152 | clean: |
153 | rm -rf ./.deps ./.pch | |
154 | rm -f ./*.o | |
b328fad3 VS |
155 | rm -f tex2rtf$(EXEEXT) |
156 | rm -f tex2rtf_gui$(EXEEXT) | |
f98da3fb VS |
157 | |
158 | distclean: clean | |
159 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
160 | ||
b328fad3 | 161 | tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS) |
0e3165d7 | 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_FOR_BASE) |
f98da3fb VS |
163 | |
164 | $(__tex2rtf___mac_setfilecmd) | |
165 | ||
b17c1746 DE |
166 | install_tex2rtf: |
167 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
168 | $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir) | |
169 | ||
8be1c2c5 | 170 | @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc) |
0e3165d7 | 171 | @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_FOR_BASE) $(EXTRALIBS_FOR_GUI) |
8be1c2c5 VS |
172 | @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_rezcmd) |
173 | @COND_USE_GUI_1@ $(__tex2rtf_gui___mac_setfilecmd) | |
174 | @COND_USE_GUI_1@ $(__tex2rtf_gui___os2_emxbindcmd) | |
f98da3fb | 175 | |
b17c1746 DE |
176 | @COND_USE_GUI_1@install_tex2rtf_gui: |
177 | @COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
178 | @COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir) | |
f98da3fb | 179 | |
b17c1746 DE |
180 | tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
181 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
f98da3fb | 182 | |
b17c1746 DE |
183 | tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp |
184 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
185 | ||
186 | tex2rtf_texutils.o: $(srcdir)/texutils.cpp | |
187 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
188 | ||
189 | tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp | |
190 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
191 | ||
192 | tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp | |
193 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
194 | ||
195 | tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp | |
196 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
197 | ||
198 | tex2rtf_readshg.o: $(srcdir)/readshg.cpp | |
199 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
200 | ||
201 | tex2rtf_table.o: $(srcdir)/table.cpp | |
202 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
f98da3fb VS |
203 | |
204 | tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
c3255f5f | 205 | $(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 |
f98da3fb | 206 | |
b17c1746 | 207 | tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
b328fad3 | 208 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
209 | |
210 | tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp | |
b328fad3 | 211 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 212 | |
b17c1746 | 213 | tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp |
b328fad3 | 214 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 215 | |
b17c1746 | 216 | tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp |
b328fad3 | 217 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
218 | |
219 | tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp | |
b328fad3 | 220 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 221 | |
b17c1746 DE |
222 | tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp |
223 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 224 | |
b17c1746 DE |
225 | tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp |
226 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 227 | |
b17c1746 DE |
228 | tex2rtf_gui_table.o: $(srcdir)/table.cpp |
229 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb VS |
230 | |
231 | ||
232 | # Include dependency info, if present: | |
233 | @IF_GNU_MAKE@-include .deps/*.d | |
234 | ||
b17c1746 | 235 | .PHONY: all install uninstall clean distclean install_tex2rtf install_tex2rtf_gui |