[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 |
|
---|
[e5bf2b] | 6 | AM_LDFLAGS = -ldl
|
---|
| 7 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
[5079a0] | 8 |
|
---|
| 9 | ACTIONSSOURCE = \
|
---|
| 10 | ${ANALYSISACTIONSOURCE} \
|
---|
| 11 | ${ATOMACTIONSOURCE} \
|
---|
| 12 | ${CMDACTIONSOURCE} \
|
---|
| 13 | ${FRAGMENTATIONACTIONSOURCE} \
|
---|
| 14 | ${MOLECULEACTIONSOURCE} \
|
---|
| 15 | ${PARSERACTIONSOURCE} \
|
---|
[3f9eba] | 16 | ${RANDONNUMBERSSOURCE} \
|
---|
[125002] | 17 | ${SELECTIONATOMACTIONSOURCE} \
|
---|
| 18 | ${SELECTIONMOLECULEACTIONSOURCE} \
|
---|
[5079a0] | 19 | ${TESSELATIONACTIONSOURCE} \
|
---|
| 20 | ${WORLDACTIONSOURCE} \
|
---|
[e4afb4] | 21 | RedoAction.cpp \
|
---|
| 22 | UndoAction.cpp \
|
---|
[528b3e] | 23 | Values.cpp \
|
---|
[861874] | 24 | ValueStorage.cpp
|
---|
[5079a0] | 25 |
|
---|
| 26 | ACTIONSHEADER = \
|
---|
| 27 | ${ANALYSISACTIONHEADER} \
|
---|
| 28 | ${ATOMACTIONHEADER} \
|
---|
| 29 | ${CMDACTIONHEADER} \
|
---|
| 30 | ${FRAGMENTATIONACTIONHEADER} \
|
---|
| 31 | ${MOLECULEACTIONHEADER} \
|
---|
| 32 | ${PARSERACTIONHEADER} \
|
---|
[3f9eba] | 33 | ${RANDONNUMBERSHEADER} \
|
---|
[125002] | 34 | ${SELECTIONATOMACTIONHEADER} \
|
---|
| 35 | ${SELECTIONMOLECULEACTIONHEADER} \
|
---|
[5079a0] | 36 | ${TESSELATIONACTIONHEADER} \
|
---|
| 37 | ${WORLDACTIONHEADER} \
|
---|
[528b3e] | 38 | Values.hpp \
|
---|
| 39 | ValueStorage.hpp
|
---|
[5079a0] | 40 |
|
---|
| 41 | ANALYSISACTIONSOURCE = \
|
---|
[be945c] | 42 | AnalysisAction/DipoleAngularCorrelationAction.cpp \
|
---|
[5079a0] | 43 | AnalysisAction/MolecularVolumeAction.cpp \
|
---|
| 44 | AnalysisAction/PairCorrelationAction.cpp \
|
---|
[d02e07] | 45 | AnalysisAction/PointCorrelationAction.cpp \
|
---|
| 46 | AnalysisAction/PrincipalAxisSystemAction.cpp \
|
---|
| 47 | AnalysisAction/SurfaceCorrelationAction.cpp
|
---|
[5079a0] | 48 | ANALYSISACTIONHEADER = \
|
---|
[be945c] | 49 | AnalysisAction/DipoleAngularCorrelationAction.hpp \
|
---|
[5079a0] | 50 | AnalysisAction/MolecularVolumeAction.hpp \
|
---|
| 51 | AnalysisAction/PairCorrelationAction.hpp \
|
---|
[d02e07] | 52 | AnalysisAction/PointCorrelationAction.hpp \
|
---|
| 53 | AnalysisAction/PrincipalAxisSystemAction.hpp \
|
---|
| 54 | AnalysisAction/SurfaceCorrelationAction.hpp
|
---|
[5079a0] | 55 |
|
---|
| 56 | ATOMACTIONSOURCE = \
|
---|
| 57 | AtomAction/AddAction.cpp \
|
---|
| 58 | AtomAction/ChangeElementAction.cpp \
|
---|
[34c338] | 59 | AtomAction/RemoveAction.cpp \
|
---|
[22c44bf] | 60 | AtomAction/RotateAroundOriginByAngleAction.cpp \
|
---|
[34c338] | 61 | AtomAction/TranslateAction.cpp
|
---|
[5079a0] | 62 | ATOMACTIONHEADER = \
|
---|
| 63 | AtomAction/AddAction.hpp \
|
---|
| 64 | AtomAction/ChangeElementAction.hpp \
|
---|
[34c338] | 65 | AtomAction/RemoveAction.cpp \
|
---|
[22c44bf] | 66 | AtomAction/RotateAroundOriginByAngleAction.hpp \
|
---|
[34c338] | 67 | AtomAction/TranslateAction.hpp
|
---|
[5079a0] | 68 |
|
---|
| 69 | CMDACTIONSOURCE = \
|
---|
[53d01c] | 70 | CommandAction/BondLengthTableAction.cpp \
|
---|
| 71 | CommandAction/ElementDbAction.cpp \
|
---|
| 72 | CommandAction/FastParsingAction.cpp \
|
---|
| 73 | CommandAction/HelpAction.cpp \
|
---|
| 74 | CommandAction/VerboseAction.cpp \
|
---|
[7230be] | 75 | CommandAction/VersionAction.cpp \
|
---|
| 76 | CommandAction/WarrantyAction.cpp
|
---|
[5079a0] | 77 | CMDACTIONHEADER = \
|
---|
[53d01c] | 78 | CommandAction/BondLengthTableAction.hpp \
|
---|
| 79 | CommandAction/ElementDbAction.hpp \
|
---|
| 80 | CommandAction/FastParsingAction.hpp \
|
---|
| 81 | CommandAction/HelpAction.hpp \
|
---|
| 82 | CommandAction/VerboseAction.hpp \
|
---|
[7230be] | 83 | CommandAction/VersionAction.hpp \
|
---|
| 84 | CommandAction/WarrantyAction.hpp
|
---|
[5079a0] | 85 |
|
---|
| 86 | FRAGMENTATIONACTIONSOURCE = \
|
---|
[d4a44c] | 87 | FragmentationAction/CreateAdjacencyAction.cpp \
|
---|
[5079a0] | 88 | FragmentationAction/DepthFirstSearchAction.cpp \
|
---|
| 89 | FragmentationAction/FragmentationAction.cpp \
|
---|
| 90 | FragmentationAction/SubgraphDissectionAction.cpp
|
---|
| 91 | FRAGMENTATIONACTIONHEADER = \
|
---|
[d4a44c] | 92 | FragmentationAction/CreateAdjacencyAction.hpp \
|
---|
[5079a0] | 93 | FragmentationAction/DepthFirstSearchAction.hpp \
|
---|
| 94 | FragmentationAction/FragmentationAction.hpp \
|
---|
| 95 | FragmentationAction/SubgraphDissectionAction.hpp
|
---|
| 96 |
|
---|
| 97 | MOLECULEACTIONSOURCE = \
|
---|
| 98 | MoleculeAction/BondFileAction.cpp \
|
---|
| 99 | MoleculeAction/ChangeNameAction.cpp \
|
---|
[1a7fd2] | 100 | MoleculeAction/CopyAction.cpp \
|
---|
[5079a0] | 101 | MoleculeAction/FillWithMoleculeAction.cpp \
|
---|
[eee966] | 102 | MoleculeAction/FillVoidWithMoleculeAction.cpp \
|
---|
[5079a0] | 103 | MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
|
---|
[cabb46] | 104 | MoleculeAction/LoadAction.cpp \
|
---|
[eaf4ae] | 105 | MoleculeAction/RotateAroundSelfByAngleAction.cpp \
|
---|
[5079a0] | 106 | MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
|
---|
[cabb46] | 107 | MoleculeAction/SaveAction.cpp \
|
---|
[5079a0] | 108 | MoleculeAction/SaveAdjacencyAction.cpp \
|
---|
| 109 | MoleculeAction/SaveBondsAction.cpp \
|
---|
| 110 | MoleculeAction/SaveTemperatureAction.cpp \
|
---|
| 111 | MoleculeAction/SuspendInWaterAction.cpp \
|
---|
| 112 | MoleculeAction/VerletIntegrationAction.cpp
|
---|
| 113 | MOLECULEACTIONHEADER = \
|
---|
| 114 | MoleculeAction/BondFileAction.hpp \
|
---|
| 115 | MoleculeAction/ChangeNameAction.hpp \
|
---|
[1a7fd2] | 116 | MoleculeAction/CopyAction.hpp \
|
---|
[5079a0] | 117 | MoleculeAction/FillWithMoleculeAction.hpp \
|
---|
[eee966] | 118 | MoleculeAction/FillVoidWithMoleculeAction.hpp \
|
---|
[5079a0] | 119 | MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
|
---|
[cabb46] | 120 | MoleculeAction/LoadAction.cpp \
|
---|
[eaf4ae] | 121 | MoleculeAction/RotateAroundSelfByAngleAction.hpp \
|
---|
[5079a0] | 122 | MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
|
---|
[cabb46] | 123 | MoleculeAction/SaveAction.hpp \
|
---|
[5079a0] | 124 | MoleculeAction/SaveAdjacencyAction.hpp \
|
---|
| 125 | MoleculeAction/SaveBondsAction.hpp \
|
---|
| 126 | MoleculeAction/SaveTemperatureAction.hpp \
|
---|
| 127 | MoleculeAction/SuspendInWaterAction.hpp \
|
---|
| 128 | MoleculeAction/VerletIntegrationAction.hpp
|
---|
[3f9eba] | 129 |
|
---|
[9cff8b] | 130 | PARSERACTIONSOURCE = \
|
---|
[4d4d33] | 131 | ParserAction/ParseTremoloPotentialsAction.cpp \
|
---|
[963321a] | 132 | ParserAction/SetMpqcParametersAction.cpp \
|
---|
[9cff8b] | 133 | ParserAction/SetOutputFormatsAction.cpp
|
---|
| 134 | PARSERACTIONHEADER = \
|
---|
[4d4d33] | 135 | ParserAction/ParseTremoloPotentialsAction.hpp \
|
---|
[963321a] | 136 | ParserAction/SetMpqcParametersAction.hpp \
|
---|
[9cff8b] | 137 | ParserAction/SetOutputFormatsAction.hpp
|
---|
| 138 |
|
---|
[3f9eba] | 139 | RANDONNUMBERSSOURCE =\
|
---|
| 140 | RandomNumbersAction/SetRandomNumbersDistributionAction.cpp \
|
---|
| 141 | RandomNumbersAction/SetRandomNumbersEngineAction.cpp
|
---|
| 142 | RANDONNUMBERSHEADER =\
|
---|
| 143 | RandomNumbersAction/SetRandomNumbersDistributionAction.hpp \
|
---|
| 144 | RandomNumbersAction/SetRandomNumbersEngineAction.hpp
|
---|
[5079a0] | 145 |
|
---|
[125002] | 146 | SELECTIONATOMACTIONSOURCE = \
|
---|
| 147 | SelectionAction/Atoms/AllAtomsAction.cpp \
|
---|
| 148 | SelectionAction/Atoms/AllAtomsInsideCuboidAction.cpp \
|
---|
| 149 | SelectionAction/Atoms/AllAtomsInsideSphereAction.cpp \
|
---|
| 150 | SelectionAction/Atoms/AllAtomsOfMoleculeAction.cpp \
|
---|
| 151 | SelectionAction/Atoms/AtomByElementAction.cpp \
|
---|
| 152 | SelectionAction/Atoms/AtomByIdAction.cpp \
|
---|
| 153 | SelectionAction/Atoms/ClearAllAtomsAction.cpp \
|
---|
| 154 | SelectionAction/Atoms/NotAllAtomsAction.cpp \
|
---|
| 155 | SelectionAction/Atoms/NotAllAtomsInsideCuboidAction.cpp \
|
---|
| 156 | SelectionAction/Atoms/NotAllAtomsInsideSphereAction.cpp \
|
---|
| 157 | SelectionAction/Atoms/NotAllAtomsOfMoleculeAction.cpp \
|
---|
| 158 | SelectionAction/Atoms/NotAtomByElementAction.cpp \
|
---|
| 159 | SelectionAction/Atoms/NotAtomByIdAction.cpp
|
---|
| 160 | SELECTIONATOMACTIONHEADER = \
|
---|
| 161 | SelectionAction/Atoms/AllAtomsAction.hpp \
|
---|
| 162 | SelectionAction/Atoms/AllAtomsInsideCuboidAction.hpp \
|
---|
| 163 | SelectionAction/Atoms/AllAtomsInsideSphereAction.hpp \
|
---|
| 164 | SelectionAction/Atoms/AllAtomsOfMoleculeAction.hpp \
|
---|
| 165 | SelectionAction/Atoms/AtomByElementAction.hpp \
|
---|
| 166 | SelectionAction/Atoms/AtomByIdAction.hpp \
|
---|
| 167 | SelectionAction/Atoms/ClearAllAtomsAction.hpp \
|
---|
| 168 | SelectionAction/Atoms/NotAllAtomsAction.hpp \
|
---|
| 169 | SelectionAction/Atoms/NotAllAtomsInsideCuboidAction.hpp \
|
---|
| 170 | SelectionAction/Atoms/NotAllAtomsInsideSphereAction.hpp \
|
---|
| 171 | SelectionAction/Atoms/NotAllAtomsOfMoleculeAction.hpp \
|
---|
| 172 | SelectionAction/Atoms/NotAtomByElementAction.hpp \
|
---|
| 173 | SelectionAction/Atoms/NotAtomByIdAction.hpp
|
---|
[e2009b] | 174 |
|
---|
[125002] | 175 | SELECTIONMOLECULEACTIONSOURCE = \
|
---|
| 176 | SelectionAction/Molecules/AllMoleculesAction.cpp \
|
---|
| 177 | SelectionAction/Molecules/ClearAllMoleculesAction.cpp \
|
---|
| 178 | SelectionAction/Molecules/MoleculeByFormulaAction.cpp \
|
---|
| 179 | SelectionAction/Molecules/MoleculeByIdAction.cpp \
|
---|
| 180 | SelectionAction/Molecules/MoleculeByNameAction.cpp \
|
---|
| 181 | SelectionAction/Molecules/MoleculeByOrderAction.cpp \
|
---|
| 182 | SelectionAction/Molecules/MoleculeOfAtomAction.cpp \
|
---|
| 183 | SelectionAction/Molecules/NotAllMoleculesAction.cpp \
|
---|
| 184 | SelectionAction/Molecules/NotMoleculeByFormulaAction.cpp \
|
---|
| 185 | SelectionAction/Molecules/NotMoleculeByIdAction.cpp \
|
---|
| 186 | SelectionAction/Molecules/NotMoleculeByNameAction.cpp \
|
---|
| 187 | SelectionAction/Molecules/NotMoleculeByOrderAction.cpp \
|
---|
| 188 | SelectionAction/Molecules/NotMoleculeOfAtomAction.cpp
|
---|
| 189 | SELECTIONMOLECULEACTIONHEADER = \
|
---|
| 190 | SelectionAction/Molecules/AllMoleculesAction.hpp \
|
---|
| 191 | SelectionAction/Molecules/ClearAllMoleculesAction.hpp \
|
---|
| 192 | SelectionAction/Molecules/MoleculeByFormulaAction.hpp \
|
---|
| 193 | SelectionAction/Molecules/MoleculeByIdAction.hpp \
|
---|
| 194 | SelectionAction/Molecules/MoleculeByNameAction.hpp \
|
---|
| 195 | SelectionAction/Molecules/MoleculeByOrderAction.hpp \
|
---|
| 196 | SelectionAction/Molecules/MoleculeOfAtomAction.hpp \
|
---|
| 197 | SelectionAction/Molecules/NotAllMoleculesAction.hpp \
|
---|
| 198 | SelectionAction/Molecules/NotMoleculeByFormulaAction.hpp \
|
---|
| 199 | SelectionAction/Molecules/NotMoleculeByIdAction.hpp \
|
---|
| 200 | SelectionAction/Molecules/NotMoleculeByNameAction.hpp \
|
---|
| 201 | SelectionAction/Molecules/NotMoleculeByOrderAction.hpp \
|
---|
| 202 | SelectionAction/Molecules/NotMoleculeOfAtomAction.hpp
|
---|
| 203 |
|
---|
[5079a0] | 204 | TESSELATIONACTIONSOURCE = \
|
---|
| 205 | TesselationAction/ConvexEnvelopeAction.cpp \
|
---|
| 206 | TesselationAction/NonConvexEnvelopeAction.cpp
|
---|
| 207 | TESSELATIONACTIONHEADER = \
|
---|
| 208 | TesselationAction/ConvexEnvelopeAction.hpp \
|
---|
| 209 | TesselationAction/NonConvexEnvelopeAction.hpp
|
---|
| 210 |
|
---|
| 211 | WORLDACTIONSOURCE = \
|
---|
| 212 | WorldAction/AddEmptyBoundaryAction.cpp \
|
---|
| 213 | WorldAction/BoundInBoxAction.cpp \
|
---|
| 214 | WorldAction/CenterInBoxAction.cpp \
|
---|
| 215 | WorldAction/CenterOnEdgeAction.cpp \
|
---|
| 216 | WorldAction/ChangeBoxAction.cpp \
|
---|
[4f7f34e] | 217 | WorldAction/InputAction.cpp \
|
---|
| 218 | WorldAction/OutputAction.cpp \
|
---|
[5079a0] | 219 | WorldAction/RepeatBoxAction.cpp \
|
---|
| 220 | WorldAction/ScaleBoxAction.cpp \
|
---|
[aa04ae] | 221 | WorldAction/SetDefaultNameAction.cpp \
|
---|
| 222 | WorldAction/SetWorldTimeAction.cpp
|
---|
[5079a0] | 223 | WORLDACTIONHEADER = \
|
---|
| 224 | WorldAction/AddEmptyBoundaryAction.hpp \
|
---|
| 225 | WorldAction/BoundInBoxAction.hpp \
|
---|
| 226 | WorldAction/CenterInBoxAction.hpp \
|
---|
| 227 | WorldAction/CenterOnEdgeAction.hpp \
|
---|
| 228 | WorldAction/ChangeBoxAction.hpp \
|
---|
[4f7f34e] | 229 | WorldAction/InputAction.hpp \
|
---|
| 230 | WorldAction/OutputAction.hpp \
|
---|
[5079a0] | 231 | WorldAction/RepeatBoxAction.hpp \
|
---|
| 232 | WorldAction/ScaleBoxAction.hpp \
|
---|
[aa04ae] | 233 | WorldAction/SetDefaultNameAction.hpp \
|
---|
| 234 | WorldAction/SetWorldTimeAction.hpp
|
---|
[5079a0] | 235 |
|
---|
[861874] | 236 |
|
---|
[acbe1b] | 237 | lib_LTLIBRARIES = libMolecuilderActions.la
|
---|
[e5bf2b] | 238 | libMolecuilderActions_la_includedir = $(includedir)/MoleCuilder/Actions/
|
---|
| 239 | libMolecuilderActions_la_LIBADD = \
|
---|
[acbe1b] | 240 | ../Parser/libMolecuilderParser.la \
|
---|
[e5bf2b] | 241 | ../Shapes/libMolecuilderShapes.la \
|
---|
| 242 | ${CodePatterns_LIBS}
|
---|
| 243 | # ../UIElements/libMolecuilderUI.la
|
---|
| 244 | nobase_libMolecuilderActions_la_include_HEADERS = ${ACTIONSHEADER}
|
---|
[861874] | 245 |
|
---|
| 246 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 247 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 248 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 249 | ## and the variable name derived from that.
|
---|
| 250 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 251 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 252 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 253 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[acbe1b] | 254 | libMolecuilderActions_la_SOURCES = ${ACTIONSSOURCE}
|
---|
[861874] | 255 |
|
---|
| 256 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 257 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 258 | ## that all version information is kept in one place.
|
---|
[acbe1b] | 259 | libMolecuilderActions_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[861874] | 260 |
|
---|
| 261 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 262 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 263 | ## into this header file describes the target platform the installed library
|
---|
| 264 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 265 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 266 | ## Hierarchy Standard (FHS).
|
---|
| 267 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 268 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 269 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 270 | ## configuration header file is generated at configure time and should not be
|
---|
| 271 | ## shipped with the source tarball.
|
---|
[acbe1b] | 272 | #libMolecuilderActions_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 273 | #nodist_libMolecuilderActions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
[861874] | 274 |
|
---|
| 275 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 276 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 277 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 278 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
[acbe1b] | 279 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 280 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
[861874] | 281 |
|
---|
[796aa6] | 282 | unity.cpp:
|
---|
| 283 | echo "" > unity.cpp; \
|
---|
| 284 | list='$(ACTIONSSOURCE)'; for file in $$list; do \
|
---|
| 285 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
| 286 | done;
|
---|
| 287 |
|
---|
[d223d5] | 288 | MOSTLYCLEANFILES = unity.cpp
|
---|