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 | ActionTraits.cpp \
|
---|
20 | MapOfActions.cpp \
|
---|
21 | ValueStorage.cpp
|
---|
22 |
|
---|
23 | ACTIONSHEADER = \
|
---|
24 | ${ANALYSISACTIONHEADER} \
|
---|
25 | ${ATOMACTIONHEADER} \
|
---|
26 | ${CMDACTIONHEADER} \
|
---|
27 | ${FRAGMENTATIONACTIONHEADER} \
|
---|
28 | ${MOLECULEACTIONHEADER} \
|
---|
29 | ${PARSERACTIONHEADER} \
|
---|
30 | ${SELECTIONACTIONHEADER} \
|
---|
31 | ${TESSELATIONACTIONHEADER} \
|
---|
32 | ${WORLDACTIONHEADER} \
|
---|
33 | ActionTraits.hpp \
|
---|
34 | MapOfActions.hpp \
|
---|
35 | ValueStorage.hpp \
|
---|
36 | Values.hpp
|
---|
37 |
|
---|
38 | ANALYSISACTIONSOURCE = \
|
---|
39 | AnalysisAction/MolecularVolumeAction.cpp \
|
---|
40 | AnalysisAction/PairCorrelationAction.cpp \
|
---|
41 | AnalysisAction/PointCorrelationAction.cpp \
|
---|
42 | AnalysisAction/PrincipalAxisSystemAction.cpp \
|
---|
43 | AnalysisAction/SurfaceCorrelationAction.cpp
|
---|
44 | ANALYSISACTIONHEADER = \
|
---|
45 | AnalysisAction/MolecularVolumeAction.hpp \
|
---|
46 | AnalysisAction/PairCorrelationAction.hpp \
|
---|
47 | AnalysisAction/PointCorrelationAction.hpp \
|
---|
48 | AnalysisAction/PrincipalAxisSystemAction.hpp \
|
---|
49 | AnalysisAction/SurfaceCorrelationAction.hpp
|
---|
50 |
|
---|
51 | ATOMACTIONSOURCE = \
|
---|
52 | AtomAction/AddAction.cpp \
|
---|
53 | AtomAction/ChangeElementAction.cpp \
|
---|
54 | AtomAction/RemoveAction.cpp \
|
---|
55 | AtomAction/RotateAroundOriginByAngleAction.cpp \
|
---|
56 | AtomAction/TranslateAction.cpp
|
---|
57 | ATOMACTIONHEADER = \
|
---|
58 | AtomAction/AddAction.hpp \
|
---|
59 | AtomAction/ChangeElementAction.hpp \
|
---|
60 | AtomAction/RemoveAction.cpp \
|
---|
61 | AtomAction/RotateAroundOriginByAngleAction.hpp \
|
---|
62 | AtomAction/TranslateAction.hpp
|
---|
63 |
|
---|
64 | CMDACTIONSOURCE = \
|
---|
65 | CommandAction/BondLengthTableAction.cpp \
|
---|
66 | CommandAction/ElementDbAction.cpp \
|
---|
67 | CommandAction/FastParsingAction.cpp \
|
---|
68 | CommandAction/HelpAction.cpp \
|
---|
69 | CommandAction/VerboseAction.cpp \
|
---|
70 | CommandAction/VersionAction.cpp \
|
---|
71 | CommandAction/WarrantyAction.cpp
|
---|
72 | CMDACTIONHEADER = \
|
---|
73 | CommandAction/BondLengthTableAction.hpp \
|
---|
74 | CommandAction/ElementDbAction.hpp \
|
---|
75 | CommandAction/FastParsingAction.hpp \
|
---|
76 | CommandAction/HelpAction.hpp \
|
---|
77 | CommandAction/VerboseAction.hpp \
|
---|
78 | CommandAction/VersionAction.hpp \
|
---|
79 | CommandAction/WarrantyAction.hpp
|
---|
80 |
|
---|
81 | FRAGMENTATIONACTIONSOURCE = \
|
---|
82 | FragmentationAction/ConstructBondGraphAction.cpp \
|
---|
83 | FragmentationAction/DepthFirstSearchAction.cpp \
|
---|
84 | FragmentationAction/FragmentationAction.cpp \
|
---|
85 | FragmentationAction/SubgraphDissectionAction.cpp
|
---|
86 | FRAGMENTATIONACTIONHEADER = \
|
---|
87 | FragmentationAction/ConstructBondGraphAction.hpp \
|
---|
88 | FragmentationAction/DepthFirstSearchAction.hpp \
|
---|
89 | FragmentationAction/FragmentationAction.hpp \
|
---|
90 | FragmentationAction/SubgraphDissectionAction.hpp
|
---|
91 |
|
---|
92 | MOLECULEACTIONSOURCE = \
|
---|
93 | MoleculeAction/BondFileAction.cpp \
|
---|
94 | MoleculeAction/ChangeNameAction.cpp \
|
---|
95 | MoleculeAction/CopyAction.cpp \
|
---|
96 | MoleculeAction/FillWithMoleculeAction.cpp \
|
---|
97 | MoleculeAction/FillVoidWithMoleculeAction.cpp \
|
---|
98 | MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
|
---|
99 | MoleculeAction/RotateAroundSelfByAngleAction.cpp \
|
---|
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 \
|
---|
109 | MoleculeAction/CopyAction.hpp \
|
---|
110 | MoleculeAction/FillWithMoleculeAction.hpp \
|
---|
111 | MoleculeAction/FillVoidWithMoleculeAction.hpp \
|
---|
112 | MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
|
---|
113 | MoleculeAction/RotateAroundSelfByAngleAction.hpp \
|
---|
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 |
|
---|
128 | SELECTIONACTIONSOURCE = \
|
---|
129 | SelectionAction/AllAtomsAction.cpp \
|
---|
130 | SelectionAction/AllAtomsInsideCuboidAction.cpp \
|
---|
131 | SelectionAction/AllAtomsInsideSphereAction.cpp \
|
---|
132 | SelectionAction/AllAtomsOfMoleculeAction.cpp \
|
---|
133 | SelectionAction/AllMoleculesAction.cpp \
|
---|
134 | SelectionAction/AtomByElementAction.cpp \
|
---|
135 | SelectionAction/AtomByIdAction.cpp \
|
---|
136 | SelectionAction/ClearAllAtomsAction.cpp \
|
---|
137 | SelectionAction/ClearAllMoleculesAction.cpp \
|
---|
138 | SelectionAction/MoleculeByFormulaAction.cpp \
|
---|
139 | SelectionAction/MoleculeByIdAction.cpp \
|
---|
140 | SelectionAction/MoleculeOfAtomAction.cpp \
|
---|
141 | SelectionAction/NotAllAtomsAction.cpp \
|
---|
142 | SelectionAction/NotAllAtomsInsideCuboidAction.cpp \
|
---|
143 | SelectionAction/NotAllAtomsInsideSphereAction.cpp \
|
---|
144 | SelectionAction/NotAllAtomsOfMoleculeAction.cpp \
|
---|
145 | SelectionAction/NotAllMoleculesAction.cpp \
|
---|
146 | SelectionAction/NotAtomByElementAction.cpp \
|
---|
147 | SelectionAction/NotAtomByIdAction.cpp \
|
---|
148 | SelectionAction/NotMoleculeByFormulaAction.cpp \
|
---|
149 | SelectionAction/NotMoleculeByIdAction.cpp \
|
---|
150 | SelectionAction/NotMoleculeOfAtomAction.cpp
|
---|
151 | SELECTIONACTIONHEADER = \
|
---|
152 | SelectionAction/AllAtomsAction.hpp \
|
---|
153 | SelectionAction/AllAtomsInsideCuboidAction.hpp \
|
---|
154 | SelectionAction/AllAtomsInsideSphereAction.hpp \
|
---|
155 | SelectionAction/AllAtomsOfMoleculeAction.hpp \
|
---|
156 | SelectionAction/AllMoleculesAction.hpp \
|
---|
157 | SelectionAction/AtomByElementAction.hpp \
|
---|
158 | SelectionAction/AtomByIdAction.hpp \
|
---|
159 | SelectionAction/ClearAllAtomsAction.hpp \
|
---|
160 | SelectionAction/ClearAllMoleculesAction.hpp \
|
---|
161 | SelectionAction/MoleculeByFormulaAction.hpp \
|
---|
162 | SelectionAction/MoleculeByIdAction.hpp \
|
---|
163 | SelectionAction/MoleculeOfAtomAction.hpp \
|
---|
164 | SelectionAction/NotAllAtomsAction.hpp \
|
---|
165 | SelectionAction/NotAllAtomsInsideCuboidAction.hpp \
|
---|
166 | SelectionAction/NotAllAtomsInsideSphereAction.hpp \
|
---|
167 | SelectionAction/NotAllAtomsOfMoleculeAction.hpp \
|
---|
168 | SelectionAction/NotAllMoleculesAction.hpp \
|
---|
169 | SelectionAction/NotAtomByElementAction.hpp \
|
---|
170 | SelectionAction/NotAtomByIdAction.hpp \
|
---|
171 | SelectionAction/NotMoleculeByFormulaAction.hpp \
|
---|
172 | SelectionAction/NotMoleculeByIdAction.hpp \
|
---|
173 | SelectionAction/NotMoleculeOfAtomAction.cpp
|
---|
174 |
|
---|
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 \
|
---|
188 | WorldAction/InputAction.cpp \
|
---|
189 | WorldAction/OutputAction.cpp \
|
---|
190 | WorldAction/RepeatBoxAction.cpp \
|
---|
191 | WorldAction/ScaleBoxAction.cpp \
|
---|
192 | WorldAction/SetDefaultNameAction.cpp \
|
---|
193 | WorldAction/SetGaussianBasisAction.cpp \
|
---|
194 | WorldAction/SetOutputFormatsAction.cpp
|
---|
195 | WORLDACTIONHEADER = \
|
---|
196 | WorldAction/AddEmptyBoundaryAction.hpp \
|
---|
197 | WorldAction/BoundInBoxAction.hpp \
|
---|
198 | WorldAction/CenterInBoxAction.hpp \
|
---|
199 | WorldAction/CenterOnEdgeAction.hpp \
|
---|
200 | WorldAction/ChangeBoxAction.hpp \
|
---|
201 | WorldAction/InputAction.hpp \
|
---|
202 | WorldAction/OutputAction.hpp \
|
---|
203 | WorldAction/RepeatBoxAction.hpp \
|
---|
204 | WorldAction/ScaleBoxAction.hpp \
|
---|
205 | WorldAction/SetDefaultNameAction.hpp \
|
---|
206 | WorldAction/SetGaussianBasisAction.hpp \
|
---|
207 | WorldAction/SetOutputFormatsAction.hpp
|
---|
208 |
|
---|
209 |
|
---|
210 | lib_LTLIBRARIES = libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
|
---|
211 | libMolecuilderActions_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
212 | libMolecuilderActions_libs = \
|
---|
213 | ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
214 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
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 |
|
---|
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 |
|
---|
259 | MOSTLYCLEANFILES = unity.cpp
|
---|