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