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