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