# PLEASE adhere to the alphabetical ordering in this Makefile! # Also indentation by a single tab INCLUDES = -I$(top_srcdir)/src AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl AM_CXXFLAGS = $(CPPUNIT_CFLAGS) ACTIONSSOURCE = \ ${ANALYSISACTIONSOURCE} \ ${ATOMACTIONSOURCE} \ ${CMDACTIONSOURCE} \ ${FRAGMENTATIONACTIONSOURCE} \ ${MOLECULEACTIONSOURCE} \ ${PARSERACTIONSOURCE} \ ${SELECTIONACTIONSOURCE} \ ${TESSELATIONACTIONSOURCE} \ ${WORLDACTIONSOURCE} \ ActionTraits.cpp \ MapOfActions.cpp \ ValueStorage.cpp ACTIONSHEADER = \ ${ANALYSISACTIONHEADER} \ ${ATOMACTIONHEADER} \ ${CMDACTIONHEADER} \ ${FRAGMENTATIONACTIONHEADER} \ ${MOLECULEACTIONHEADER} \ ${PARSERACTIONHEADER} \ ${SELECTIONACTIONHEADER} \ ${TESSELATIONACTIONHEADER} \ ${WORLDACTIONHEADER} \ ActionTraits.hpp \ MapOfActions.hpp \ ValueStorage.hpp \ Values.hpp ANALYSISACTIONSOURCE = \ AnalysisAction/MolecularVolumeAction.cpp \ AnalysisAction/PairCorrelationAction.cpp \ AnalysisAction/PointCorrelationAction.cpp \ AnalysisAction/PrincipalAxisSystemAction.cpp \ AnalysisAction/SurfaceCorrelationAction.cpp ANALYSISACTIONHEADER = \ AnalysisAction/MolecularVolumeAction.hpp \ AnalysisAction/PairCorrelationAction.hpp \ AnalysisAction/PointCorrelationAction.hpp \ AnalysisAction/PrincipalAxisSystemAction.hpp \ AnalysisAction/SurfaceCorrelationAction.hpp ATOMACTIONSOURCE = \ AtomAction/AddAction.cpp \ AtomAction/ChangeElementAction.cpp \ AtomAction/RemoveAction.cpp \ AtomAction/RotateAroundOriginByAngleAction.cpp \ AtomAction/TranslateAction.cpp ATOMACTIONHEADER = \ AtomAction/AddAction.hpp \ AtomAction/ChangeElementAction.hpp \ AtomAction/RemoveAction.cpp \ AtomAction/RotateAroundOriginByAngleAction.hpp \ AtomAction/TranslateAction.hpp CMDACTIONSOURCE = \ CommandAction/BondLengthTableAction.cpp \ CommandAction/ElementDbAction.cpp \ CommandAction/FastParsingAction.cpp \ CommandAction/HelpAction.cpp \ CommandAction/VerboseAction.cpp \ CommandAction/VersionAction.cpp \ CommandAction/WarrantyAction.cpp CMDACTIONHEADER = \ CommandAction/BondLengthTableAction.hpp \ CommandAction/ElementDbAction.hpp \ CommandAction/FastParsingAction.hpp \ CommandAction/HelpAction.hpp \ CommandAction/VerboseAction.hpp \ CommandAction/VersionAction.hpp \ CommandAction/WarrantyAction.hpp FRAGMENTATIONACTIONSOURCE = \ FragmentationAction/ConstructBondGraphAction.cpp \ FragmentationAction/DepthFirstSearchAction.cpp \ FragmentationAction/FragmentationAction.cpp \ FragmentationAction/SubgraphDissectionAction.cpp FRAGMENTATIONACTIONHEADER = \ FragmentationAction/ConstructBondGraphAction.hpp \ FragmentationAction/DepthFirstSearchAction.hpp \ FragmentationAction/FragmentationAction.hpp \ FragmentationAction/SubgraphDissectionAction.hpp MOLECULEACTIONSOURCE = \ MoleculeAction/BondFileAction.cpp \ MoleculeAction/ChangeNameAction.cpp \ MoleculeAction/CopyAction.cpp \ MoleculeAction/FillWithMoleculeAction.cpp \ MoleculeAction/FillVoidWithMoleculeAction.cpp \ MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \ MoleculeAction/RotateAroundSelfByAngleAction.cpp \ MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \ MoleculeAction/SaveAdjacencyAction.cpp \ MoleculeAction/SaveBondsAction.cpp \ MoleculeAction/SaveTemperatureAction.cpp \ MoleculeAction/SuspendInWaterAction.cpp \ MoleculeAction/VerletIntegrationAction.cpp MOLECULEACTIONHEADER = \ MoleculeAction/BondFileAction.hpp \ MoleculeAction/ChangeNameAction.hpp \ MoleculeAction/CopyAction.hpp \ MoleculeAction/FillWithMoleculeAction.hpp \ MoleculeAction/FillVoidWithMoleculeAction.hpp \ MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \ MoleculeAction/RotateAroundSelfByAngleAction.hpp \ MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \ MoleculeAction/SaveAdjacencyAction.hpp \ MoleculeAction/SaveBondsAction.hpp \ MoleculeAction/SaveTemperatureAction.hpp \ MoleculeAction/SuspendInWaterAction.hpp \ MoleculeAction/VerletIntegrationAction.hpp PARSERACTIONSOURCE = \ ParserAction/LoadXyzAction.cpp \ ParserAction/SaveXyzAction.cpp PARSERACTIONHEADER = \ ParserAction/LoadXyzAction.hpp \ ParserAction/SaveXyzAction.hpp SELECTIONACTIONSOURCE = \ SelectionAction/AllAtomsAction.cpp \ SelectionAction/AllAtomsInsideCuboidAction.cpp \ SelectionAction/AllAtomsInsideSphereAction.cpp \ SelectionAction/AllAtomsOfMoleculeAction.cpp \ SelectionAction/AllMoleculesAction.cpp \ SelectionAction/AtomByElementAction.cpp \ SelectionAction/AtomByIdAction.cpp \ SelectionAction/ClearAllAtomsAction.cpp \ SelectionAction/ClearAllMoleculesAction.cpp \ SelectionAction/MoleculeByFormulaAction.cpp \ SelectionAction/MoleculeByIdAction.cpp \ SelectionAction/MoleculeOfAtomAction.cpp \ SelectionAction/NotAllAtomsAction.cpp \ SelectionAction/NotAllAtomsInsideCuboidAction.cpp \ SelectionAction/NotAllAtomsInsideSphereAction.cpp \ SelectionAction/NotAllAtomsOfMoleculeAction.cpp \ SelectionAction/NotAllMoleculesAction.cpp \ SelectionAction/NotAtomByElementAction.cpp \ SelectionAction/NotAtomByIdAction.cpp \ SelectionAction/NotMoleculeByFormulaAction.cpp \ SelectionAction/NotMoleculeByIdAction.cpp \ SelectionAction/NotMoleculeOfAtomAction.cpp SELECTIONACTIONHEADER = \ SelectionAction/AllAtomsAction.hpp \ SelectionAction/AllAtomsInsideCuboidAction.hpp \ SelectionAction/AllAtomsInsideSphereAction.hpp \ SelectionAction/AllAtomsOfMoleculeAction.hpp \ SelectionAction/AllMoleculesAction.hpp \ SelectionAction/AtomByElementAction.hpp \ SelectionAction/AtomByIdAction.hpp \ SelectionAction/ClearAllAtomsAction.hpp \ SelectionAction/ClearAllMoleculesAction.hpp \ SelectionAction/MoleculeByFormulaAction.hpp \ SelectionAction/MoleculeByIdAction.hpp \ SelectionAction/MoleculeOfAtomAction.hpp \ SelectionAction/NotAllAtomsAction.hpp \ SelectionAction/NotAllAtomsInsideCuboidAction.hpp \ SelectionAction/NotAllAtomsInsideSphereAction.hpp \ SelectionAction/NotAllAtomsOfMoleculeAction.hpp \ SelectionAction/NotAllMoleculesAction.hpp \ SelectionAction/NotAtomByElementAction.hpp \ SelectionAction/NotAtomByIdAction.hpp \ SelectionAction/NotMoleculeByFormulaAction.hpp \ SelectionAction/NotMoleculeByIdAction.hpp \ SelectionAction/NotMoleculeOfAtomAction.cpp TESSELATIONACTIONSOURCE = \ TesselationAction/ConvexEnvelopeAction.cpp \ TesselationAction/NonConvexEnvelopeAction.cpp TESSELATIONACTIONHEADER = \ TesselationAction/ConvexEnvelopeAction.hpp \ TesselationAction/NonConvexEnvelopeAction.hpp WORLDACTIONSOURCE = \ WorldAction/AddEmptyBoundaryAction.cpp \ WorldAction/BoundInBoxAction.cpp \ WorldAction/CenterInBoxAction.cpp \ WorldAction/CenterOnEdgeAction.cpp \ WorldAction/ChangeBoxAction.cpp \ WorldAction/InputAction.cpp \ WorldAction/OutputAction.cpp \ WorldAction/RepeatBoxAction.cpp \ WorldAction/ScaleBoxAction.cpp \ WorldAction/SetDefaultNameAction.cpp \ WorldAction/SetGaussianBasisAction.cpp \ WorldAction/SetOutputFormatsAction.cpp WORLDACTIONHEADER = \ WorldAction/AddEmptyBoundaryAction.hpp \ WorldAction/BoundInBoxAction.hpp \ WorldAction/CenterInBoxAction.hpp \ WorldAction/CenterOnEdgeAction.hpp \ WorldAction/ChangeBoxAction.hpp \ WorldAction/InputAction.hpp \ WorldAction/OutputAction.hpp \ WorldAction/RepeatBoxAction.hpp \ WorldAction/ScaleBoxAction.hpp \ WorldAction/SetDefaultNameAction.hpp \ WorldAction/SetGaussianBasisAction.hpp \ WorldAction/SetOutputFormatsAction.hpp lib_LTLIBRARIES = libMolecuilderActions-@MOLECUILDER_API_VERSION@.la libMolecuilderActions_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/ libMolecuilderActions_libs = \ ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \ ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la nobase_libMolecuilderActions_include_HEADERS = ${ACTIONSHEADER} ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and ## will therefore be treated as if it were literally part of the target name, ## and the variable name derived from that. ## The file extension .cc is recognized by Automake, and makes it produce ## rules which invoke the C++ compiler to produce a libtool object file (.lo) ## from each source file. Note that it is not necessary to list header files ## which are already listed elsewhere in a _HEADERS variable assignment. libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_SOURCES = ${ACTIONSSOURCE} ## Instruct libtool to include ABI version information in the generated shared ## library file (.so). The library ABI version is defined in configure.ac, so ## that all version information is kept in one place. libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION) ## The generated configuration header is installed in its own subdirectory of ## $(libdir). The reason for this is that the configuration information put ## into this header file describes the target platform the installed library ## has been built for. Thus the file must not be installed into a location ## intended for architecture-independent files, as defined by the Filesystem ## Hierarchy Standard (FHS). ## The nodist_ prefix instructs Automake to not generate rules for including ## the listed files in the distribution on 'make dist'. Files that are listed ## in _HEADERS variables are normally included in the distribution, but the ## configuration header file is generated at configure time and should not be ## shipped with the source tarball. libMolecuilderActions_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include nodist_libMolecuilderActions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h ## Install the generated pkg-config file (.pc) into the expected location for ## architecture-dependent package configuration information. Occasionally, ## pkg-config files are also used for architecture-independent data packages, ## in which case the correct install location would be $(datadir)/pkgconfig. pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc unity.cpp: echo "" > unity.cpp; \ list='$(ACTIONSSOURCE)'; for file in $$list; do \ echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \ done; MOSTLYCLEANFILES = unity.cpp