]>
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 | |
f98da3fb | 80 | @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \ |
b328fad3 | 81 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT) |
8be1c2c5 | 82 | @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT) |
f98da3fb | 83 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \ |
b328fad3 | 84 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT) |
b17c1746 DE |
85 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) |
86 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__ | |
87 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__ | |
88 | @COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL | |
89 | @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL | |
ec08d395 JS |
90 | COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \ |
91 | tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \ | |
92 | tex2rtf_gui$(EXEEXT) ; fi | |
93 | @COND_PLATFORM_OS2_1@__tex2rtf_gui___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd) | |
f98da3fb | 94 | @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o |
a4ad36cd VS |
95 | @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \ |
96 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
5259a417 | 97 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ |
a1bf307a | 98 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) |
5259a417 | 99 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
b17c1746 | 100 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
a1bf307a | 101 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
102 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
103 | @COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui | |
104 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
105 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \ | |
c3255f5f | 106 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o tex2rtf_gui$(EXEEXT) \ |
7714864e | 107 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r |
b17c1746 DE |
108 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
109 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
110 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
ceec2216 | 111 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 112 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 113 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 114 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 115 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
116 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
117 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
118 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 119 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
120 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
121 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 122 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
123 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
124 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 125 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 126 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 127 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 128 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
7714864e | 129 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
130 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
131 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
132 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 133 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 134 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f98da3fb VS |
135 | |
136 | ### Targets: ### | |
137 | ||
8be1c2c5 | 138 | all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname) |
f98da3fb | 139 | |
b17c1746 DE |
140 | install: all install_tex2rtf $(__install_tex2rtf_gui___depname) |
141 | ||
142 | uninstall: | |
143 | ||
144 | install-strip: install | |
145 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT) | |
146 | $(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT) | |
147 | ||
f98da3fb VS |
148 | clean: |
149 | rm -rf ./.deps ./.pch | |
150 | rm -f ./*.o | |
b328fad3 VS |
151 | rm -f tex2rtf$(EXEEXT) |
152 | rm -f tex2rtf_gui$(EXEEXT) | |
f98da3fb VS |
153 | |
154 | distclean: clean | |
155 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
156 | ||
b328fad3 | 157 | tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS) |
ec08d395 | 158 | $(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) |
f98da3fb VS |
159 | |
160 | $(__tex2rtf___mac_setfilecmd) | |
161 | ||
b17c1746 DE |
162 | install_tex2rtf: |
163 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
164 | $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir) | |
165 | ||
8be1c2c5 | 166 | @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc) |
5259a417 | 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) |
8be1c2c5 VS |
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) | |
f98da3fb | 171 | |
b17c1746 DE |
172 | @COND_USE_GUI_1@install_tex2rtf_gui: |
173 | @COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
174 | @COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir) | |
f98da3fb | 175 | |
b17c1746 DE |
176 | tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
177 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
f98da3fb | 178 | |
b17c1746 DE |
179 | tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp |
180 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
181 | ||
182 | tex2rtf_texutils.o: $(srcdir)/texutils.cpp | |
183 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
184 | ||
185 | tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp | |
186 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
187 | ||
188 | tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp | |
189 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
190 | ||
191 | tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp | |
192 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
193 | ||
194 | tex2rtf_readshg.o: $(srcdir)/readshg.cpp | |
195 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
196 | ||
197 | tex2rtf_table.o: $(srcdir)/table.cpp | |
198 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
f98da3fb VS |
199 | |
200 | tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
c3255f5f | 201 | $(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 | 202 | |
b17c1746 | 203 | tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
b328fad3 | 204 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
205 | |
206 | tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp | |
b328fad3 | 207 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 208 | |
b17c1746 | 209 | tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp |
b328fad3 | 210 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 211 | |
b17c1746 | 212 | tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp |
b328fad3 | 213 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
214 | |
215 | tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp | |
b328fad3 | 216 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 217 | |
b17c1746 DE |
218 | tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp |
219 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 220 | |
b17c1746 DE |
221 | tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp |
222 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 223 | |
b17c1746 DE |
224 | tex2rtf_gui_table.o: $(srcdir)/table.cpp |
225 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb VS |
226 | |
227 | ||
228 | # Include dependency info, if present: | |
229 | @IF_GNU_MAKE@-include .deps/*.d | |
230 | ||
b17c1746 | 231 | .PHONY: all install uninstall clean distclean install_tex2rtf install_tex2rtf_gui |