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