2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-08-11 10:32:36 +00:00
|
|
|
############################### Core ##############################
|
|
|
|
|
2010-04-13 12:33:57 +00:00
|
|
|
DISTCLEANFILES += libintl.h
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2011-06-14 14:32:42 +00:00
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES) $(ENCHANT_CFLAGS) $(HUNSPELL_CFLAGS)
|
2009-05-16 18:48:41 +00:00
|
|
|
AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
|
2007-08-12 18:42:57 +00:00
|
|
|
|
2008-04-29 09:56:55 +00:00
|
|
|
if BUILD_CLIENT_SUBDIR
|
|
|
|
CLIENT = client
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = support frontends . $(CLIENT) tex2lyx
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2010-04-13 12:33:57 +00:00
|
|
|
EXTRA_DIST = pch.h
|
2003-05-08 18:05:07 +00:00
|
|
|
|
2011-02-10 20:31:07 +00:00
|
|
|
OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(MYTHES_LIBS) \
|
2011-06-14 14:32:42 +00:00
|
|
|
$(ENCHANT_LIBS) $(HUNSPELL_LIBS) @LIBS@ $(SOCKET_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
|
2002-03-25 11:15:27 +00:00
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
noinst_LIBRARIES = liblyxcore.a
|
2007-08-14 23:24:38 +00:00
|
|
|
bin_PROGRAMS = lyx
|
2003-08-02 20:01:52 +00:00
|
|
|
|
2007-08-14 23:24:38 +00:00
|
|
|
lyx_LDADD = \
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxcore.a \
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxmathed.a \
|
|
|
|
liblyxinsets.a \
|
2008-11-15 17:45:55 +00:00
|
|
|
frontends/liblyxfrontends.a \
|
|
|
|
frontends/qt4/liblyxqt4.a \
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxgraphics.a \
|
2008-11-15 17:45:55 +00:00
|
|
|
support/liblyxsupport.a \
|
2007-08-13 19:08:35 +00:00
|
|
|
$(OTHERLIBS) \
|
2008-11-15 17:45:55 +00:00
|
|
|
$(QT4_LDFLAGS) \
|
2009-07-12 22:46:01 +00:00
|
|
|
$(QT4_LIB)
|
2006-03-05 17:29:08 +00:00
|
|
|
|
2007-08-14 01:34:26 +00:00
|
|
|
if LYX_WIN_RESOURCE
|
|
|
|
.rc.o:
|
|
|
|
cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
|
2008-11-05 18:25:24 +00:00
|
|
|
windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
|
2007-08-14 01:34:26 +00:00
|
|
|
endif
|
|
|
|
|
2000-08-03 21:17:52 +00:00
|
|
|
#lyx_LDFLAGS=-Wl,-O1
|
2002-03-12 17:15:44 +00:00
|
|
|
|
2007-08-13 12:04:57 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE)
|
2002-03-25 22:07:48 +00:00
|
|
|
|
2010-07-08 07:44:34 +00:00
|
|
|
if INSTALL_MACOSX
|
2010-07-08 07:54:42 +00:00
|
|
|
APPLESPELL = AppleSpellChecker.cpp AppleSpellChecker.h
|
2010-07-08 07:44:34 +00:00
|
|
|
endif
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
if USE_ASPELL
|
2009-08-01 17:24:13 +00:00
|
|
|
ASPELL = AspellChecker.cpp AspellChecker.h
|
2010-12-02 18:52:31 +00:00
|
|
|
PWL = PersonalWordList.cpp PersonalWordList.h
|
2005-05-02 13:35:30 +00:00
|
|
|
endif
|
|
|
|
|
2010-01-22 15:26:38 +00:00
|
|
|
if USE_ENCHANT
|
|
|
|
ENCHANT = EnchantChecker.cpp EnchantChecker.h
|
2010-12-02 18:52:31 +00:00
|
|
|
PWL = PersonalWordList.cpp PersonalWordList.h
|
2010-01-22 15:26:38 +00:00
|
|
|
endif
|
|
|
|
|
2009-07-12 22:46:01 +00:00
|
|
|
if USE_HUNSPELL
|
2009-08-01 17:24:13 +00:00
|
|
|
HUNSPELL = HunspellChecker.cpp HunspellChecker.h
|
2010-12-02 18:52:31 +00:00
|
|
|
PWL = PersonalWordList.cpp PersonalWordList.h
|
2009-07-12 22:46:01 +00:00
|
|
|
endif
|
|
|
|
|
2007-08-13 19:13:39 +00:00
|
|
|
# These four objects are linked as object files as they are not
|
|
|
|
# referenced within the core and therefore are not picked up
|
|
|
|
# by the linker without looping over libs. We do not want that,
|
|
|
|
# and in fact libtools seems not able to do that.
|
2007-08-14 23:24:38 +00:00
|
|
|
lyx_SOURCES = \
|
2007-08-13 19:08:35 +00:00
|
|
|
main.cpp \
|
2010-07-08 07:54:42 +00:00
|
|
|
$(APPLESPELL) \
|
2009-03-29 19:49:52 +00:00
|
|
|
$(ASPELL) \
|
2008-04-25 20:03:03 +00:00
|
|
|
BiblioInfo.h \
|
|
|
|
BiblioInfo.cpp \
|
2007-08-13 19:08:35 +00:00
|
|
|
Box.cpp \
|
|
|
|
Box.h \
|
2009-10-26 15:45:33 +00:00
|
|
|
Compare.cpp \
|
|
|
|
Compare.h \
|
2007-08-13 19:08:35 +00:00
|
|
|
Dimension.cpp \
|
|
|
|
Dimension.h \
|
2010-01-22 15:26:38 +00:00
|
|
|
$(ENCHANT) \
|
2009-07-12 22:46:01 +00:00
|
|
|
$(HUNSPELL) \
|
2010-12-02 18:52:31 +00:00
|
|
|
$(PWL) \
|
2007-08-13 19:08:35 +00:00
|
|
|
PrinterParams.cpp \
|
|
|
|
PrinterParams.h \
|
|
|
|
Thesaurus.cpp \
|
|
|
|
Thesaurus.h
|
2005-05-02 13:35:30 +00:00
|
|
|
|
2007-08-14 01:34:26 +00:00
|
|
|
if LYX_WIN_RESOURCE
|
2007-08-14 23:24:38 +00:00
|
|
|
lyx_SOURCES += lyxwinres.rc
|
2007-08-14 01:34:26 +00:00
|
|
|
endif
|
|
|
|
|
2007-11-17 15:37:29 +00:00
|
|
|
SOURCEFILESCORE = \
|
2007-04-26 04:41:58 +00:00
|
|
|
Author.cpp \
|
2007-04-26 19:21:38 +00:00
|
|
|
Bidi.cpp \
|
2007-04-25 18:04:04 +00:00
|
|
|
boost.cpp \
|
2007-04-26 19:21:38 +00:00
|
|
|
BranchList.cpp \
|
2007-04-26 04:41:58 +00:00
|
|
|
Buffer.cpp \
|
|
|
|
buffer_funcs.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
BufferList.cpp \
|
|
|
|
BufferParams.cpp \
|
|
|
|
BufferView.cpp \
|
|
|
|
Bullet.cpp \
|
|
|
|
Changes.cpp \
|
|
|
|
Chktex.cpp \
|
|
|
|
CmdDef.cpp \
|
|
|
|
Color.cpp \
|
|
|
|
ConverterCache.cpp \
|
|
|
|
Converter.cpp \
|
|
|
|
CoordCache.cpp \
|
|
|
|
Counters.cpp \
|
|
|
|
Cursor.cpp \
|
|
|
|
CursorSlice.cpp \
|
|
|
|
CutAndPaste.cpp \
|
|
|
|
DepTable.cpp \
|
|
|
|
DocIterator.cpp \
|
|
|
|
Encoding.cpp \
|
|
|
|
ErrorList.cpp \
|
|
|
|
Exporter.cpp \
|
|
|
|
factory.cpp \
|
|
|
|
Floating.cpp \
|
|
|
|
FloatList.cpp \
|
|
|
|
FontInfo.cpp \
|
|
|
|
FontList.cpp \
|
|
|
|
Font.cpp \
|
|
|
|
Format.cpp \
|
|
|
|
FuncRequest.cpp \
|
|
|
|
FuncStatus.cpp \
|
|
|
|
Graph.cpp \
|
2009-07-19 21:13:27 +00:00
|
|
|
HSpace.cpp \
|
2009-04-16 07:29:01 +00:00
|
|
|
IndicesList.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
InsetIterator.cpp \
|
|
|
|
InsetList.cpp \
|
|
|
|
Intl.cpp \
|
|
|
|
KeyMap.cpp \
|
|
|
|
KeySequence.cpp \
|
|
|
|
Language.cpp \
|
|
|
|
LaTeX.cpp \
|
|
|
|
LaTeXFeatures.cpp \
|
2008-03-07 03:53:21 +00:00
|
|
|
LayoutFile.cpp \
|
2009-02-21 16:45:37 +00:00
|
|
|
LayoutModuleList.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
Length.cpp \
|
|
|
|
lengthcommon.cpp \
|
|
|
|
Lexer.cpp \
|
|
|
|
LyX.cpp \
|
2008-02-25 18:42:57 +00:00
|
|
|
LyXAction.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
lyxfind.cpp \
|
|
|
|
LyXRC.cpp \
|
|
|
|
LyXVC.cpp \
|
|
|
|
MetricsInfo.cpp \
|
|
|
|
ModuleList.cpp \
|
|
|
|
Mover.cpp \
|
|
|
|
output_docbook.cpp \
|
|
|
|
output.cpp \
|
|
|
|
output_latex.cpp \
|
2009-06-05 17:44:35 +00:00
|
|
|
output_xhtml.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
OutputParams.cpp \
|
|
|
|
output_plaintext.cpp \
|
|
|
|
Paragraph.cpp \
|
2008-02-25 01:56:53 +00:00
|
|
|
ParagraphMetrics.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
ParagraphParameters.cpp \
|
|
|
|
ParIterator.cpp \
|
|
|
|
PDFOptions.cpp \
|
|
|
|
Row.cpp \
|
|
|
|
rowpainter.cpp \
|
|
|
|
Server.cpp \
|
|
|
|
ServerSocket.cpp \
|
|
|
|
sgml.cpp \
|
|
|
|
Session.cpp \
|
|
|
|
Spacing.cpp \
|
|
|
|
TexRow.cpp \
|
|
|
|
Text.cpp \
|
|
|
|
Text2.cpp \
|
|
|
|
Text3.cpp \
|
|
|
|
TexStream.cpp \
|
2008-03-01 17:22:19 +00:00
|
|
|
TextClass.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
TextMetrics.cpp \
|
|
|
|
TocBackend.cpp \
|
|
|
|
Trans.cpp \
|
|
|
|
Undo.cpp \
|
|
|
|
VCBackend.cpp \
|
|
|
|
version.cpp \
|
|
|
|
VSpace.cpp \
|
2008-02-25 01:56:53 +00:00
|
|
|
WordList.cpp
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
HEADERFILESCORE = \
|
|
|
|
Author.h \
|
|
|
|
Bidi.h \
|
|
|
|
BranchList.h \
|
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.h \
|
|
|
|
BufferParams.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
BufferView.h \
|
|
|
|
Bullet.h \
|
2008-04-20 15:00:11 +00:00
|
|
|
Citation.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Changes.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Chktex.h \
|
2007-10-20 23:27:03 +00:00
|
|
|
CmdDef.h \
|
2007-10-25 12:41:02 +00:00
|
|
|
ColorCode.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Color.h \
|
2009-02-09 23:30:24 +00:00
|
|
|
ColorSet.h \
|
2008-03-21 14:05:41 +00:00
|
|
|
CompletionList.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
ConverterCache.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Converter.h \
|
|
|
|
CoordCache.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Counters.h \
|
2007-04-26 14:56:30 +00:00
|
|
|
Cursor.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
CursorSlice.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
CutAndPaste.h \
|
|
|
|
DepTable.h \
|
|
|
|
DispatchResult.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
DocIterator.h \
|
|
|
|
Encoding.h \
|
|
|
|
ErrorList.h \
|
|
|
|
Exporter.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
factory.h \
|
|
|
|
Floating.h \
|
|
|
|
FloatList.h \
|
2007-04-29 18:17:15 +00:00
|
|
|
Font.h \
|
2007-10-28 18:51:54 +00:00
|
|
|
FontEnums.h \
|
|
|
|
FontInfo.h \
|
2007-10-19 14:35:05 +00:00
|
|
|
FontList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Format.h \
|
2008-03-19 19:37:35 +00:00
|
|
|
FuncCode.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
FuncRequest.h \
|
|
|
|
FuncStatus.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Graph.h \
|
2009-07-19 21:13:27 +00:00
|
|
|
HSpace.h \
|
2009-04-16 07:29:01 +00:00
|
|
|
IndicesList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
InsetIterator.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
InsetList.h \
|
|
|
|
Intl.h \
|
2007-04-27 08:05:58 +00:00
|
|
|
KeyMap.h \
|
2007-04-27 08:19:12 +00:00
|
|
|
KeySequence.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Language.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
LaTeXFeatures.h \
|
|
|
|
LaTeX.h \
|
2007-04-29 22:04:32 +00:00
|
|
|
Layout.h \
|
2007-10-17 19:32:46 +00:00
|
|
|
LayoutEnums.h \
|
2008-03-07 03:53:21 +00:00
|
|
|
LayoutFile.h \
|
2009-02-11 23:22:10 +00:00
|
|
|
LayoutModuleList.h \
|
2007-04-28 12:58:49 +00:00
|
|
|
Length.h \
|
2007-04-26 11:30:54 +00:00
|
|
|
Lexer.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
LyXAction.h \
|
2001-03-06 10:20:33 +00:00
|
|
|
lyxfind.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
LyX.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
LyXRC.h \
|
|
|
|
LyXVC.h \
|
|
|
|
MetricsInfo.h \
|
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.
The GUI will come next.
Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 17:59:49 +00:00
|
|
|
ModuleList.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Mover.h \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_docbook.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
output.h \
|
2010-01-20 19:41:44 +00:00
|
|
|
OutputEnums.h \
|
2003-11-05 12:06:20 +00:00
|
|
|
output_latex.h \
|
2009-06-05 17:44:35 +00:00
|
|
|
output_xhtml.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
OutputParams.h \
|
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.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
ParagraphList.h \
|
2006-12-29 23:54:48 +00:00
|
|
|
ParagraphMetrics.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
ParagraphParameters.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
ParIterator.h \
|
2007-09-20 22:31:18 +00:00
|
|
|
PDFOptions.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Row.h \
|
2003-02-26 17:04:10 +00:00
|
|
|
rowpainter.h \
|
2007-11-02 23:42:27 +00:00
|
|
|
Server.h \
|
|
|
|
ServerSocket.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Session.h \
|
2002-08-09 00:42:12 +00:00
|
|
|
sgml.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
Spacing.h \
|
2009-03-29 19:49:52 +00:00
|
|
|
SpellChecker.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
TexRow.h \
|
2007-08-12 14:54:54 +00:00
|
|
|
TexStream.h \
|
2007-04-29 23:33:02 +00:00
|
|
|
Text.h \
|
|
|
|
TextClass.h \
|
2006-12-29 23:54:48 +00:00
|
|
|
TextMetrics.h \
|
2006-04-22 18:48:28 +00:00
|
|
|
TocBackend.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
Trans.h \
|
|
|
|
Undo.h \
|
2007-04-28 20:44:46 +00:00
|
|
|
update_flags.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
VCBackend.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
version.h \
|
2008-02-25 01:56:53 +00:00
|
|
|
VSpace.h \
|
2007-04-26 19:21:38 +00:00
|
|
|
WordLangTuple.h \
|
2008-02-25 01:56:53 +00:00
|
|
|
WordList.h
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
STANDALONEFILES = \
|
2008-03-01 17:22:19 +00:00
|
|
|
Layout.cpp
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
lyxcore.cpp:
|
|
|
|
@echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
|
|
|
|
|
2008-02-09 18:04:14 +00:00
|
|
|
if MONOLITHIC_CORE
|
|
|
|
|
2007-11-17 15:37:29 +00:00
|
|
|
BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
|
2007-12-10 00:53:12 +00:00
|
|
|
CLEANFILES += lyxcore.cpp
|
2007-11-17 15:37:29 +00:00
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2008-11-15 17:45:55 +00:00
|
|
|
liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2009-10-25 10:43:16 +00:00
|
|
|
######################### Qt stuff ##############################
|
|
|
|
|
|
|
|
MOCHEADER = Compare.h
|
|
|
|
|
2009-08-21 22:58:38 +00:00
|
|
|
if INSTALL_WINDOWS
|
|
|
|
|
2009-10-25 10:43:16 +00:00
|
|
|
MOCHEADER += Server.h
|
|
|
|
MOCFLAG = -D_WIN32
|
|
|
|
|
|
|
|
endif
|
2009-08-21 22:58:38 +00:00
|
|
|
|
|
|
|
MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(MOCEDFILES)
|
|
|
|
CLEANFILES += $(MOCEDFILES)
|
|
|
|
|
|
|
|
moc_%.cpp: %.h
|
2009-10-25 10:43:16 +00:00
|
|
|
$(MOC4) $(MOCFLAG) -o $@ $<
|
2009-08-21 22:58:38 +00:00
|
|
|
|
|
|
|
liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
|
|
|
|
|
2007-08-11 10:32:36 +00:00
|
|
|
############################### Graphics ##############################
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
noinst_LIBRARIES += liblyxgraphics.a
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxgraphics_a_SOURCES = \
|
2007-08-11 10:32:36 +00:00
|
|
|
graphics/GraphicsCache.h \
|
|
|
|
graphics/GraphicsCache.cpp \
|
|
|
|
graphics/GraphicsCacheItem.h \
|
|
|
|
graphics/GraphicsCacheItem.cpp \
|
|
|
|
graphics/GraphicsConverter.h \
|
|
|
|
graphics/GraphicsConverter.cpp \
|
|
|
|
graphics/GraphicsImage.h \
|
|
|
|
graphics/GraphicsLoader.h \
|
|
|
|
graphics/GraphicsLoader.cpp \
|
|
|
|
graphics/GraphicsParams.cpp \
|
|
|
|
graphics/GraphicsParams.h \
|
|
|
|
graphics/GraphicsTypes.h \
|
|
|
|
graphics/PreviewImage.h \
|
|
|
|
graphics/PreviewImage.cpp \
|
|
|
|
graphics/PreviewLoader.h \
|
2011-07-12 12:43:11 +00:00
|
|
|
graphics/PreviewLoader.cpp
|
2007-08-11 10:32:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
############################### Mathed ##############################
|
|
|
|
|
|
|
|
EXTRA_DIST += mathed/InsetFormulaMacro.cpp
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
noinst_LIBRARIES += liblyxmathed.a
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2007-11-17 15:37:29 +00:00
|
|
|
SOURCEFILESMATHED = \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/InsetMathAMSArray.cpp \
|
|
|
|
mathed/InsetMathArray.cpp \
|
|
|
|
mathed/InsetMathBig.cpp \
|
|
|
|
mathed/InsetMathBoldSymbol.cpp \
|
|
|
|
mathed/InsetMathBox.cpp \
|
|
|
|
mathed/InsetMathBrace.cpp \
|
|
|
|
mathed/InsetMath.cpp \
|
|
|
|
mathed/InsetMathCases.cpp \
|
|
|
|
mathed/InsetMathChar.cpp \
|
|
|
|
mathed/InsetMathColor.cpp \
|
|
|
|
mathed/CommandInset.cpp \
|
|
|
|
mathed/InsetMathComment.cpp \
|
|
|
|
mathed/InsetMathDecoration.cpp \
|
|
|
|
mathed/InsetMathDecoration.h \
|
|
|
|
mathed/InsetMathDelim.cpp \
|
|
|
|
mathed/InsetMathDiff.cpp \
|
|
|
|
mathed/InsetMathDots.cpp \
|
2008-09-04 22:24:07 +00:00
|
|
|
mathed/InsetMathEnsureMath.cpp \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/InsetMathEnv.cpp \
|
|
|
|
mathed/InsetMathExFunc.cpp \
|
|
|
|
mathed/InsetMathExInt.cpp \
|
|
|
|
mathed/InsetMathFont.cpp \
|
|
|
|
mathed/InsetMathFontOld.cpp \
|
|
|
|
mathed/InsetMathFrac.cpp \
|
|
|
|
mathed/InsetMathGrid.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
mathed/InsetMathHull.cpp \
|
|
|
|
mathed/InsetMathKern.cpp \
|
|
|
|
mathed/InsetMathLefteqn.cpp \
|
|
|
|
mathed/InsetMathLim.cpp \
|
|
|
|
mathed/MathMacro.cpp \
|
|
|
|
mathed/InsetMathMatrix.cpp \
|
|
|
|
mathed/InsetMathNest.cpp \
|
|
|
|
mathed/InsetMathNumber.cpp \
|
|
|
|
mathed/InsetMathOverset.cpp \
|
|
|
|
mathed/InsetMathPar.cpp \
|
|
|
|
mathed/InsetMathPhantom.cpp \
|
|
|
|
mathed/InsetMathRef.cpp \
|
|
|
|
mathed/InsetMathRoot.cpp \
|
|
|
|
mathed/InsetMathScript.cpp \
|
|
|
|
mathed/InsetMathSize.cpp \
|
|
|
|
mathed/InsetMathSpace.cpp \
|
2008-10-23 00:48:06 +00:00
|
|
|
mathed/InsetMathSpecialChar.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
mathed/InsetMathSplit.cpp \
|
|
|
|
mathed/InsetMathSqrt.cpp \
|
|
|
|
mathed/InsetMathStackrel.cpp \
|
|
|
|
mathed/InsetMathString.cpp \
|
|
|
|
mathed/InsetMathSubstack.cpp \
|
|
|
|
mathed/InsetMathSymbol.cpp \
|
|
|
|
mathed/InsetMathTabular.cpp \
|
|
|
|
mathed/InsetMathUnderset.cpp \
|
|
|
|
mathed/InsetMathUnknown.cpp \
|
|
|
|
mathed/InsetMathXArrow.cpp \
|
|
|
|
mathed/InsetMathXYMatrix.cpp \
|
2010-09-19 22:12:06 +00:00
|
|
|
mathed/InsetMathDiagram.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
mathed/MathAtom.cpp \
|
|
|
|
mathed/MathAutoCorrect.cpp \
|
|
|
|
mathed/MathData.cpp \
|
|
|
|
mathed/MathExtern.cpp \
|
|
|
|
mathed/MathFactory.cpp \
|
|
|
|
mathed/MathMacroArgument.cpp \
|
|
|
|
mathed/MacroTable.cpp \
|
|
|
|
mathed/MathMacroTemplate.cpp \
|
|
|
|
mathed/MathParser.cpp \
|
|
|
|
mathed/MathStream.cpp \
|
|
|
|
mathed/MathSupport.cpp \
|
|
|
|
mathed/TextPainter.cpp
|
|
|
|
|
|
|
|
HEADERFILESMATHED = \
|
|
|
|
mathed/InsetMathAMSArray.h \
|
|
|
|
mathed/InsetMathArray.h \
|
|
|
|
mathed/InsetMathBig.h \
|
|
|
|
mathed/InsetMathBoldSymbol.h \
|
|
|
|
mathed/InsetMathBox.h \
|
|
|
|
mathed/InsetMathBrace.h \
|
|
|
|
mathed/InsetMathCases.h \
|
|
|
|
mathed/InsetMathChar.h \
|
|
|
|
mathed/InsetMathColor.h \
|
|
|
|
mathed/CommandInset.h \
|
|
|
|
mathed/InsetMathComment.h \
|
|
|
|
mathed/InsetMathDelim.h \
|
|
|
|
mathed/InsetMathDiff.h \
|
|
|
|
mathed/InsetMathDots.h \
|
2008-09-04 22:24:07 +00:00
|
|
|
mathed/InsetMathEnsureMath.h \
|
2007-11-17 15:37:29 +00:00
|
|
|
mathed/InsetMathEnv.h \
|
|
|
|
mathed/InsetMathExFunc.h \
|
|
|
|
mathed/InsetMathExInt.h \
|
|
|
|
mathed/InsetMathFont.h \
|
|
|
|
mathed/InsetMathFontOld.h \
|
|
|
|
mathed/InsetMathFrac.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/InsetMathGrid.h \
|
|
|
|
mathed/InsetMath.h \
|
|
|
|
mathed/InsetMathHull.h \
|
|
|
|
mathed/InsetMathKern.h \
|
|
|
|
mathed/InsetMathLefteqn.h \
|
|
|
|
mathed/InsetMathLim.h \
|
|
|
|
mathed/MathMacro.h \
|
|
|
|
mathed/InsetMathMatrix.h \
|
|
|
|
mathed/InsetMathNest.h \
|
|
|
|
mathed/InsetMathNumber.h \
|
|
|
|
mathed/InsetMathOverset.h \
|
|
|
|
mathed/InsetMathPar.h \
|
|
|
|
mathed/InsetMathPhantom.h \
|
|
|
|
mathed/InsetMathRef.h \
|
|
|
|
mathed/InsetMathRoot.h \
|
|
|
|
mathed/InsetMathScript.h \
|
|
|
|
mathed/InsetMathSize.h \
|
|
|
|
mathed/InsetMathSpace.h \
|
2008-10-23 00:48:06 +00:00
|
|
|
mathed/InsetMathSpecialChar.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/InsetMathSplit.h \
|
|
|
|
mathed/InsetMathSqrt.h \
|
|
|
|
mathed/InsetMathStackrel.h \
|
|
|
|
mathed/InsetMathString.h \
|
|
|
|
mathed/InsetMathSubstack.h \
|
|
|
|
mathed/InsetMathSymbol.h \
|
|
|
|
mathed/InsetMathTabular.h \
|
|
|
|
mathed/InsetMathUnderset.h \
|
|
|
|
mathed/InsetMathUnknown.h \
|
|
|
|
mathed/InsetMathXArrow.h \
|
|
|
|
mathed/InsetMathXYMatrix.h \
|
2010-09-19 22:12:06 +00:00
|
|
|
mathed/InsetMathDiagram.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/MathAtom.h \
|
|
|
|
mathed/MathAutoCorrect.h \
|
|
|
|
mathed/MathData.h \
|
2008-03-21 14:05:41 +00:00
|
|
|
mathed/MathCompletionList.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/MathExtern.h \
|
|
|
|
mathed/MathFactory.h \
|
|
|
|
mathed/MathGridInfo.h \
|
|
|
|
mathed/MathMacroArgument.h \
|
|
|
|
mathed/MacroTable.h \
|
|
|
|
mathed/MathMacroTemplate.h \
|
|
|
|
mathed/MathParser.h \
|
2008-10-18 12:28:17 +00:00
|
|
|
mathed/MathParser_flags.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
mathed/ReplaceData.h \
|
|
|
|
mathed/MathStream.h \
|
|
|
|
mathed/MathSupport.h \
|
2009-07-12 22:46:01 +00:00
|
|
|
mathed/TextPainter.h
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
lyxmathed.cpp:
|
2007-11-17 15:37:29 +00:00
|
|
|
@echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
|
|
|
|
|
2008-02-09 18:04:14 +00:00
|
|
|
if MONOLITHIC_MATHED
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
BUILT_SOURCES += lyxmathed.cpp
|
|
|
|
CLEANFILES += lyxmathed.cpp
|
2007-11-17 15:37:29 +00:00
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2007-08-11 10:32:36 +00:00
|
|
|
############################### Insets ##############################
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
noinst_LIBRARIES += liblyxinsets.a
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2007-11-17 15:37:29 +00:00
|
|
|
SOURCEFILESINSETS = \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/ExternalSupport.cpp \
|
|
|
|
insets/ExternalTemplate.cpp \
|
|
|
|
insets/ExternalTransforms.cpp \
|
|
|
|
insets/RenderButton.cpp \
|
|
|
|
insets/RenderGraphic.cpp \
|
|
|
|
insets/RenderPreview.cpp \
|
|
|
|
insets/Inset.cpp \
|
2010-06-04 22:44:58 +00:00
|
|
|
insets/InsetArgument.cpp \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetBibitem.cpp \
|
|
|
|
insets/InsetBibtex.cpp \
|
|
|
|
insets/InsetBox.cpp \
|
|
|
|
insets/InsetBranch.cpp \
|
|
|
|
insets/InsetCaption.cpp \
|
|
|
|
insets/InsetCitation.cpp \
|
|
|
|
insets/InsetCollapsable.cpp \
|
|
|
|
insets/InsetCommand.cpp \
|
|
|
|
insets/InsetCommandParams.cpp \
|
|
|
|
insets/InsetERT.cpp \
|
|
|
|
insets/InsetExternal.cpp \
|
2007-09-05 15:46:20 +00:00
|
|
|
insets/InsetFlex.cpp \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetFloat.cpp \
|
|
|
|
insets/InsetFloatList.cpp \
|
|
|
|
insets/InsetFoot.cpp \
|
|
|
|
insets/InsetFootlike.cpp \
|
|
|
|
insets/InsetGraphicsParams.cpp \
|
|
|
|
insets/InsetGraphics.cpp \
|
2007-10-13 19:06:09 +00:00
|
|
|
insets/InsetHyperlink.cpp \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetInclude.cpp \
|
|
|
|
insets/InsetIndex.cpp \
|
2007-10-11 14:52:00 +00:00
|
|
|
insets/InsetInfo.cpp \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetLabel.cpp \
|
2008-02-22 02:32:52 +00:00
|
|
|
insets/InsetLayout.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetLine.cpp \
|
|
|
|
insets/InsetListings.cpp \
|
|
|
|
insets/InsetListingsParams.cpp \
|
|
|
|
insets/InsetMarginal.cpp \
|
|
|
|
insets/InsetNewline.cpp \
|
2007-11-23 02:10:00 +00:00
|
|
|
insets/InsetNewpage.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetNomencl.cpp \
|
|
|
|
insets/InsetNote.cpp \
|
2009-01-30 00:56:37 +00:00
|
|
|
insets/InsetPhantom.cpp \
|
2010-03-28 13:47:50 +00:00
|
|
|
insets/InsetPreview.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetQuotes.cpp \
|
|
|
|
insets/InsetRef.cpp \
|
2010-11-21 17:00:12 +00:00
|
|
|
insets/InsetScript.cpp \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetSpace.cpp \
|
|
|
|
insets/InsetSpecialChar.cpp \
|
|
|
|
insets/InsetTabular.cpp \
|
|
|
|
insets/InsetText.cpp \
|
|
|
|
insets/InsetTOC.cpp \
|
|
|
|
insets/InsetVSpace.cpp \
|
|
|
|
insets/InsetWrap.cpp
|
|
|
|
|
|
|
|
HEADERFILESINSETS = \
|
|
|
|
insets/ExternalSupport.h \
|
|
|
|
insets/ExternalTemplate.h \
|
|
|
|
insets/ExternalTransforms.h \
|
|
|
|
insets/RenderBase.h \
|
|
|
|
insets/RenderButton.h \
|
|
|
|
insets/RenderGraphic.h \
|
|
|
|
insets/RenderPreview.h \
|
|
|
|
insets/Inset.h \
|
2010-06-04 22:44:58 +00:00
|
|
|
insets/InsetArgument.h \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetBibitem.h \
|
|
|
|
insets/InsetBibtex.h \
|
|
|
|
insets/InsetBox.h \
|
|
|
|
insets/InsetBranch.h \
|
|
|
|
insets/InsetCaption.h \
|
|
|
|
insets/InsetCitation.h \
|
|
|
|
insets/InsetCode.h \
|
|
|
|
insets/InsetCollapsable.h \
|
|
|
|
insets/InsetCommand.h \
|
|
|
|
insets/InsetCommandParams.h \
|
|
|
|
insets/InsetERT.h \
|
|
|
|
insets/InsetExternal.h \
|
|
|
|
insets/InsetFlex.h \
|
|
|
|
insets/InsetFloat.h \
|
|
|
|
insets/InsetFoot.h \
|
|
|
|
insets/InsetFloatList.h \
|
|
|
|
insets/InsetFootlike.h \
|
|
|
|
insets/InsetGraphicsParams.h \
|
|
|
|
insets/InsetGraphics.h \
|
|
|
|
insets/InsetHyperlink.h \
|
|
|
|
insets/InsetInclude.h \
|
|
|
|
insets/InsetIndex.h \
|
|
|
|
insets/InsetInfo.h \
|
2010-03-28 13:47:50 +00:00
|
|
|
insets/InsetPreview.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetLabel.h \
|
2007-11-07 22:31:07 +00:00
|
|
|
insets/InsetLayout.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetLine.h \
|
|
|
|
insets/InsetListings.h \
|
|
|
|
insets/InsetListingsParams.h \
|
|
|
|
insets/InsetMarginal.h \
|
|
|
|
insets/InsetNewline.h \
|
2007-11-23 02:10:00 +00:00
|
|
|
insets/InsetNewpage.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetNomencl.h \
|
|
|
|
insets/InsetNote.h \
|
2009-01-30 00:56:37 +00:00
|
|
|
insets/InsetPhantom.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetQuotes.h \
|
|
|
|
insets/InsetRef.h \
|
2010-11-21 17:00:12 +00:00
|
|
|
insets/InsetScript.h \
|
2007-08-11 10:32:36 +00:00
|
|
|
insets/InsetSpace.h \
|
|
|
|
insets/InsetSpecialChar.h \
|
|
|
|
insets/InsetTabular.h \
|
|
|
|
insets/InsetText.h \
|
|
|
|
insets/InsetTOC.h \
|
|
|
|
insets/InsetVSpace.h \
|
2007-11-17 15:37:29 +00:00
|
|
|
insets/InsetWrap.h
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2007-10-17 19:59:55 +00:00
|
|
|
# insets/InsetList.cpp \
|
|
|
|
# insets/InsetList.h \
|
|
|
|
# insets/InsetSection.h \
|
2008-03-05 00:21:05 +00:00
|
|
|
# insets/InsetSection.cpp
|
2007-08-11 10:32:36 +00:00
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
lyxinsets.cpp:
|
2007-11-17 15:37:29 +00:00
|
|
|
@echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
|
|
|
|
|
2008-02-09 18:04:14 +00:00
|
|
|
if MONOLITHIC_INSETS
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
BUILT_SOURCES += lyxinsets.cpp
|
|
|
|
CLEANFILES += lyxinsets.cpp
|
2007-11-17 15:37:29 +00:00
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2010-04-14 14:25:11 +00:00
|
|
|
liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)
|
2007-11-17 15:37:29 +00:00
|
|
|
|
|
|
|
endif
|