X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=87be7173578e5cf742d7f959c4f981b575369601;hb=dad3c8ce74d1ebea92973bea5ca44f97d660d38e;hp=4482534b5861fd9bbd21e6a025f1dfed3ec24c7b;hpb=f4f4f9c19a668137a48d1ec62d6c07456689ac54;p=lyx.git diff --git a/src/Makefile.am b/src/Makefile.am index 4482534b58..87be717357 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,11 +23,11 @@ bin_PROGRAMS = lyx lyx_LDADD = \ liblyxcore.a \ - mathed/liblyxmathed.a \ - insets/liblyxinsets.a \ + liblyxmathed.a \ + liblyxinsets.a \ frontends/liblyxfrontends.a \ frontends/qt4/liblyxqt4.a \ - graphics/liblyxgraphics.a \ + liblyxgraphics.a \ support/liblyxsupport.a \ $(OTHERLIBS) \ $(QT4_LDFLAGS) \ @@ -43,6 +43,10 @@ endif BUILT_SOURCES = $(PCH_FILE) +if INSTALL_MACOSX +APPLESPELL = AppleSpellChecker.cpp AppleSpellChecker.h +endif + if USE_ASPELL ASPELL = AspellChecker.cpp AspellChecker.h endif @@ -61,6 +65,7 @@ endif # and in fact libtools seems not able to do that. lyx_SOURCES = \ main.cpp \ + $(APPLESPELL) \ $(ASPELL) \ BiblioInfo.h \ BiblioInfo.cpp \ @@ -321,9 +326,9 @@ liblyxcore_a_DEPENDENCIES = $(MOCEDFILES) ############################### Graphics ############################## -noinst_LIBRARIES += graphics/liblyxgraphics.a +noinst_LIBRARIES += liblyxgraphics.a -graphics_liblyxgraphics_a_SOURCES = \ +liblyxgraphics_a_SOURCES = \ graphics/GraphicsCache.h \ graphics/GraphicsCache.cpp \ graphics/GraphicsCacheItem.h \ @@ -348,7 +353,7 @@ graphics_liblyxgraphics_a_SOURCES = \ EXTRA_DIST += mathed/InsetFormulaMacro.cpp -noinst_LIBRARIES += mathed/liblyxmathed.a +noinst_LIBRARIES += liblyxmathed.a SOURCEFILESMATHED = \ mathed/InsetMathAMSArray.cpp \ @@ -404,6 +409,7 @@ SOURCEFILESMATHED = \ mathed/InsetMathUnknown.cpp \ mathed/InsetMathXArrow.cpp \ mathed/InsetMathXYMatrix.cpp \ + mathed/InsetMathDiagram.cpp \ mathed/MathAtom.cpp \ mathed/MathAutoCorrect.cpp \ mathed/MathData.cpp \ @@ -469,6 +475,7 @@ HEADERFILESMATHED = \ mathed/InsetMathUnknown.h \ mathed/InsetMathXArrow.h \ mathed/InsetMathXYMatrix.h \ + mathed/InsetMathDiagram.h \ mathed/MathAtom.h \ mathed/MathAutoCorrect.h \ mathed/MathData.h \ @@ -486,25 +493,25 @@ HEADERFILESMATHED = \ mathed/MathSupport.h \ mathed/TextPainter.h -mathed/lyxmathed.cpp: +lyxmathed.cpp: @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@ if MONOLITHIC_MATHED -BUILT_SOURCES += mathed/lyxmathed.cpp -CLEANFILES += mathed/lyxmathed.cpp +BUILT_SOURCES += lyxmathed.cpp +CLEANFILES += lyxmathed.cpp -mathed_liblyxmathed_a_SOURCES = mathed/lyxmathed.cpp $(HEADERFILESMATHED) +liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED) else -mathed_liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED) +liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED) endif ############################### Insets ############################## -noinst_LIBRARIES += insets/liblyxinsets.a +noinst_LIBRARIES += liblyxinsets.a SOURCEFILESINSETS = \ insets/ExternalSupport.cpp \ @@ -514,6 +521,7 @@ SOURCEFILESINSETS = \ insets/RenderGraphic.cpp \ insets/RenderPreview.cpp \ insets/Inset.cpp \ + insets/InsetArgument.cpp \ insets/InsetBibitem.cpp \ insets/InsetBibtex.cpp \ insets/InsetBox.cpp \ @@ -546,7 +554,6 @@ SOURCEFILESINSETS = \ insets/InsetNewpage.cpp \ insets/InsetNomencl.cpp \ insets/InsetNote.cpp \ - insets/InsetOptArg.cpp \ insets/InsetPhantom.cpp \ insets/InsetPreview.cpp \ insets/InsetQuotes.cpp \ @@ -568,6 +575,7 @@ HEADERFILESINSETS = \ insets/RenderGraphic.h \ insets/RenderPreview.h \ insets/Inset.h \ + insets/InsetArgument.h \ insets/InsetBibitem.h \ insets/InsetBibtex.h \ insets/InsetBox.h \ @@ -602,7 +610,6 @@ HEADERFILESINSETS = \ insets/InsetNewpage.h \ insets/InsetNomencl.h \ insets/InsetNote.h \ - insets/InsetOptArg.h \ insets/InsetPhantom.h \ insets/InsetQuotes.h \ insets/InsetRef.h \ @@ -619,18 +626,18 @@ HEADERFILESINSETS = \ # insets/InsetSection.h \ # insets/InsetSection.cpp -insets/lyxinsets.cpp: +lyxinsets.cpp: @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@ if MONOLITHIC_INSETS -BUILT_SOURCES += insets/lyxinsets.cpp -CLEANFILES += insets/lyxinsets.cpp +BUILT_SOURCES += lyxinsets.cpp +CLEANFILES += lyxinsets.cpp -insets_liblyxinsets_a_SOURCES = insets/lyxinsets.cpp $(HEADERFILESINSETS) +liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS) else -insets_liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS) +liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS) endif