Sort entries in src/Makefile.am

Remove also STANDALONEFILES variable, which is a remain of monolithic
builds.
This commit is contained in:
Jean-Marc Lasgouttes 2024-07-15 12:10:08 +02:00
parent 2bf3124f25
commit 281744d24f

View File

@ -103,6 +103,7 @@ SOURCEFILESCORE = \
BranchList.cpp \ BranchList.cpp \
Buffer.cpp \ Buffer.cpp \
buffer_funcs.cpp \ buffer_funcs.cpp \
BufferEncodings.cpp \
BufferList.cpp \ BufferList.cpp \
BufferParams.cpp \ BufferParams.cpp \
BufferView.cpp \ BufferView.cpp \
@ -112,8 +113,8 @@ SOURCEFILESCORE = \
CiteEnginesList.cpp \ CiteEnginesList.cpp \
CmdDef.cpp \ CmdDef.cpp \
Color.cpp \ Color.cpp \
ConverterCache.cpp \
Converter.cpp \ Converter.cpp \
ConverterCache.cpp \
CoordCache.cpp \ CoordCache.cpp \
Counters.cpp \ Counters.cpp \
Cursor.cpp \ Cursor.cpp \
@ -122,15 +123,14 @@ SOURCEFILESCORE = \
DepTable.cpp \ DepTable.cpp \
DocIterator.cpp \ DocIterator.cpp \
Encoding.cpp \ Encoding.cpp \
BufferEncodings.cpp \
ErrorList.cpp \ ErrorList.cpp \
Exporter.cpp \ Exporter.cpp \
factory.cpp \ factory.cpp \
Floating.cpp \ Floating.cpp \
FloatList.cpp \ FloatList.cpp \
Font.cpp \
FontInfo.cpp \ FontInfo.cpp \
FontList.cpp \ FontList.cpp \
Font.cpp \
Format.cpp \ Format.cpp \
FuncRequest.cpp \ FuncRequest.cpp \
FuncStatus.cpp \ FuncStatus.cpp \
@ -145,6 +145,7 @@ SOURCEFILESCORE = \
LaTeX.cpp \ LaTeX.cpp \
LaTeXFeatures.cpp \ LaTeXFeatures.cpp \
LaTeXPackages.cpp \ LaTeXPackages.cpp \
Layout.cpp \
LayoutFile.cpp \ LayoutFile.cpp \
LayoutModuleList.cpp \ LayoutModuleList.cpp \
LyX.cpp \ LyX.cpp \
@ -155,12 +156,12 @@ SOURCEFILESCORE = \
MetricsInfo.cpp \ MetricsInfo.cpp \
ModuleList.cpp \ ModuleList.cpp \
Mover.cpp \ Mover.cpp \
output_docbook.cpp \
output.cpp \ output.cpp \
output_docbook.cpp \
output_latex.cpp \ output_latex.cpp \
output_plaintext.cpp \
output_xhtml.cpp \ output_xhtml.cpp \
OutputParams.cpp \ OutputParams.cpp \
output_plaintext.cpp \
Paragraph.cpp \ Paragraph.cpp \
ParagraphMetrics.cpp \ ParagraphMetrics.cpp \
ParagraphParameters.cpp \ ParagraphParameters.cpp \
@ -170,7 +171,6 @@ SOURCEFILESCORE = \
RowPainter.cpp \ RowPainter.cpp \
Server.cpp \ Server.cpp \
ServerSocket.cpp \ ServerSocket.cpp \
xml.cpp \
Session.cpp \ Session.cpp \
Spacing.cpp \ Spacing.cpp \
TexRow.cpp \ TexRow.cpp \
@ -185,29 +185,30 @@ SOURCEFILESCORE = \
VCBackend.cpp \ VCBackend.cpp \
version.cpp \ version.cpp \
VSpace.cpp \ VSpace.cpp \
WordList.cpp WordList.cpp \
xml.cpp
HEADERFILESCORE = \ HEADERFILESCORE = \
Author.h \ Author.h \
BranchList.h \ BranchList.h \
buffer_funcs.h \
Buffer.h \ Buffer.h \
buffer_funcs.h \
BufferEncodings.h \ BufferEncodings.h \
BufferList.h \ BufferList.h \
BufferParams.h \ BufferParams.h \
BufferView.h \ BufferView.h \
Bullet.h \ Bullet.h \
Citation.h \
CiteEnginesList.h \
Changes.h \ Changes.h \
Chktex.h \ Chktex.h \
Citation.h \
CiteEnginesList.h \
CmdDef.h \ CmdDef.h \
ColorCode.h \
Color.h \ Color.h \
ColorCode.h \
ColorSet.h \ ColorSet.h \
CompletionList.h \ CompletionList.h \
ConverterCache.h \
Converter.h \ Converter.h \
ConverterCache.h \
CoordCache.h \ CoordCache.h \
Counters.h \ Counters.h \
Cursor.h \ Cursor.h \
@ -239,28 +240,28 @@ HEADERFILESCORE = \
KeyMap.h \ KeyMap.h \
KeySequence.h \ KeySequence.h \
Language.h \ Language.h \
LaTeX.h \
LaTeXFeatures.h \ LaTeXFeatures.h \
LaTeXPackages.h \ LaTeXPackages.h \
LaTeX.h \
Layout.h \ Layout.h \
LayoutEnums.h \ LayoutEnums.h \
LayoutFile.h \ LayoutFile.h \
LayoutModuleList.h \ LayoutModuleList.h \
LyX.h \
LyXAction.h \ LyXAction.h \
lyxfind.h \ lyxfind.h \
LyX.h \
LyXRC.h \ LyXRC.h \
LyXVC.h \ LyXVC.h \
MetricsInfo.h \ MetricsInfo.h \
ModuleList.h \ ModuleList.h \
Mover.h \ Mover.h \
output_docbook.h \
output.h \ output.h \
OutputEnums.h \ output_docbook.h \
output_latex.h \ output_latex.h \
output_xhtml.h \
OutputParams.h \
output_plaintext.h \ output_plaintext.h \
output_xhtml.h \
OutputEnums.h \
OutputParams.h \
paper.h \ paper.h \
Paragraph.h \ Paragraph.h \
ParagraphList.h \ ParagraphList.h \
@ -274,7 +275,6 @@ HEADERFILESCORE = \
Server.h \ Server.h \
ServerSocket.h \ ServerSocket.h \
Session.h \ Session.h \
xml.h \
Spacing.h \ Spacing.h \
SpellChecker.h \ SpellChecker.h \
TexRow.h \ TexRow.h \
@ -292,11 +292,8 @@ HEADERFILESCORE = \
version.h \ version.h \
VSpace.h \ VSpace.h \
WordLangTuple.h \ WordLangTuple.h \
WordList.h WordList.h \
xml.h
STANDALONEFILES = \
Layout.cpp
.PHONY: update_commit_hash .PHONY: update_commit_hash
@ -317,7 +314,7 @@ lyx_commit_hash.h: update_commit_hash
BUILT_SOURCES = lyx_commit_hash.h BUILT_SOURCES = lyx_commit_hash.h
CLEANFILES = lyx_commit_hash.h CLEANFILES = lyx_commit_hash.h
liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE) liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(HEADERFILESCORE)
######################### Qt stuff ############################## ######################### Qt stuff ##############################
@ -374,13 +371,13 @@ liblyxgraphics_a_SOURCES = \
noinst_LIBRARIES += liblyxmathed.a noinst_LIBRARIES += liblyxmathed.a
SOURCEFILESMATHED = \ SOURCEFILESMATHED = \
mathed/InsetMath.cpp \
mathed/InsetMathAMSArray.cpp \ mathed/InsetMathAMSArray.cpp \
mathed/InsetMathArray.cpp \ mathed/InsetMathArray.cpp \
mathed/InsetMathBig.cpp \ mathed/InsetMathBig.cpp \
mathed/InsetMathBoldSymbol.cpp \ mathed/InsetMathBoldSymbol.cpp \
mathed/InsetMathBox.cpp \ mathed/InsetMathBox.cpp \
mathed/InsetMathBrace.cpp \ mathed/InsetMathBrace.cpp \
mathed/InsetMath.cpp \
mathed/InsetMathCancel.cpp \ mathed/InsetMathCancel.cpp \
mathed/InsetMathCancelto.cpp \ mathed/InsetMathCancelto.cpp \
mathed/InsetMathCases.cpp \ mathed/InsetMathCases.cpp \
@ -449,6 +446,7 @@ SOURCEFILESMATHED = \
mathed/TextPainter.cpp mathed/TextPainter.cpp
HEADERFILESMATHED = \ HEADERFILESMATHED = \
mathed/InsetMath.h \
mathed/InsetMathAMSArray.h \ mathed/InsetMathAMSArray.h \
mathed/InsetMathArray.h \ mathed/InsetMathArray.h \
mathed/InsetMathBig.h \ mathed/InsetMathBig.h \
@ -464,6 +462,7 @@ HEADERFILESMATHED = \
mathed/InsetMathCommand.h \ mathed/InsetMathCommand.h \
mathed/InsetMathComment.h \ mathed/InsetMathComment.h \
mathed/InsetMathDelim.h \ mathed/InsetMathDelim.h \
mathed/InsetMathDiagram.h \
mathed/InsetMathDiff.h \ mathed/InsetMathDiff.h \
mathed/InsetMathDots.h \ mathed/InsetMathDots.h \
mathed/InsetMathEnsureMath.h \ mathed/InsetMathEnsureMath.h \
@ -474,7 +473,6 @@ HEADERFILESMATHED = \
mathed/InsetMathFontOld.h \ mathed/InsetMathFontOld.h \
mathed/InsetMathFrac.h \ mathed/InsetMathFrac.h \
mathed/InsetMathGrid.h \ mathed/InsetMathGrid.h \
mathed/InsetMath.h \
mathed/InsetMathHull.h \ mathed/InsetMathHull.h \
mathed/InsetMathKern.h \ mathed/InsetMathKern.h \
mathed/InsetMathLefteqn.h \ mathed/InsetMathLefteqn.h \
@ -507,21 +505,20 @@ HEADERFILESMATHED = \
mathed/InsetMathUnknown.h \ mathed/InsetMathUnknown.h \
mathed/InsetMathXArrow.h \ mathed/InsetMathXArrow.h \
mathed/InsetMathXYMatrix.h \ mathed/InsetMathXYMatrix.h \
mathed/InsetMathDiagram.h \ mathed/MacroTable.h \
mathed/MathAtom.h \ mathed/MathAtom.h \
mathed/MathAutoCorrect.h \ mathed/MathAutoCorrect.h \
mathed/MathClass.h \ mathed/MathClass.h \
mathed/MathData.h \
mathed/MathCompletionList.h \ mathed/MathCompletionList.h \
mathed/MathData.h \
mathed/MathExtern.h \ mathed/MathExtern.h \
mathed/MathFactory.h \ mathed/MathFactory.h \
mathed/MacroTable.h \
mathed/MathParser.h \ mathed/MathParser.h \
mathed/MathParser_flags.h \ mathed/MathParser_flags.h \
mathed/MathRow.h \ mathed/MathRow.h \
mathed/ReplaceData.h \
mathed/MathStream.h \ mathed/MathStream.h \
mathed/MathSupport.h \ mathed/MathSupport.h \
mathed/ReplaceData.h \
mathed/TextPainter.h mathed/TextPainter.h
liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED) liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
@ -535,9 +532,6 @@ SOURCEFILESINSETS = \
insets/ExternalSupport.cpp \ insets/ExternalSupport.cpp \
insets/ExternalTemplate.cpp \ insets/ExternalTemplate.cpp \
insets/ExternalTransforms.cpp \ insets/ExternalTransforms.cpp \
insets/RenderButton.cpp \
insets/RenderGraphic.cpp \
insets/RenderPreview.cpp \
insets/Inset.cpp \ insets/Inset.cpp \
insets/InsetArgument.cpp \ insets/InsetArgument.cpp \
insets/InsetBibitem.cpp \ insets/InsetBibitem.cpp \
@ -558,8 +552,8 @@ SOURCEFILESINSETS = \
insets/InsetFloatList.cpp \ insets/InsetFloatList.cpp \
insets/InsetFoot.cpp \ insets/InsetFoot.cpp \
insets/InsetFootlike.cpp \ insets/InsetFootlike.cpp \
insets/InsetGraphicsParams.cpp \
insets/InsetGraphics.cpp \ insets/InsetGraphics.cpp \
insets/InsetGraphicsParams.cpp \
insets/InsetHyperlink.cpp \ insets/InsetHyperlink.cpp \
insets/InsetInclude.cpp \ insets/InsetInclude.cpp \
insets/InsetIndex.cpp \ insets/InsetIndex.cpp \
@ -589,16 +583,15 @@ SOURCEFILESINSETS = \
insets/InsetText.cpp \ insets/InsetText.cpp \
insets/InsetTOC.cpp \ insets/InsetTOC.cpp \
insets/InsetVSpace.cpp \ insets/InsetVSpace.cpp \
insets/InsetWrap.cpp insets/InsetWrap.cpp \
insets/RenderButton.cpp \
insets/RenderGraphic.cpp \
insets/RenderPreview.cpp
HEADERFILESINSETS = \ HEADERFILESINSETS = \
insets/ExternalSupport.h \ insets/ExternalSupport.h \
insets/ExternalTemplate.h \ insets/ExternalTemplate.h \
insets/ExternalTransforms.h \ insets/ExternalTransforms.h \
insets/RenderBase.h \
insets/RenderButton.h \
insets/RenderGraphic.h \
insets/RenderPreview.h \
insets/Inset.h \ insets/Inset.h \
insets/InsetArgument.h \ insets/InsetArgument.h \
insets/InsetBibitem.h \ insets/InsetBibitem.h \
@ -617,11 +610,11 @@ HEADERFILESINSETS = \
insets/InsetExternal.h \ insets/InsetExternal.h \
insets/InsetFlex.h \ insets/InsetFlex.h \
insets/InsetFloat.h \ insets/InsetFloat.h \
insets/InsetFoot.h \
insets/InsetFloatList.h \ insets/InsetFloatList.h \
insets/InsetFoot.h \
insets/InsetFootlike.h \ insets/InsetFootlike.h \
insets/InsetGraphicsParams.h \
insets/InsetGraphics.h \ insets/InsetGraphics.h \
insets/InsetGraphicsParams.h \
insets/InsetHyperlink.h \ insets/InsetHyperlink.h \
insets/InsetInclude.h \ insets/InsetInclude.h \
insets/InsetIndex.h \ insets/InsetIndex.h \
@ -629,7 +622,6 @@ HEADERFILESINSETS = \
insets/InsetInfo.h \ insets/InsetInfo.h \
insets/InsetIPA.h \ insets/InsetIPA.h \
insets/InsetIPAMacro.h \ insets/InsetIPAMacro.h \
insets/InsetPreview.h \
insets/InsetLabel.h \ insets/InsetLabel.h \
insets/InsetLayout.h \ insets/InsetLayout.h \
insets/InsetLine.h \ insets/InsetLine.h \
@ -641,6 +633,7 @@ HEADERFILESINSETS = \
insets/InsetNomencl.h \ insets/InsetNomencl.h \
insets/InsetNote.h \ insets/InsetNote.h \
insets/InsetPhantom.h \ insets/InsetPhantom.h \
insets/InsetPreview.h \
insets/InsetQuotes.h \ insets/InsetQuotes.h \
insets/InsetRef.h \ insets/InsetRef.h \
insets/InsetScript.h \ insets/InsetScript.h \
@ -651,7 +644,11 @@ HEADERFILESINSETS = \
insets/InsetText.h \ insets/InsetText.h \
insets/InsetTOC.h \ insets/InsetTOC.h \
insets/InsetVSpace.h \ insets/InsetVSpace.h \
insets/InsetWrap.h insets/InsetWrap.h \
insets/RenderBase.h \
insets/RenderButton.h \
insets/RenderGraphic.h \
insets/RenderPreview.h
liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS) liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)
@ -659,15 +656,15 @@ liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)
############################## Tests ################################## ############################## Tests ##################################
EXTRA_DIST += \ EXTRA_DIST += \
tests/test_ExternalTransforms \ tests/boost.cpp \
tests/test_ListingsCaption \ tests/dummy_functions.cpp \
tests/test_layout \
tests/test_Length \
tests/regfiles/ExternalTransforms \ tests/regfiles/ExternalTransforms \
tests/regfiles/Length \ tests/regfiles/Length \
tests/regfiles/ListingsCaption \ tests/regfiles/ListingsCaption \
tests/dummy_functions.cpp \ tests/test_ExternalTransforms \
tests/boost.cpp tests/test_layout \
tests/test_Length \
tests/test_ListingsCaption
TESTS = tests/test_ExternalTransforms tests/test_ListingsCaption \ TESTS = tests/test_ExternalTransforms tests/test_ListingsCaption \
tests/test_layout tests/test_Length tests/test_layout tests/test_Length
@ -704,9 +701,9 @@ check_layout_CPPFLAGS = $(AM_CPPFLAGS)
check_layout_LDADD = $(check_layout_LYX_OBJS) $(TESTS_LIBS) check_layout_LDADD = $(check_layout_LYX_OBJS) $(TESTS_LIBS)
check_layout_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS) check_layout_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
check_layout_SOURCES = \ check_layout_SOURCES = \
tests/boost.cpp \
tests/check_layout.cpp \ tests/check_layout.cpp \
tests/dummy_functions.cpp \ tests/dummy_functions.cpp
tests/boost.cpp
check_layout_LYX_OBJS = \ check_layout_LYX_OBJS = \
insets/InsetLayout.o \ insets/InsetLayout.o \
support/Lexer.o \ support/Lexer.o \
@ -726,9 +723,9 @@ check_ExternalTransforms_CPPFLAGS = $(AM_CPPFLAGS)
check_ExternalTransforms_LDADD = $(check_ExternalTransforms_LYX_OBJS) $(TESTS_LIBS) check_ExternalTransforms_LDADD = $(check_ExternalTransforms_LYX_OBJS) $(TESTS_LIBS)
check_ExternalTransforms_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS) check_ExternalTransforms_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
check_ExternalTransforms_SOURCES = \ check_ExternalTransforms_SOURCES = \
tests/boost.cpp \
tests/check_ExternalTransforms.cpp \ tests/check_ExternalTransforms.cpp \
tests/dummy_functions.cpp \ tests/dummy_functions.cpp
tests/boost.cpp
check_ExternalTransforms_LYX_OBJS = \ check_ExternalTransforms_LYX_OBJS = \
graphics/GraphicsParams.o \ graphics/GraphicsParams.o \
insets/ExternalTransforms.o insets/ExternalTransforms.o
@ -737,17 +734,17 @@ check_Length_CPPFLAGS = $(AM_CPPFLAGS)
check_Length_LDADD = $(TESTS_LIBS) check_Length_LDADD = $(TESTS_LIBS)
check_Length_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS) check_Length_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
check_Length_SOURCES = \ check_Length_SOURCES = \
tests/boost.cpp \
tests/check_Length.cpp \ tests/check_Length.cpp \
tests/dummy_functions.cpp \ tests/dummy_functions.cpp
tests/boost.cpp
check_ListingsCaption_CPPFLAGS = $(AM_CPPFLAGS) check_ListingsCaption_CPPFLAGS = $(AM_CPPFLAGS)
check_ListingsCaption_LDADD = $(check_ListingsCaption_LYX_OBJS) $(TESTS_LIBS) check_ListingsCaption_LDADD = $(check_ListingsCaption_LYX_OBJS) $(TESTS_LIBS)
check_ListingsCaption_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS) check_ListingsCaption_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
check_ListingsCaption_SOURCES = \ check_ListingsCaption_SOURCES = \
tests/boost.cpp \
tests/check_ListingsCaption.cpp \ tests/check_ListingsCaption.cpp \
tests/dummy_functions.cpp \ tests/dummy_functions.cpp
tests/boost.cpp
check_ListingsCaption_LYX_OBJS = check_ListingsCaption_LYX_OBJS =
.PHONY: alltests alltests-recursive updatetests .PHONY: alltests alltests-recursive updatetests