[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 \
|
---|
[34c338] | 52 | AtomAction/RemoveAction.cpp \
|
---|
[22c44bf] | 53 | AtomAction/RotateAroundOriginByAngleAction.cpp \
|
---|
[34c338] | 54 | AtomAction/TranslateAction.cpp
|
---|
[5079a0] | 55 | ATOMACTIONHEADER = \
|
---|
| 56 | AtomAction/AddAction.hpp \
|
---|
| 57 | AtomAction/ChangeElementAction.hpp \
|
---|
[34c338] | 58 | AtomAction/RemoveAction.cpp \
|
---|
[22c44bf] | 59 | AtomAction/RotateAroundOriginByAngleAction.hpp \
|
---|
[34c338] | 60 | AtomAction/TranslateAction.hpp
|
---|
[5079a0] | 61 |
|
---|
| 62 | CMDACTIONSOURCE = \
|
---|
[53d01c] | 63 | CommandAction/BondLengthTableAction.cpp \
|
---|
| 64 | CommandAction/ElementDbAction.cpp \
|
---|
| 65 | CommandAction/FastParsingAction.cpp \
|
---|
| 66 | CommandAction/HelpAction.cpp \
|
---|
| 67 | CommandAction/VerboseAction.cpp \
|
---|
| 68 | CommandAction/VersionAction.cpp
|
---|
[5079a0] | 69 | CMDACTIONHEADER = \
|
---|
[53d01c] | 70 | CommandAction/BondLengthTableAction.hpp \
|
---|
| 71 | CommandAction/ElementDbAction.hpp \
|
---|
| 72 | CommandAction/FastParsingAction.hpp \
|
---|
| 73 | CommandAction/HelpAction.hpp \
|
---|
| 74 | CommandAction/VerboseAction.hpp \
|
---|
| 75 | CommandAction/VersionAction.hpp
|
---|
[5079a0] | 76 |
|
---|
| 77 | FRAGMENTATIONACTIONSOURCE = \
|
---|
| 78 | FragmentationAction/DepthFirstSearchAction.cpp \
|
---|
| 79 | FragmentationAction/FragmentationAction.cpp \
|
---|
| 80 | FragmentationAction/SubgraphDissectionAction.cpp
|
---|
| 81 | FRAGMENTATIONACTIONHEADER = \
|
---|
| 82 | FragmentationAction/DepthFirstSearchAction.hpp \
|
---|
| 83 | FragmentationAction/FragmentationAction.hpp \
|
---|
| 84 | FragmentationAction/SubgraphDissectionAction.hpp
|
---|
| 85 |
|
---|
| 86 | MOLECULEACTIONSOURCE = \
|
---|
| 87 | MoleculeAction/BondFileAction.cpp \
|
---|
| 88 | MoleculeAction/ChangeNameAction.cpp \
|
---|
| 89 | MoleculeAction/FillWithMoleculeAction.cpp \
|
---|
| 90 | MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
|
---|
[eaf4ae] | 91 | MoleculeAction/RotateAroundSelfByAngleAction.cpp \
|
---|
[5079a0] | 92 | MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
|
---|
| 93 | MoleculeAction/SaveAdjacencyAction.cpp \
|
---|
| 94 | MoleculeAction/SaveBondsAction.cpp \
|
---|
| 95 | MoleculeAction/SaveTemperatureAction.cpp \
|
---|
| 96 | MoleculeAction/SuspendInWaterAction.cpp \
|
---|
| 97 | MoleculeAction/VerletIntegrationAction.cpp
|
---|
| 98 | MOLECULEACTIONHEADER = \
|
---|
| 99 | MoleculeAction/BondFileAction.hpp \
|
---|
| 100 | MoleculeAction/ChangeNameAction.hpp \
|
---|
| 101 | MoleculeAction/FillWithMoleculeAction.hpp \
|
---|
| 102 | MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
|
---|
[eaf4ae] | 103 | MoleculeAction/RotateAroundSelfByAngleAction.hpp \
|
---|
[5079a0] | 104 | MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
|
---|
| 105 | MoleculeAction/SaveAdjacencyAction.hpp \
|
---|
| 106 | MoleculeAction/SaveBondsAction.hpp \
|
---|
| 107 | MoleculeAction/SaveTemperatureAction.hpp \
|
---|
| 108 | MoleculeAction/SuspendInWaterAction.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 \
|
---|
[1cc87e] | 120 | SelectionAction/AllAtomsInsideCuboidAction.cpp \
|
---|
| 121 | SelectionAction/AllAtomsInsideSphereAction.cpp \
|
---|
[770287] | 122 | SelectionAction/AllAtomsOfMoleculeAction.cpp \
|
---|
[e472eab] | 123 | SelectionAction/AllMoleculesAction.cpp \
|
---|
[51769f] | 124 | SelectionAction/AtomByElementAction.cpp \
|
---|
[e2009b] | 125 | SelectionAction/AtomByIdAction.cpp \
|
---|
[e212ff] | 126 | SelectionAction/ClearAllAtomsAction.cpp \
|
---|
[2218d94] | 127 | SelectionAction/ClearAllMoleculesAction.cpp \
|
---|
[51769f] | 128 | SelectionAction/MoleculeByFormulaAction.cpp \
|
---|
[e2009b] | 129 | SelectionAction/MoleculeByIdAction.cpp \
|
---|
[481e92] | 130 | SelectionAction/MoleculeOfAtomAction.cpp \
|
---|
[e472eab] | 131 | SelectionAction/NotAllAtomsAction.cpp \
|
---|
[1cc87e] | 132 | SelectionAction/NotAllAtomsInsideCuboidAction.cpp \
|
---|
| 133 | SelectionAction/NotAllAtomsInsideSphereAction.cpp \
|
---|
[381c5f] | 134 | SelectionAction/NotAllAtomsOfMoleculeAction.cpp \
|
---|
[e472eab] | 135 | SelectionAction/NotAllMoleculesAction.cpp \
|
---|
[51769f] | 136 | SelectionAction/NotAtomByElementAction.cpp \
|
---|
[e2009b] | 137 | SelectionAction/NotAtomByIdAction.cpp \
|
---|
[51769f] | 138 | SelectionAction/NotMoleculeByFormulaAction.cpp \
|
---|
[75a80f] | 139 | SelectionAction/NotMoleculeByIdAction.cpp \
|
---|
| 140 | SelectionAction/NotMoleculeOfAtomAction.cpp
|
---|
[e2009b] | 141 | SELECTIONACTIONHEADER = \
|
---|
[e472eab] | 142 | SelectionAction/AllAtomsAction.hpp \
|
---|
[1cc87e] | 143 | SelectionAction/AllAtomsInsideCuboidAction.hpp \
|
---|
| 144 | SelectionAction/AllAtomsInsideSphereAction.hpp \
|
---|
[770287] | 145 | SelectionAction/AllAtomsOfMoleculeAction.hpp \
|
---|
[e472eab] | 146 | SelectionAction/AllMoleculesAction.hpp \
|
---|
[51769f] | 147 | SelectionAction/AtomByElementAction.hpp \
|
---|
[e2009b] | 148 | SelectionAction/AtomByIdAction.hpp \
|
---|
[e212ff] | 149 | SelectionAction/ClearAllAtomsAction.hpp \
|
---|
[2218d94] | 150 | SelectionAction/ClearAllMoleculesAction.hpp \
|
---|
[51769f] | 151 | SelectionAction/MoleculeByFormulaAction.hpp \
|
---|
[e2009b] | 152 | SelectionAction/MoleculeByIdAction.hpp \
|
---|
[481e92] | 153 | SelectionAction/MoleculeOfAtomAction.hpp \
|
---|
[e472eab] | 154 | SelectionAction/NotAllAtomsAction.hpp \
|
---|
[1cc87e] | 155 | SelectionAction/NotAllAtomsInsideCuboidAction.hpp \
|
---|
| 156 | SelectionAction/NotAllAtomsInsideSphereAction.hpp \
|
---|
[381c5f] | 157 | SelectionAction/NotAllAtomsOfMoleculeAction.hpp \
|
---|
[e472eab] | 158 | SelectionAction/NotAllMoleculesAction.hpp \
|
---|
[51769f] | 159 | SelectionAction/NotAtomByElementAction.hpp \
|
---|
[e2009b] | 160 | SelectionAction/NotAtomByIdAction.hpp \
|
---|
[51769f] | 161 | SelectionAction/NotMoleculeByFormulaAction.hpp \
|
---|
[75a80f] | 162 | SelectionAction/NotMoleculeByIdAction.hpp \
|
---|
| 163 | SelectionAction/NotMoleculeOfAtomAction.cpp
|
---|
[e2009b] | 164 |
|
---|
[5079a0] | 165 | TESSELATIONACTIONSOURCE = \
|
---|
| 166 | TesselationAction/ConvexEnvelopeAction.cpp \
|
---|
| 167 | TesselationAction/NonConvexEnvelopeAction.cpp
|
---|
| 168 | TESSELATIONACTIONHEADER = \
|
---|
| 169 | TesselationAction/ConvexEnvelopeAction.hpp \
|
---|
| 170 | TesselationAction/NonConvexEnvelopeAction.hpp
|
---|
| 171 |
|
---|
| 172 | WORLDACTIONSOURCE = \
|
---|
| 173 | WorldAction/AddEmptyBoundaryAction.cpp \
|
---|
| 174 | WorldAction/BoundInBoxAction.cpp \
|
---|
| 175 | WorldAction/CenterInBoxAction.cpp \
|
---|
| 176 | WorldAction/CenterOnEdgeAction.cpp \
|
---|
| 177 | WorldAction/ChangeBoxAction.cpp \
|
---|
[4f7f34e] | 178 | WorldAction/InputAction.cpp \
|
---|
| 179 | WorldAction/OutputAction.cpp \
|
---|
[5079a0] | 180 | WorldAction/RepeatBoxAction.cpp \
|
---|
| 181 | WorldAction/ScaleBoxAction.cpp \
|
---|
| 182 | WorldAction/SetDefaultNameAction.cpp \
|
---|
[361ba7] | 183 | WorldAction/SetGaussianBasisAction.cpp \
|
---|
[b9c847] | 184 | WorldAction/SetOutputFormatsAction.cpp
|
---|
[5079a0] | 185 | WORLDACTIONHEADER = \
|
---|
| 186 | WorldAction/AddEmptyBoundaryAction.hpp \
|
---|
| 187 | WorldAction/BoundInBoxAction.hpp \
|
---|
| 188 | WorldAction/CenterInBoxAction.hpp \
|
---|
| 189 | WorldAction/CenterOnEdgeAction.hpp \
|
---|
| 190 | WorldAction/ChangeBoxAction.hpp \
|
---|
[4f7f34e] | 191 | WorldAction/InputAction.hpp \
|
---|
| 192 | WorldAction/OutputAction.hpp \
|
---|
[5079a0] | 193 | WorldAction/RepeatBoxAction.hpp \
|
---|
| 194 | WorldAction/ScaleBoxAction.hpp \
|
---|
| 195 | WorldAction/SetDefaultNameAction.hpp \
|
---|
[b9c847] | 196 | WorldAction/SetGaussianBasisAction.hpp \
|
---|
| 197 | WorldAction/SetOutputFormatsAction.hpp
|
---|
[5079a0] | 198 |
|
---|
[861874] | 199 |
|
---|
| 200 | lib_LTLIBRARIES = libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
|
---|
| 201 | libMolecuilderActions_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
[9ee38b] | 202 | libMolecuilderActions_libs = \
|
---|
| 203 | ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 204 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
[861874] | 205 | nobase_libMolecuilderActions_include_HEADERS = ${ACTIONSHEADER}
|
---|
| 206 |
|
---|
| 207 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 208 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 209 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 210 | ## and the variable name derived from that.
|
---|
| 211 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 212 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 213 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 214 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 215 | libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_SOURCES = ${ACTIONSSOURCE}
|
---|
| 216 |
|
---|
| 217 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 218 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 219 | ## that all version information is kept in one place.
|
---|
| 220 | libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 221 |
|
---|
| 222 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 223 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 224 | ## into this header file describes the target platform the installed library
|
---|
| 225 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 226 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 227 | ## Hierarchy Standard (FHS).
|
---|
| 228 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 229 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 230 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 231 | ## configuration header file is generated at configure time and should not be
|
---|
| 232 | ## shipped with the source tarball.
|
---|
| 233 | libMolecuilderActions_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
|
---|
| 234 | nodist_libMolecuilderActions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 235 |
|
---|
| 236 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 237 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 238 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 239 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 240 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 241 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
|
---|
| 242 |
|
---|
[796aa6] | 243 | unity.cpp:
|
---|
| 244 | echo "" > unity.cpp; \
|
---|
| 245 | list='$(ACTIONSSOURCE)'; for file in $$list; do \
|
---|
| 246 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
| 247 | done;
|
---|
| 248 |
|
---|
[d223d5] | 249 | MOSTLYCLEANFILES = unity.cpp
|
---|