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