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