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