X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=9aa8c088c62d3bab048283e70403295b4673d793;hb=ef1a53c4929133e2d261a78a62cbbd87a687ca14;hp=a0ffb04762d477f1eee9fa07366c861917ec64f8;hpb=1684282f8a314dbab4f7fc7b38215a35336bc2d1;p=lyx.git diff --git a/src/Makefile.am b/src/Makefile.am index a0ffb04762..9aa8c088c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,17 +1,22 @@ include $(top_srcdir)/config/common.am -DISTCLEANFILES += config.h libintl.h +DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-tmp MAINTAINERCLEANFILES += $(srcdir)/config.h.in -SUBDIRS = mathed insets graphics support frontends tex2lyx +if BUILD_CLIENT_SUBDIR +CLIENT = client +endif + +SUBDIRS = mathed insets graphics support frontends . $(CLIENT) tex2lyx -EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \ - Sectioning.h \ - Sectioning.C \ - Variables.C \ +EXTRA_DIST = config.h.in stamp-h.in version.C.in \ + Section.h \ + Section.cpp \ + Variables.cpp \ Variables.h \ - paper.h + paper.h \ + pch.h LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \ frontends/libfrontends.la @@ -20,31 +25,17 @@ LYX_POST_LIBS = frontends/controllers/libcontrollers.la \ graphics/libgraphics.la \ support/libsupport.la -if USE_INCLUDED_BOOST -BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \ - ../boost/libs/signals/src/libboostsignals.la -else -BOOST_LIBS = -lboost_regex -lboost_signals -endif +BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS) -OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ +OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS) bin_PROGRAMS = lyx noinst_PROGRAMS = $(FRONTENDS_PROGS) -EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk - -lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \ - frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS) +EXTRA_PROGRAMS = lyx-qt4 -lyx_xforms_SOURCES = main.C - -lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \ - frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS) -lyx_qt_SOURCES = main.C - -lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \ - frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS) -lyx_gtk_SOURCES = main.C +lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \ + frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS) +lyx_qt4_SOURCES = main.cpp lyx$(EXEEXT): $(FRONTENDS_PROGS) rm -f $@ @@ -52,221 +43,240 @@ lyx$(EXEEXT): $(FRONTENDS_PROGS) #lyx_LDFLAGS=-Wl,-O1 -INCLUDES = $(BOOST_INCLUDES) +BUILT_SOURCES = $(PCH_FILE) version.C + +AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES) + +if USE_ASPELL +ASPELL = ASpell.cpp ASpell_local.h +endif +if USE_PSPELL +PSPELL = PSpell.cpp PSpell.h +endif +if USE_ISPELL +ISPELL = ISpell.cpp ISpell.h +endif + -BUILT_SOURCES = version.C lyx_SOURCES = \ - BufferView.C \ + Bidi.cpp \ + Bidi.h \ + BufferView.cpp \ BufferView.h \ - BufferView_pimpl.C \ - BufferView_pimpl.h \ - Bullet.C \ + Bullet.cpp \ Bullet.h \ - BranchList.C \ + BranchList.cpp \ BranchList.h \ - Chktex.C \ + Chktex.cpp \ Chktex.h \ - CutAndPaste.C \ + color.cpp \ + color.h \ + ConverterCache.cpp \ + ConverterCache.h \ + CutAndPaste.cpp \ CutAndPaste.h \ - DepTable.C \ + DepTable.cpp \ DepTable.h \ - FloatList.C \ + FloatList.cpp \ FloatList.h \ - Floating.C \ + Floating.cpp \ Floating.h \ - FuncStatus.C \ + FontIterator.cpp \ + FontIterator.h \ + FuncStatus.cpp \ FuncStatus.h \ - InsetList.C \ + InsetList.cpp \ InsetList.h \ - LColor.C \ + LColor.cpp \ LColor.h \ - LaTeX.C \ + LaTeX.cpp \ LaTeX.h \ - LaTeXFeatures.C \ + LaTeXFeatures.cpp \ LaTeXFeatures.h \ - latexrunparams.h \ - LyXAction.C \ + LyXAction.cpp \ LyXAction.h \ - MenuBackend.C \ + MenuBackend.cpp \ MenuBackend.h \ - paragraph_funcs.C \ - paragraph_funcs.h \ + ParagraphList.h \ ParagraphList_fwd.h \ - ParagraphParameters.C \ + ParagraphParameters.cpp \ ParagraphParameters.h \ - ParameterStruct.h \ - PrinterParams.C \ + PrinterParams.cpp \ PrinterParams.h \ RowList_fwd.h \ - ShareContainer.h \ - Spacing.C \ + Spacing.cpp \ Spacing.h \ - Thesaurus.C \ + Thesaurus.cpp \ Thesaurus.h \ - ToolbarBackend.C \ + ToolbarBackend.cpp \ ToolbarBackend.h \ + UpdateFlags.h \ WordLangTuple.h \ - aspell.C \ - aspell_local.h \ - author.C \ - author.h \ - boost.C \ - box.h \ - box.C \ - broken_headers.h \ - buffer.C \ - buffer.h \ - buffer_funcs.C \ + Author.cpp \ + Author.h \ + boost.cpp \ + Box.h \ + Box.cpp \ + Buffer.cpp \ + Buffer.h \ + buffer_funcs.cpp \ buffer_funcs.h \ - bufferlist.C \ - bufferlist.h \ - bufferparams.C \ - bufferparams.h \ - bufferview_funcs.C \ + BufferList.cpp \ + BufferList.h \ + BufferParams.cpp \ + BufferParams.h \ + bufferview_funcs.cpp \ bufferview_funcs.h \ - changes.C \ - changes.h \ - chset.C \ - chset.h \ - lfuns.h \ + Changes.cpp \ + Changes.h \ config.h.in \ - converter.C \ - converter.h \ - counters.C \ - counters.h \ - cursor.C \ - cursor.h \ - debug.C \ + Converter.cpp \ + Converter.h \ + Counters.cpp \ + Counters.h \ + CoordCache.cpp \ + CoordCache.h \ + LCursor.cpp \ + LCursor.h \ + CursorSlice.cpp \ + CursorSlice.h \ + debug.cpp \ debug.h \ - dimension.C \ - dimension.h \ - encoding.C \ - encoding.h \ - errorlist.C \ - errorlist.h \ - exporter.C \ - exporter.h \ - gettext.C \ + Dimension.cpp \ + Dimension.h \ + DocIterator.cpp \ + DocIterator.h \ + DispatchResult.h \ + Encoding.cpp \ + Encoding.h \ + ErrorList.cpp \ + ErrorList.h \ + Exporter.cpp \ + Exporter.h \ + gettext.cpp \ gettext.h \ factory.h \ - factory.C \ - format.C \ - format.h \ - funcrequest.h \ - funcrequest.C \ - graph.C \ - graph.h \ - importer.C \ - importer.h \ - intl.C \ - intl.h \ - iterators.C \ - iterators.h \ - kbmap.C \ - kbmap.h \ - kbsequence.C \ - kbsequence.h \ - language.C \ - language.h \ - lastfiles.C \ - lastfiles.h \ + 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 \ layout.h \ - lengthcommon.C \ + lengthcommon.cpp \ lengthcommon.h \ - lyx_cb.C \ + Lexer.cpp \ + Lexer.h \ + lfuns.h \ + lyx_cb.cpp \ lyx_cb.h \ - lyx_main.C \ - lyx_main.h \ - lyx_sty.C \ + LyX.cpp \ + LyX.h \ + lyx_sty.cpp \ lyx_sty.h \ - lyxcursor.C \ - lyxcursor.h \ - lyxfont.C \ - lyxfont.h \ - lyxfind.C \ + LyXFont.cpp \ + LyXFont.h \ + lyxfind.cpp \ lyxfind.h \ - lyxfunc.C \ - lyxfunc.h \ - lyxgluelength.C \ - lyxgluelength.h \ - lyxlayout.C \ - lyxlayout.h \ + LyXFunc.cpp \ + LyXFunc.h \ + LyXGlueLength.cpp \ + LyXGlueLength.h \ + LyXLayout.cpp \ + LyXLayout.h \ lyxlayout_ptr_fwd.h \ - lyxlength.C \ - lyxlength.h \ - lyxlex.C \ - lyxlex.h \ - lyxlex_pimpl.C \ - lyxlex_pimpl.h \ - lyxrc.C \ - lyxrc.h \ - lyxrow.C \ - lyxrow.h \ - lyxrow_funcs.C \ - lyxrow_funcs.h \ - lyxserver.C \ - lyxserver.h \ - lyxsocket.C \ - lyxsocket.h \ - lyxtext.h \ - lyxtextclass.C \ - lyxtextclass.h \ - lyxtextclasslist.C \ - lyxtextclasslist.h \ - lyxvc.C \ - lyxvc.h \ - messages.C \ - messages.h \ - metricsinfo.C \ - metricsinfo.h \ + 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 \ + output.h \ + OutputParams.cpp \ + OutputParams.h \ + output_docbook.cpp \ + output_docbook.h \ + output_latex.cpp \ + output_latex.h \ + output_plaintext.cpp \ + output_plaintext.h \ paper.h \ - paragraph.C \ - paragraph.h \ - paragraph_pimpl.C \ - paragraph_pimpl.h \ + Paragraph.cpp \ + Paragraph.h \ + ParagraphMetrics.cpp \ + ParagraphMetrics.h \ + paragraph_funcs.cpp \ + paragraph_funcs.h \ + ParIterator.cpp \ + ParIterator.h \ + $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \ SpellBase.h \ - ispell.C \ - ispell.h \ - pspell.C \ - pspell.h \ - rowpainter.C \ + rowpainter.cpp \ rowpainter.h \ - sgml.C \ + sgml.cpp \ sgml.h \ - tabular.C \ - tabular.h \ - tex-accent.C \ + tex-accent.cpp \ tex-accent.h \ - tex-strings.C \ + tex-strings.cpp \ tex-strings.h \ - texrow.C \ - texrow.h \ - text.C \ - text2.C \ - text3.C \ - textcursor.C \ - textcursor.h \ - text_funcs.C \ - text_funcs.h \ - toc.C \ + TexRow.cpp \ + TexRow.h \ + text.cpp \ + text2.cpp \ + text3.cpp \ + TextMetrics.cpp \ + TextMetrics.h \ + TocBackend.cpp \ + TocBackend.h \ + toc.cpp \ toc.h \ - trans.C \ - trans.h \ - trans_decl.h \ - trans_mgr.C \ - trans_mgr.h \ - undo.C \ - undo.h \ - vc-backend.C \ - vc-backend.h \ + Trans.cpp \ + Trans.h \ + KmodInfo.h \ + TransState.cpp \ + TransState.h \ + Undo.cpp \ + Undo.h \ + VCBackend.cpp \ + VCBackend.h \ version.C \ version.h \ - vspace.C \ - vspace.h - -dist-hook: - cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*` + VSpace.cpp \ + VSpace.h version.C: stamp-version @: