2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2004-05-28 07:14:58 +00:00
|
|
|
DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-tmp
|
2002-03-13 18:24:44 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES += $(srcdir)/config.h.in
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
if BUILD_CLIENT_SUBDIR
|
|
|
|
CLIENT = client
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = mathed insets graphics support frontends . $(CLIENT) tex2lyx
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2004-06-09 13:14:36 +00:00
|
|
|
EXTRA_DIST = config.h.in stamp-h.in version.C.in \
|
2007-04-26 04:41:58 +00:00
|
|
|
Section.h \
|
|
|
|
Section.cpp \
|
|
|
|
Variables.cpp \
|
2003-05-08 18:05:07 +00:00
|
|
|
Variables.h \
|
2005-07-12 23:42:23 +00:00
|
|
|
paper.h \
|
|
|
|
pch.h
|
2003-05-08 18:05:07 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
|
2003-09-09 18:27:24 +00:00
|
|
|
frontends/libfrontends.la
|
2001-09-09 22:02:19 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
|
2002-03-20 19:06:32 +00:00
|
|
|
graphics/libgraphics.la \
|
|
|
|
support/libsupport.la
|
2002-03-12 17:15:44 +00:00
|
|
|
|
Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
* src/Makefile.am, src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
* remove src/support/gzstream.h, .C
* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
device/mapped_file.hpp, detail/system_failure.hpp,
detail/config/windows_posix.hpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
|
|
|
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
|
2002-05-25 00:19:56 +00:00
|
|
|
|
2006-08-22 15:43:48 +00:00
|
|
|
OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
|
2002-03-25 11:15:27 +00:00
|
|
|
|
2003-09-09 18:27:24 +00:00
|
|
|
bin_PROGRAMS = lyx
|
2003-08-02 20:01:52 +00:00
|
|
|
noinst_PROGRAMS = $(FRONTENDS_PROGS)
|
2006-10-22 18:05:16 +00:00
|
|
|
EXTRA_PROGRAMS = lyx-qt4
|
2003-08-02 20:01:52 +00:00
|
|
|
|
2006-03-05 17:29:08 +00:00
|
|
|
lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
|
|
|
|
frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
|
2007-04-26 04:41:58 +00:00
|
|
|
lyx_qt4_SOURCES = main.cpp
|
2006-03-05 17:29:08 +00:00
|
|
|
|
2003-08-02 20:01:52 +00:00
|
|
|
lyx$(EXEEXT): $(FRONTENDS_PROGS)
|
|
|
|
rm -f $@
|
|
|
|
$(LN_S) $< $@
|
2003-05-20 08:44:01 +00:00
|
|
|
|
2000-08-03 21:17:52 +00:00
|
|
|
#lyx_LDFLAGS=-Wl,-O1
|
2002-03-12 17:15:44 +00:00
|
|
|
|
2005-07-12 23:42:23 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE) version.C
|
2002-03-25 22:07:48 +00:00
|
|
|
|
2005-05-20 16:56:28 +00:00
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
|
2004-08-15 21:45:30 +00:00
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
if USE_ASPELL
|
2007-04-26 04:41:58 +00:00
|
|
|
ASPELL = ASpell.cpp ASpell_local.h
|
2005-05-02 13:35:30 +00:00
|
|
|
endif
|
|
|
|
if USE_PSPELL
|
2007-04-26 04:41:58 +00:00
|
|
|
PSPELL = PSpell.cpp PSpell.h
|
2005-05-02 13:35:30 +00:00
|
|
|
endif
|
|
|
|
if USE_ISPELL
|
2007-04-26 04:41:58 +00:00
|
|
|
ISPELL = ISpell.cpp ISpell.h
|
2005-05-02 13:35:30 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_SOURCES = \
|
2007-04-26 04:41:58 +00:00
|
|
|
Bidi.cpp \
|
2003-10-23 13:28:49 +00:00
|
|
|
Bidi.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
BufferView.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
BufferView.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Bullet.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
Bullet.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
BranchList.cpp \
|
2003-08-17 11:28:23 +00:00
|
|
|
BranchList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Chktex.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
Chktex.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
color.cpp \
|
|
|
|
color.h \
|
|
|
|
ConverterCache.cpp \
|
2006-11-13 10:27:57 +00:00
|
|
|
ConverterCache.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
CutAndPaste.cpp \
|
2000-04-10 14:29:05 +00:00
|
|
|
CutAndPaste.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
DepTable.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
DepTable.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
FloatList.cpp \
|
2000-06-28 13:35:52 +00:00
|
|
|
FloatList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Floating.cpp \
|
2000-06-28 13:35:52 +00:00
|
|
|
Floating.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
FontIterator.cpp \
|
2004-03-01 10:46:58 +00:00
|
|
|
FontIterator.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
FuncStatus.cpp \
|
2002-01-09 09:36:35 +00:00
|
|
|
FuncStatus.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
InsetList.cpp \
|
2002-08-11 15:03:52 +00:00
|
|
|
InsetList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LColor.cpp \
|
2000-02-10 17:53:36 +00:00
|
|
|
LColor.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LaTeX.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
LaTeX.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LaTeXFeatures.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
LaTeXFeatures.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXAction.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
LyXAction.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
MenuBackend.cpp \
|
2000-07-24 13:53:19 +00:00
|
|
|
MenuBackend.h \
|
2006-03-28 09:15:28 +00:00
|
|
|
ParagraphList.h \
|
2003-09-09 23:10:07 +00:00
|
|
|
ParagraphList_fwd.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ParagraphParameters.cpp \
|
2001-03-06 14:07:14 +00:00
|
|
|
ParagraphParameters.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
PrinterParams.cpp \
|
2000-06-12 11:27:15 +00:00
|
|
|
PrinterParams.h \
|
2003-09-09 23:10:07 +00:00
|
|
|
RowList_fwd.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Spacing.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
Spacing.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Thesaurus.cpp \
|
2001-07-29 10:42:11 +00:00
|
|
|
Thesaurus.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ToolbarBackend.cpp \
|
2003-04-02 18:08:05 +00:00
|
|
|
ToolbarBackend.h \
|
2006-11-22 20:13:02 +00:00
|
|
|
UpdateFlags.h \
|
2002-08-11 20:00:02 +00:00
|
|
|
WordLangTuple.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Author.cpp \
|
|
|
|
Author.h \
|
2007-04-25 18:04:04 +00:00
|
|
|
boost.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
Box.h \
|
|
|
|
Box.cpp \
|
|
|
|
Buffer.cpp \
|
|
|
|
Buffer.h \
|
|
|
|
buffer_funcs.cpp \
|
2003-06-20 12:46:28 +00:00
|
|
|
buffer_funcs.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
BufferList.cpp \
|
|
|
|
BufferList.h \
|
|
|
|
BufferParams.cpp \
|
|
|
|
BufferParams.h \
|
|
|
|
bufferview_funcs.cpp \
|
2000-04-12 14:20:08 +00:00
|
|
|
bufferview_funcs.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Changes.cpp \
|
|
|
|
Changes.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
config.h.in \
|
2007-04-26 04:41:58 +00:00
|
|
|
Converter.cpp \
|
|
|
|
Converter.h \
|
|
|
|
Counters.cpp \
|
|
|
|
Counters.h \
|
|
|
|
CoordCache.cpp \
|
|
|
|
CoordCache.h \
|
|
|
|
LCursor.cpp \
|
|
|
|
LCursor.h \
|
|
|
|
CursorSlice.cpp \
|
|
|
|
CursorSlice.h \
|
|
|
|
debug.cpp \
|
1999-10-07 18:44:17 +00:00
|
|
|
debug.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Dimension.cpp \
|
|
|
|
Dimension.h \
|
|
|
|
DocIterator.cpp \
|
|
|
|
DocIterator.h \
|
|
|
|
DispatchResult.h \
|
|
|
|
Encoding.cpp \
|
|
|
|
Encoding.h \
|
|
|
|
ErrorList.cpp \
|
|
|
|
ErrorList.h \
|
|
|
|
Exporter.cpp \
|
|
|
|
Exporter.h \
|
|
|
|
gettext.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
gettext.h \
|
2002-08-27 10:14:56 +00:00
|
|
|
factory.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
factory.cpp \
|
|
|
|
Format.cpp \
|
|
|
|
Format.h \
|
|
|
|
FuncRequest.h \
|
|
|
|
FuncRequest.cpp \
|
|
|
|
Graph.cpp \
|
|
|
|
Graph.h \
|
|
|
|
Importer.cpp \
|
|
|
|
Importer.h \
|
|
|
|
Intl.cpp \
|
|
|
|
Intl.h \
|
|
|
|
InsetIterator.cpp \
|
|
|
|
InsetIterator.h \
|
|
|
|
kb_keymap.cpp \
|
|
|
|
kb_keymap.h \
|
|
|
|
kb_sequence.cpp \
|
|
|
|
kb_sequence.h \
|
|
|
|
Language.cpp \
|
|
|
|
Language.h \
|
|
|
|
Session.cpp \
|
|
|
|
Session.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
layout.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
lengthcommon.cpp \
|
2001-12-02 23:47:06 +00:00
|
|
|
lengthcommon.h \
|
2007-04-26 11:30:54 +00:00
|
|
|
Lexer.cpp \
|
|
|
|
Lexer.h \
|
2004-03-01 17:12:09 +00:00
|
|
|
lfuns.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
lyx_cb.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_cb.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyX.cpp \
|
|
|
|
LyX.h \
|
|
|
|
lyx_sty.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx_sty.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXFont.cpp \
|
|
|
|
LyXFont.h \
|
|
|
|
lyxfind.cpp \
|
2001-03-06 10:20:33 +00:00
|
|
|
lyxfind.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXFunc.cpp \
|
|
|
|
LyXFunc.h \
|
|
|
|
LyXGlueLength.cpp \
|
|
|
|
LyXGlueLength.h \
|
|
|
|
LyXLayout.cpp \
|
|
|
|
LyXLayout.h \
|
2002-06-27 07:57:59 +00:00
|
|
|
lyxlayout_ptr_fwd.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXLength.cpp \
|
|
|
|
LyXLength.h \
|
|
|
|
LyXRC.cpp \
|
|
|
|
LyXRC.h \
|
|
|
|
Row.cpp \
|
|
|
|
Row.h \
|
|
|
|
LyXServer.cpp \
|
|
|
|
LyXServer.h \
|
|
|
|
LyXServerSocket.cpp \
|
|
|
|
LyXServerSocket.h \
|
|
|
|
LyXText.h \
|
|
|
|
LyXTextClass.cpp \
|
|
|
|
LyXTextClass.h \
|
|
|
|
LyXTextClassList.cpp \
|
|
|
|
LyXTextClassList.h \
|
|
|
|
LyXVC.cpp \
|
|
|
|
LyXVC.h \
|
|
|
|
Messages.cpp \
|
|
|
|
Messages.h \
|
|
|
|
MetricsInfo.cpp \
|
|
|
|
MetricsInfo.h \
|
|
|
|
Mover.cpp \
|
|
|
|
Mover.h \
|
|
|
|
output.cpp \
|
2003-11-05 12:06:20 +00:00
|
|
|
output.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
OutputParams.cpp \
|
|
|
|
OutputParams.h \
|
|
|
|
output_docbook.cpp \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_docbook.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
output_latex.cpp \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_latex.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
output_plaintext.cpp \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_plaintext.h \
|
2003-08-02 21:29:24 +00:00
|
|
|
paper.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Paragraph.cpp \
|
|
|
|
Paragraph.h \
|
|
|
|
ParagraphMetrics.cpp \
|
2006-12-29 23:54:48 +00:00
|
|
|
ParagraphMetrics.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
paragraph_funcs.cpp \
|
2003-11-10 09:06:48 +00:00
|
|
|
paragraph_funcs.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ParIterator.cpp \
|
|
|
|
ParIterator.h \
|
|
|
|
$(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
|
2002-08-04 23:11:50 +00:00
|
|
|
SpellBase.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
rowpainter.cpp \
|
2003-02-26 17:04:10 +00:00
|
|
|
rowpainter.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
sgml.cpp \
|
2002-08-09 00:42:12 +00:00
|
|
|
sgml.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
tex-accent.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
tex-accent.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
tex-strings.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
tex-strings.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
TexRow.cpp \
|
|
|
|
TexRow.h \
|
|
|
|
text.cpp \
|
|
|
|
text2.cpp \
|
|
|
|
text3.cpp \
|
|
|
|
TextMetrics.cpp \
|
2006-12-29 23:54:48 +00:00
|
|
|
TextMetrics.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
TocBackend.cpp \
|
2006-04-22 18:48:28 +00:00
|
|
|
TocBackend.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
toc.cpp \
|
2002-07-21 15:51:07 +00:00
|
|
|
toc.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Trans.cpp \
|
|
|
|
Trans.h \
|
|
|
|
KmodInfo.h \
|
|
|
|
TransState.cpp \
|
|
|
|
TransState.h \
|
|
|
|
Undo.cpp \
|
|
|
|
Undo.h \
|
|
|
|
VCBackend.cpp \
|
|
|
|
VCBackend.h \
|
2001-10-03 15:49:32 +00:00
|
|
|
version.C \
|
1999-09-27 18:44:28 +00:00
|
|
|
version.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
VSpace.cpp \
|
|
|
|
VSpace.h
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-08-02 21:29:24 +00:00
|
|
|
version.C: stamp-version
|
|
|
|
@:
|
|
|
|
|
|
|
|
stamp-version: version.C-tmp
|
|
|
|
if cmp -s $< version.C ; then \
|
|
|
|
: ;\
|
|
|
|
else \
|
|
|
|
rm -f version.C ;\
|
|
|
|
cp $< version.C ;\
|
|
|
|
fi
|
|
|
|
echo timestamp > $@
|