2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-05-04 00:47:24 +00:00
|
|
|
DISTCLEANFILES += config.h libintl.h version.cpp stamp-version version.cpp-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
|
|
|
|
2007-04-28 15:05:08 +00:00
|
|
|
EXTRA_DIST = config.h.in stamp-h.in version.cpp.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
|
|
|
|
2007-05-04 00:47:24 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE) version.cpp
|
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 19:21:38 +00:00
|
|
|
$(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
Author.cpp \
|
|
|
|
Author.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Bidi.cpp \
|
|
|
|
Bidi.h \
|
2007-04-25 18:04:04 +00:00
|
|
|
boost.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
Box.cpp \
|
2007-04-26 19:21:38 +00:00
|
|
|
Box.h \
|
|
|
|
BranchList.cpp \
|
|
|
|
BranchList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Buffer.cpp \
|
|
|
|
buffer_funcs.cpp \
|
2003-06-20 12:46:28 +00:00
|
|
|
buffer_funcs.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Buffer.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
BufferList.cpp \
|
|
|
|
BufferList.h \
|
|
|
|
BufferParams.cpp \
|
|
|
|
BufferParams.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
BufferView.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
bufferview_funcs.cpp \
|
2000-04-12 14:20:08 +00:00
|
|
|
bufferview_funcs.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
BufferView.h \
|
|
|
|
Bullet.cpp \
|
|
|
|
Bullet.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Changes.cpp \
|
|
|
|
Changes.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Chktex.cpp \
|
|
|
|
Chktex.h \
|
|
|
|
Color.cpp \
|
|
|
|
Color.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
config.h.in \
|
2007-04-26 19:21:38 +00:00
|
|
|
ConverterCache.cpp \
|
|
|
|
ConverterCache.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Converter.cpp \
|
|
|
|
Converter.h \
|
|
|
|
CoordCache.cpp \
|
|
|
|
CoordCache.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Counters.cpp \
|
|
|
|
Counters.h \
|
2007-04-26 14:56:30 +00:00
|
|
|
Cursor.cpp \
|
|
|
|
Cursor.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
CursorSlice.cpp \
|
|
|
|
CursorSlice.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
CutAndPaste.cpp \
|
|
|
|
CutAndPaste.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
debug.cpp \
|
1999-10-07 18:44:17 +00:00
|
|
|
debug.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
DepTable.cpp \
|
|
|
|
DepTable.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Dimension.cpp \
|
|
|
|
Dimension.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
DispatchResult.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
DocIterator.cpp \
|
|
|
|
DocIterator.h \
|
|
|
|
Encoding.cpp \
|
|
|
|
Encoding.h \
|
|
|
|
ErrorList.cpp \
|
|
|
|
ErrorList.h \
|
|
|
|
Exporter.cpp \
|
|
|
|
Exporter.h \
|
|
|
|
factory.cpp \
|
2007-04-26 19:21:38 +00:00
|
|
|
factory.h \
|
|
|
|
Floating.cpp \
|
|
|
|
Floating.h \
|
|
|
|
FloatList.cpp \
|
|
|
|
FloatList.h \
|
2007-04-29 18:17:15 +00:00
|
|
|
Font.cpp \
|
|
|
|
Font.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
FontIterator.cpp \
|
|
|
|
FontIterator.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Format.cpp \
|
|
|
|
Format.h \
|
|
|
|
FuncRequest.cpp \
|
2007-04-26 19:21:38 +00:00
|
|
|
FuncRequest.h \
|
|
|
|
FuncStatus.cpp \
|
|
|
|
FuncStatus.h \
|
|
|
|
gettext.cpp \
|
|
|
|
gettext.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Graph.cpp \
|
|
|
|
Graph.h \
|
|
|
|
Importer.cpp \
|
|
|
|
Importer.h \
|
|
|
|
InsetIterator.cpp \
|
|
|
|
InsetIterator.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
InsetList.cpp \
|
|
|
|
InsetList.h \
|
|
|
|
Intl.cpp \
|
|
|
|
Intl.h \
|
2007-04-27 08:05:58 +00:00
|
|
|
KeyMap.cpp \
|
|
|
|
KeyMap.h \
|
2007-04-27 08:19:12 +00:00
|
|
|
KeySequence.cpp \
|
|
|
|
KeySequence.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Language.cpp \
|
|
|
|
Language.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
LaTeX.cpp \
|
|
|
|
LaTeXFeatures.cpp \
|
|
|
|
LaTeXFeatures.h \
|
|
|
|
LaTeX.h \
|
2007-04-29 22:04:32 +00:00
|
|
|
Layout.cpp \
|
|
|
|
Layout.h \
|
2007-04-28 12:58:49 +00:00
|
|
|
Length.cpp \
|
|
|
|
Length.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 19:21:38 +00:00
|
|
|
LyXAction.cpp \
|
|
|
|
LyXAction.h \
|
2007-04-28 20:44:46 +00:00
|
|
|
callback.cpp \
|
|
|
|
callback.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyX.cpp \
|
|
|
|
lyxfind.cpp \
|
2001-03-06 10:20:33 +00:00
|
|
|
lyxfind.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXFunc.cpp \
|
|
|
|
LyXFunc.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
LyX.h \
|
2002-06-27 07:57:59 +00:00
|
|
|
lyxlayout_ptr_fwd.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXRC.cpp \
|
|
|
|
LyXRC.h \
|
2007-04-29 16:22:46 +00:00
|
|
|
Server.cpp \
|
|
|
|
Server.h \
|
|
|
|
ServerSocket.cpp \
|
|
|
|
ServerSocket.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXVC.cpp \
|
|
|
|
LyXVC.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
MenuBackend.cpp \
|
|
|
|
MenuBackend.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Messages.cpp \
|
|
|
|
Messages.h \
|
|
|
|
MetricsInfo.cpp \
|
|
|
|
MetricsInfo.h \
|
|
|
|
Mover.cpp \
|
|
|
|
Mover.h \
|
|
|
|
output.cpp \
|
|
|
|
output_docbook.cpp \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_docbook.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
output.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 19:21:38 +00:00
|
|
|
OutputParams.cpp \
|
|
|
|
OutputParams.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 \
|
2007-04-26 19:21:38 +00:00
|
|
|
paragraph_funcs.cpp \
|
|
|
|
paragraph_funcs.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Paragraph.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
ParagraphList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ParagraphMetrics.cpp \
|
2006-12-29 23:54:48 +00:00
|
|
|
ParagraphMetrics.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
ParagraphParameters.cpp \
|
|
|
|
ParagraphParameters.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ParIterator.cpp \
|
|
|
|
ParIterator.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
PrinterParams.cpp \
|
|
|
|
PrinterParams.h \
|
|
|
|
Row.cpp \
|
|
|
|
Row.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
rowpainter.cpp \
|
2003-02-26 17:04:10 +00:00
|
|
|
rowpainter.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Session.cpp \
|
|
|
|
Session.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
sgml.cpp \
|
2002-08-09 00:42:12 +00:00
|
|
|
sgml.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Spacing.cpp \
|
|
|
|
Spacing.h \
|
|
|
|
SpellBase.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
TexRow.cpp \
|
|
|
|
TexRow.h \
|
2007-04-29 23:33:02 +00:00
|
|
|
Text.h \
|
|
|
|
Text.cpp \
|
|
|
|
Text2.cpp \
|
|
|
|
Text3.cpp \
|
|
|
|
TextClass.cpp \
|
|
|
|
TextClass.h \
|
|
|
|
TextClassList.cpp \
|
|
|
|
TextClassList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
TextMetrics.cpp \
|
2006-12-29 23:54:48 +00:00
|
|
|
TextMetrics.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Thesaurus.cpp \
|
|
|
|
Thesaurus.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 19:21:38 +00:00
|
|
|
ToolbarBackend.cpp \
|
|
|
|
ToolbarBackend.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Trans.cpp \
|
|
|
|
Trans.h \
|
|
|
|
Undo.cpp \
|
|
|
|
Undo.h \
|
2007-04-28 20:44:46 +00:00
|
|
|
update_flags.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
VCBackend.cpp \
|
|
|
|
VCBackend.h \
|
2007-05-04 00:47:24 +00:00
|
|
|
version.cpp \
|
1999-09-27 18:44:28 +00:00
|
|
|
version.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
WordLangTuple.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
VSpace.cpp \
|
|
|
|
VSpace.h
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2007-05-04 00:47:24 +00:00
|
|
|
version.cpp: stamp-version
|
2003-08-02 21:29:24 +00:00
|
|
|
@:
|
|
|
|
|
2007-05-04 00:47:24 +00:00
|
|
|
stamp-version: version.cpp-tmp
|
|
|
|
if cmp -s $< version.cpp ; then \
|
2003-08-02 21:29:24 +00:00
|
|
|
: ;\
|
|
|
|
else \
|
2007-05-04 00:47:24 +00:00
|
|
|
rm -f version.cpp ;\
|
|
|
|
cp $< version.cpp ;\
|
2003-08-02 21:29:24 +00:00
|
|
|
fi
|
|
|
|
echo timestamp > $@
|