]>
Commit | Line | Data |
---|---|---|
f98da3fb VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c3255f5f | 3 | # Bakefile 0.1.3 (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@ | |
f98da3fb VS |
29 | TOOLKIT = @TOOLKIT@ |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
32 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
33 | EXTRALIBS = @EXTRALIBS@ | |
5259a417 | 34 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ |
b17c1746 DE |
35 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
36 | HOST_SUFFIX = @HOST_SUFFIX@ | |
ffaaaacb | 37 | |
f98da3fb | 38 | ### Variables: ### |
ffaaaacb | 39 | |
a4ad36cd | 40 | DESTDIR = |
f98da3fb | 41 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
42 | TEX2RTF_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
43 | $(__DLLFLAG_p) -DNO_GUI $(CPPFLAGS) $(CXXFLAGS) | |
b17c1746 DE |
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 | |
9bfe7ad9 VS |
53 | TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
54 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
f98da3fb VS |
55 | TEX2RTF_GUI_OBJECTS = \ |
56 | $(__tex2rtf_gui___win32rc) \ | |
a4ad36cd | 57 | $(__tex2rtf_gui_os2_lib_res) \ |
f98da3fb VS |
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 | |
ffaaaacb | 66 | |
f98da3fb VS |
67 | ### Conditionally set variables: ### |
68 | ||
b328fad3 VS |
69 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
70 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
f98da3fb VS |
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 | |
f98da3fb | 78 | @COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \ |
b328fad3 | 79 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT) |
8be1c2c5 | 80 | @COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT) |
f98da3fb | 81 | @COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \ |
b328fad3 | 82 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT) |
b17c1746 DE |
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 | |
ec08d395 JS |
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) | |
f98da3fb | 92 | @COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o |
a4ad36cd VS |
93 | @COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \ |
94 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
5259a417 RL |
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) | |
b17c1746 DE |
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 \ | |
c3255f5f | 104 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o tex2rtf_gui$(EXEEXT) \ |
5259a417 | 105 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r |
b17c1746 DE |
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 = \ | |
b92ca8cf | 128 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX) |
b17c1746 DE |
129 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
130 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
f98da3fb VS |
131 | |
132 | ### Targets: ### | |
133 | ||
8be1c2c5 | 134 | all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname) |
f98da3fb | 135 | |
b17c1746 DE |
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 | ||
f98da3fb VS |
144 | clean: |
145 | rm -rf ./.deps ./.pch | |
146 | rm -f ./*.o | |
b328fad3 VS |
147 | rm -f tex2rtf$(EXEEXT) |
148 | rm -f tex2rtf_gui$(EXEEXT) | |
f98da3fb VS |
149 | |
150 | distclean: clean | |
151 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
152 | ||
b328fad3 | 153 | tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS) |
ec08d395 | 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) |
f98da3fb VS |
155 | |
156 | $(__tex2rtf___mac_setfilecmd) | |
157 | ||
b17c1746 DE |
158 | install_tex2rtf: |
159 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
160 | $(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir) | |
161 | ||
8be1c2c5 | 162 | @COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc) |
5259a417 | 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) |
8be1c2c5 VS |
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) | |
f98da3fb | 167 | |
b17c1746 DE |
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) | |
f98da3fb | 171 | |
b17c1746 DE |
172 | tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
173 | $(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $< | |
f98da3fb | 174 | |
b17c1746 DE |
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) $< | |
f98da3fb VS |
195 | |
196 | tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
c3255f5f | 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 |
f98da3fb | 198 | |
b17c1746 | 199 | tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp |
b328fad3 | 200 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
201 | |
202 | tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp | |
b328fad3 | 203 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 204 | |
b17c1746 | 205 | tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp |
b328fad3 | 206 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 207 | |
b17c1746 | 208 | tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp |
b328fad3 | 209 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb VS |
210 | |
211 | tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp | |
b328fad3 | 212 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< |
f98da3fb | 213 | |
b17c1746 DE |
214 | tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp |
215 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 216 | |
b17c1746 DE |
217 | tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp |
218 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb | 219 | |
b17c1746 DE |
220 | tex2rtf_gui_table.o: $(srcdir)/table.cpp |
221 | $(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $< | |
f98da3fb VS |
222 | |
223 | ||
224 | # Include dependency info, if present: | |
225 | @IF_GNU_MAKE@-include .deps/*.d | |
226 | ||
b17c1746 | 227 | .PHONY: all install uninstall clean distclean install_tex2rtf install_tex2rtf_gui |