[5079a0] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
| 4 | INCLUDES = -I$(top_srcdir)/src
|
---|
| 5 |
|
---|
| 6 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
| 7 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
| 8 |
|
---|
| 9 | ACTIONSSOURCE = \
|
---|
| 10 | ${ANALYSISACTIONSOURCE} \
|
---|
| 11 | ${ATOMACTIONSOURCE} \
|
---|
| 12 | ${CMDACTIONSOURCE} \
|
---|
| 13 | ${FRAGMENTATIONACTIONSOURCE} \
|
---|
| 14 | ${MOLECULEACTIONSOURCE} \
|
---|
| 15 | ${PARSERACTIONSOURCE} \
|
---|
[e2009b] | 16 | ${SELECTIONACTIONSOURCE} \
|
---|
[5079a0] | 17 | ${TESSELATIONACTIONSOURCE} \
|
---|
| 18 | ${WORLDACTIONSOURCE} \
|
---|
[861874] | 19 | MapOfActions.cpp \
|
---|
| 20 | ValueStorage.cpp
|
---|
[5079a0] | 21 |
|
---|
| 22 | ACTIONSHEADER = \
|
---|
| 23 | ${ANALYSISACTIONHEADER} \
|
---|
| 24 | ${ATOMACTIONHEADER} \
|
---|
| 25 | ${CMDACTIONHEADER} \
|
---|
| 26 | ${FRAGMENTATIONACTIONHEADER} \
|
---|
| 27 | ${MOLECULEACTIONHEADER} \
|
---|
| 28 | ${PARSERACTIONHEADER} \
|
---|
[e2009b] | 29 | ${SELECTIONACTIONHEADER} \
|
---|
[5079a0] | 30 | ${TESSELATIONACTIONHEADER} \
|
---|
| 31 | ${WORLDACTIONHEADER} \
|
---|
[0286bc] | 32 | MapOfActions.hpp \
|
---|
[861874] | 33 | ValueStorage.hpp \
|
---|
[0286bc] | 34 | Values.hpp
|
---|
[5079a0] | 35 |
|
---|
| 36 | ANALYSISACTIONSOURCE = \
|
---|
| 37 | AnalysisAction/MolecularVolumeAction.cpp \
|
---|
| 38 | AnalysisAction/PairCorrelationAction.cpp \
|
---|
[d02e07] | 39 | AnalysisAction/PointCorrelationAction.cpp \
|
---|
| 40 | AnalysisAction/PrincipalAxisSystemAction.cpp \
|
---|
| 41 | AnalysisAction/SurfaceCorrelationAction.cpp
|
---|
[5079a0] | 42 | ANALYSISACTIONHEADER = \
|
---|
| 43 | AnalysisAction/MolecularVolumeAction.hpp \
|
---|
| 44 | AnalysisAction/PairCorrelationAction.hpp \
|
---|
[d02e07] | 45 | AnalysisAction/PointCorrelationAction.hpp \
|
---|
| 46 | AnalysisAction/PrincipalAxisSystemAction.hpp \
|
---|
| 47 | AnalysisAction/SurfaceCorrelationAction.hpp
|
---|
[5079a0] | 48 |
|
---|
| 49 | ATOMACTIONSOURCE = \
|
---|
| 50 | AtomAction/AddAction.cpp \
|
---|
| 51 | AtomAction/ChangeElementAction.cpp \
|
---|
| 52 | AtomAction/RemoveAction.cpp
|
---|
| 53 | ATOMACTIONHEADER = \
|
---|
| 54 | AtomAction/AddAction.hpp \
|
---|
| 55 | AtomAction/ChangeElementAction.hpp \
|
---|
| 56 | AtomAction/RemoveAction.cpp
|
---|
| 57 |
|
---|
| 58 | CMDACTIONSOURCE = \
|
---|
| 59 | CmdAction/BondLengthTableAction.cpp \
|
---|
| 60 | CmdAction/ElementDbAction.cpp \
|
---|
| 61 | CmdAction/FastParsingAction.cpp \
|
---|
| 62 | CmdAction/HelpAction.cpp \
|
---|
| 63 | CmdAction/VerboseAction.cpp \
|
---|
| 64 | CmdAction/VersionAction.cpp
|
---|
| 65 | CMDACTIONHEADER = \
|
---|
| 66 | CmdAction/BondLengthTableAction.hpp \
|
---|
| 67 | CmdAction/ElementDbAction.hpp \
|
---|
| 68 | CmdAction/FastParsingAction.hpp \
|
---|
| 69 | CmdAction/HelpAction.hpp \
|
---|
| 70 | CmdAction/VerboseAction.hpp \
|
---|
| 71 | CmdAction/VersionAction.hpp
|
---|
| 72 |
|
---|
| 73 | FRAGMENTATIONACTIONSOURCE = \
|
---|
| 74 | FragmentationAction/DepthFirstSearchAction.cpp \
|
---|
| 75 | FragmentationAction/FragmentationAction.cpp \
|
---|
| 76 | FragmentationAction/SubgraphDissectionAction.cpp
|
---|
| 77 | FRAGMENTATIONACTIONHEADER = \
|
---|
| 78 | FragmentationAction/DepthFirstSearchAction.hpp \
|
---|
| 79 | FragmentationAction/FragmentationAction.hpp \
|
---|
| 80 | FragmentationAction/SubgraphDissectionAction.hpp
|
---|
| 81 |
|
---|
| 82 | MOLECULEACTIONSOURCE = \
|
---|
| 83 | MoleculeAction/BondFileAction.cpp \
|
---|
| 84 | MoleculeAction/ChangeNameAction.cpp \
|
---|
| 85 | MoleculeAction/FillWithMoleculeAction.cpp \
|
---|
| 86 | MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
|
---|
[eaf4ae] | 87 | MoleculeAction/RotateAroundOriginByAngleAction.cpp \
|
---|
| 88 | MoleculeAction/RotateAroundSelfByAngleAction.cpp \
|
---|
[5079a0] | 89 | MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
|
---|
| 90 | MoleculeAction/SaveAdjacencyAction.cpp \
|
---|
| 91 | MoleculeAction/SaveBondsAction.cpp \
|
---|
| 92 | MoleculeAction/SaveTemperatureAction.cpp \
|
---|
| 93 | MoleculeAction/SuspendInWaterAction.cpp \
|
---|
| 94 | MoleculeAction/TranslateAction.cpp \
|
---|
| 95 | MoleculeAction/VerletIntegrationAction.cpp
|
---|
| 96 | MOLECULEACTIONHEADER = \
|
---|
| 97 | MoleculeAction/BondFileAction.hpp \
|
---|
| 98 | MoleculeAction/ChangeNameAction.hpp \
|
---|
| 99 | MoleculeAction/FillWithMoleculeAction.hpp \
|
---|
| 100 | MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
|
---|
[eaf4ae] | 101 | MoleculeAction/RotateAroundOriginByAngleAction.hpp \
|
---|
| 102 | MoleculeAction/RotateAroundSelfByAngleAction.hpp \
|
---|
[5079a0] | 103 | MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
|
---|
| 104 | MoleculeAction/SaveAdjacencyAction.hpp \
|
---|
| 105 | MoleculeAction/SaveBondsAction.hpp \
|
---|
| 106 | MoleculeAction/SaveTemperatureAction.hpp \
|
---|
| 107 | MoleculeAction/SuspendInWaterAction.hpp \
|
---|
| 108 | MoleculeAction/TranslateAction.hpp \
|
---|
| 109 | MoleculeAction/VerletIntegrationAction.hpp
|
---|
| 110 |
|
---|
| 111 | PARSERACTIONSOURCE = \
|
---|
| 112 | ParserAction/LoadXyzAction.cpp \
|
---|
| 113 | ParserAction/SaveXyzAction.cpp
|
---|
| 114 | PARSERACTIONHEADER = \
|
---|
| 115 | ParserAction/LoadXyzAction.hpp \
|
---|
| 116 | ParserAction/SaveXyzAction.hpp
|
---|
| 117 |
|
---|
[e2009b] | 118 | SELECTIONACTIONSOURCE = \
|
---|
[e472eab] | 119 | SelectionAction/AllAtomsAction.cpp \
|
---|
| 120 | SelectionAction/AllMoleculesAction.cpp \
|
---|
[e2009b] | 121 | SelectionAction/AtomByIdAction.cpp \
|
---|
| 122 | SelectionAction/MoleculeByIdAction.cpp \
|
---|
[e472eab] | 123 | SelectionAction/NotAllAtomsAction.cpp \
|
---|
| 124 | SelectionAction/NotAllMoleculesAction.cpp \
|
---|
[e2009b] | 125 | SelectionAction/NotAtomByIdAction.cpp \
|
---|
| 126 | SelectionAction/NotMoleculeByIdAction.cpp
|
---|
| 127 | SELECTIONACTIONHEADER = \
|
---|
[e472eab] | 128 | SelectionAction/AllAtomsAction.hpp \
|
---|
| 129 | SelectionAction/AllMoleculesAction.hpp \
|
---|
[e2009b] | 130 | SelectionAction/AtomByIdAction.hpp \
|
---|
| 131 | SelectionAction/MoleculeByIdAction.hpp \
|
---|
[e472eab] | 132 | SelectionAction/NotAllAtomsAction.hpp \
|
---|
| 133 | SelectionAction/NotAllMoleculesAction.hpp \
|
---|
[e2009b] | 134 | SelectionAction/NotAtomByIdAction.hpp \
|
---|
| 135 | SelectionAction/NotMoleculeByIdAction.hpp
|
---|
| 136 |
|
---|
[5079a0] | 137 | TESSELATIONACTIONSOURCE = \
|
---|
| 138 | TesselationAction/ConvexEnvelopeAction.cpp \
|
---|
| 139 | TesselationAction/NonConvexEnvelopeAction.cpp
|
---|
| 140 | TESSELATIONACTIONHEADER = \
|
---|
| 141 | TesselationAction/ConvexEnvelopeAction.hpp \
|
---|
| 142 | TesselationAction/NonConvexEnvelopeAction.hpp
|
---|
| 143 |
|
---|
| 144 | WORLDACTIONSOURCE = \
|
---|
| 145 | WorldAction/AddEmptyBoundaryAction.cpp \
|
---|
| 146 | WorldAction/BoundInBoxAction.cpp \
|
---|
| 147 | WorldAction/CenterInBoxAction.cpp \
|
---|
| 148 | WorldAction/CenterOnEdgeAction.cpp \
|
---|
| 149 | WorldAction/ChangeBoxAction.cpp \
|
---|
[4f7f34e] | 150 | WorldAction/InputAction.cpp \
|
---|
| 151 | WorldAction/OutputAction.cpp \
|
---|
[5079a0] | 152 | WorldAction/RemoveSphereOfAtomsAction.cpp \
|
---|
| 153 | WorldAction/RepeatBoxAction.cpp \
|
---|
| 154 | WorldAction/ScaleBoxAction.cpp \
|
---|
| 155 | WorldAction/SetDefaultNameAction.cpp \
|
---|
[361ba7] | 156 | WorldAction/SetGaussianBasisAction.cpp \
|
---|
[b9c847] | 157 | WorldAction/SetOutputFormatsAction.cpp
|
---|
[5079a0] | 158 | WORLDACTIONHEADER = \
|
---|
| 159 | WorldAction/AddEmptyBoundaryAction.hpp \
|
---|
| 160 | WorldAction/BoundInBoxAction.hpp \
|
---|
| 161 | WorldAction/CenterInBoxAction.hpp \
|
---|
| 162 | WorldAction/CenterOnEdgeAction.hpp \
|
---|
| 163 | WorldAction/ChangeBoxAction.hpp \
|
---|
[4f7f34e] | 164 | WorldAction/InputAction.hpp \
|
---|
| 165 | WorldAction/OutputAction.hpp \
|
---|
[5079a0] | 166 | WorldAction/RemoveSphereOfAtomsAction.hpp \
|
---|
| 167 | WorldAction/RepeatBoxAction.hpp \
|
---|
| 168 | WorldAction/ScaleBoxAction.hpp \
|
---|
| 169 | WorldAction/SetDefaultNameAction.hpp \
|
---|
[b9c847] | 170 | WorldAction/SetGaussianBasisAction.hpp \
|
---|
| 171 | WorldAction/SetOutputFormatsAction.hpp
|
---|
[5079a0] | 172 |
|
---|
[861874] | 173 |
|
---|
| 174 | lib_LTLIBRARIES = libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
|
---|
| 175 | libMolecuilderActions_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
| 176 | libMolecuilderActions_libs = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
| 177 | nobase_libMolecuilderActions_include_HEADERS = ${ACTIONSHEADER}
|
---|
| 178 |
|
---|
| 179 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 180 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 181 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 182 | ## and the variable name derived from that.
|
---|
| 183 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 184 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 185 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 186 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 187 | libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_SOURCES = ${ACTIONSSOURCE}
|
---|
| 188 |
|
---|
| 189 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 190 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 191 | ## that all version information is kept in one place.
|
---|
| 192 | libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 193 |
|
---|
| 194 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 195 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 196 | ## into this header file describes the target platform the installed library
|
---|
| 197 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 198 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 199 | ## Hierarchy Standard (FHS).
|
---|
| 200 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 201 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 202 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 203 | ## configuration header file is generated at configure time and should not be
|
---|
| 204 | ## shipped with the source tarball.
|
---|
| 205 | libMolecuilderActions_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
|
---|
| 206 | nodist_libMolecuilderActions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 207 |
|
---|
| 208 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 209 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 210 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 211 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 212 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 213 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
|
---|
| 214 |
|
---|
[796aa6] | 215 | unity.cpp:
|
---|
| 216 | echo "" > unity.cpp; \
|
---|
| 217 | list='$(ACTIONSSOURCE)'; for file in $$list; do \
|
---|
| 218 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
| 219 | done;
|
---|
| 220 |
|
---|
[d223d5] | 221 | MOSTLYCLEANFILES = unity.cpp
|
---|