source: src/Makefile.am@ 255829

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 255829 was 255829, checked in by Frederik Heber <heber@…>, 14 years ago

Removed Helpers.hpp, deleted Helpers.cpp and libMoleCuilderHelpers.la is history.

  • defs.cpp is now compiled into libmolecuilder.la.
  • ShapeUnitTest alone needs defs.cpp.
  • Most changes are removal of Helpers/helpers.hpp.
  • performCriticalExit() now inline function in Helpers/helpers.hpp.
  • also inclusion possible where performCriticalExit() is needed.
  • Helpers/helpers.hpp does not include defs.hpp anymore and this causes lots of missing Helpers/defs.hpp, CodePatterns/Log.hpp and alikes.
  • removed src/Helpers from configure.ac.
  • Property mode set to 100644
File size: 12.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SUBDIRS = \
5 Exceptions \
6 RandomNumbers \
7 Parser \
8 LinearAlgebra \
9 Shapes \
10 Graph \
11 Actions \
12 UIElements
13
14AM_LDFLAGS = -ldl
15AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
16
17ATOMSOURCE = \
18 atom.cpp \
19 AtomicInfo.cpp \
20 atom_atominfo.cpp \
21 atom_bondedparticle.cpp \
22 atom_bondedparticleinfo.cpp \
23 atom_graphnode.cpp \
24 atom_graphnodeinfo.cpp \
25 atom_particleinfo.cpp
26ATOMHEADER = \
27 atom.hpp \
28 AtomicInfo.hpp \
29 atom_atominfo.hpp \
30 atom_bondedparticle.hpp \
31 atom_bondedparticleinfo.hpp \
32 atom_graphnode.hpp \
33 atom_graphnodeinfo.hpp \
34 atom_particleinfo.hpp
35
36ANALYSISSOURCE = \
37 analysis_bonds.cpp \
38 analysis_correlation.cpp
39ANALYSISHEADER = \
40 analysis_bonds.hpp \
41 analysis_correlation.hpp
42
43ACTIONSSOURCE = \
44 Actions/Action.cpp \
45 Actions/ActionHistory.cpp \
46 Actions/ActionRegistry.cpp \
47 Actions/ActionSequence.cpp \
48 Actions/ActionTraits.cpp \
49 Actions/ErrorAction.cpp \
50 Actions/MakroAction.cpp \
51 Actions/ManipulateAtomsProcess.cpp \
52 Actions/MethodAction.cpp \
53 Actions/OptionRegistry.cpp \
54 Actions/OptionTrait.cpp \
55 Actions/Process.cpp
56
57ACTIONSHEADER = \
58 Actions/Action.hpp \
59 Actions/ActionHistory.hpp \
60 Actions/ActionRegistry.hpp \
61 Actions/ActionSequence.hpp \
62 Actions/ActionTraits.hpp \
63 Actions/Calculation.hpp \
64 Actions/Calculation_impl.hpp \
65 Actions/ErrorAction.hpp \
66 Actions/MakroAction.hpp \
67 Actions/ManipulateAtomsProcess.hpp \
68 Actions/MethodAction.hpp \
69 Actions/OptionRegistry.hpp \
70 Actions/OptionTrait.hpp \
71 Actions/Process.hpp
72
73BONDSOURCE = \
74 Bond/bond.cpp \
75 Bond/GraphEdge.cpp
76
77BONDHEADER = \
78 Bond/bond.hpp \
79 Bond/GraphEdge.hpp
80
81DESCRIPTORSOURCE = \
82 Descriptors/AtomDescriptor.cpp \
83 Descriptors/AtomIdDescriptor.cpp \
84 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
85 Descriptors/AtomSelectionDescriptor.cpp \
86 Descriptors/AtomShapeDescriptor.cpp \
87 Descriptors/AtomTypeDescriptor.cpp \
88 Descriptors/MoleculeDescriptor.cpp \
89 Descriptors/MoleculeFormulaDescriptor.cpp \
90 Descriptors/MoleculeIdDescriptor.cpp \
91 Descriptors/MoleculeNameDescriptor.cpp \
92 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
93 Descriptors/MoleculeOrderDescriptor.cpp \
94 Descriptors/MoleculePtrDescriptor.cpp \
95 Descriptors/MoleculeSelectionDescriptor.cpp
96
97
98DESCRIPTORHEADER = \
99 Descriptors/AtomDescriptor.hpp \
100 Descriptors/AtomIdDescriptor.hpp \
101 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
102 Descriptors/AtomSelectionDescriptor.hpp \
103 Descriptors/AtomShapeDescriptor.hpp \
104 Descriptors/AtomTypeDescriptor.hpp \
105 Descriptors/MoleculeDescriptor.hpp \
106 Descriptors/MoleculeFormulaDescriptor.hpp \
107 Descriptors/MoleculeIdDescriptor.hpp \
108 Descriptors/MoleculeNameDescriptor.hpp \
109 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
110 Descriptors/MoleculeOrderDescriptor.hpp \
111 Descriptors/MoleculePtrDescriptor.hpp \
112 Descriptors/MoleculeSelectionDescriptor.hpp
113
114DESCRIPTORIMPLHEADER = \
115 Descriptors/AtomDescriptor_impl.hpp \
116 Descriptors/AtomIdDescriptor_impl.hpp \
117 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
118 Descriptors/AtomSelectionDescriptor_impl.hpp \
119 Descriptors/AtomShapeDescriptor_impl.hpp \
120 Descriptors/AtomTypeDescriptor_impl.hpp \
121 Descriptors/MoleculeDescriptor_impl.hpp \
122 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
123 Descriptors/MoleculeIdDescriptor_impl.hpp \
124 Descriptors/MoleculeNameDescriptor_impl.hpp \
125 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
126 Descriptors/MoleculeOrderDescriptor_impl.hpp \
127 Descriptors/MoleculePtrDescriptor_impl.hpp \
128 Descriptors/MoleculeSelectionDescriptor_impl.hpp
129
130DYNAMICSSOURCE = \
131 Dynamics/MinimiseConstrainedPotential.cpp
132
133DYNAMICSHEADER = \
134 Dynamics/LinearInterpolationBetweenSteps.hpp \
135 Dynamics/MinimiseConstrainedPotential.hpp \
136 Dynamics/OutputTemperature.hpp \
137 Dynamics/VerletForceIntegration.hpp
138
139GRAPHSOURCE = \
140 Graph/BondGraph.cpp
141
142GRAPHHEADER = \
143 Graph/BondGraph.hpp
144
145HELPERSSOURCE = \
146 Helpers/defs.cpp
147
148HELPERSHEADER = \
149 Helpers/defs.hpp \
150 Helpers/helpers.hpp
151
152THERMOSTATSOURCE = \
153 Thermostats/Berendsen.cpp \
154 Thermostats/GaussianThermostat.cpp \
155 Thermostats/Langevin.cpp \
156 Thermostats/NoseHoover.cpp \
157 Thermostats/NoThermostat.cpp \
158 Thermostats/Thermostat.cpp \
159 Thermostats/Woodcock.cpp
160
161THERMOSTATHEADER = \
162 Thermostats/Berendsen.hpp \
163 Thermostats/GaussianThermostat.hpp \
164 Thermostats/Langevin.hpp \
165 Thermostats/NoseHoover.hpp \
166 Thermostats/NoThermostat.hpp \
167 Thermostats/Thermostat.hpp \
168 Thermostats/Woodcock.hpp
169
170TESSELATIONSOURCE = \
171 BoundaryLineSet.cpp \
172 BoundaryPointSet.cpp \
173 BoundaryPolygonSet.cpp \
174 BoundaryTriangleSet.cpp \
175 CandidateForTesselation.cpp \
176 tesselation.cpp \
177 tesselationhelpers.cpp \
178 TesselPoint.cpp
179
180TESSELATIONHEADER = \
181 BoundaryLineSet.hpp \
182 BoundaryPointSet.hpp \
183 BoundaryPolygonSet.hpp \
184 BoundaryTriangleSet.hpp \
185 CandidateForTesselation.hpp \
186 IPointCloud.hpp \
187 PointCloudAdaptor.hpp \
188 tesselation.hpp \
189 tesselationhelpers.hpp \
190 TesselPoint.hpp
191
192MOLECUILDERSOURCE = \
193 ${ANALYSISSOURCE} \
194 ${ACTIONSSOURCE} \
195 ${ATOMSOURCE} \
196 ${BONDSOURCE} \
197 ${DESCRIPTORSOURCE} \
198 ${DYNAMICSSOURCE} \
199 ${GRAPHSOURCE} \
200 ${HELPERSSOURCE} \
201 ${RANDOMSOURCE} \
202 ${THERMOSTATSOURCE} \
203 ${TESSELATIONSOURCE} \
204 boundary.cpp \
205 Box.cpp \
206 config.cpp \
207 ConfigFileBuffer.cpp \
208 element.cpp \
209 elements_db.cpp \
210 ellipsoid.cpp \
211 Formula.cpp \
212 graph.cpp \
213 linkedcell.cpp \
214 moleculelist.cpp \
215 molecule.cpp \
216 molecule_fragmentation.cpp \
217 molecule_geometry.cpp \
218 molecule_graph.cpp \
219 parser.cpp \
220 periodentafel.cpp \
221 ThermoStatContainer.cpp \
222 triangleintersectionlist.cpp \
223 UIElements/UIFactory.cpp \
224 World.cpp \
225 WorldTime.cpp
226
227MOLECUILDERHEADER = \
228 ${ANALYSISHEADER} \
229 ${ACTIONSHEADER} \
230 ${ATOMHEADER} \
231 ${BONDHEADER} \
232 ${DESCRIPTORHEADER} \
233 ${DESCRIPTORIMPLHEADER} \
234 ${DYNAMICSHEADER} \
235 ${GRAPHHEADER} \
236 ${HELPERSHEADER} \
237 ${RANDOMSOURCE} \
238 ${THERMOSTATHEADER} \
239 ${TESSELATIONHEADER} \
240 boundary.hpp \
241 Box.hpp \
242 config.hpp \
243 ConfigFileBuffer.hpp \
244 element.hpp \
245 elements_db.hpp \
246 ellipsoid.hpp \
247 Formula.hpp \
248 graph.hpp \
249 linkedcell.hpp \
250 molecule.hpp \
251 parser.hpp \
252 periodentafel.hpp \
253 ThermoStatContainer.hpp \
254 triangleintersectionlist.hpp \
255 UIElements/UIFactory.hpp \
256 World.hpp \
257 WorldTime.hpp
258
259lib_LTLIBRARIES = libMolecuilder.la
260libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
261libMolecuilder_la_LIBADD = \
262 LinearAlgebra/libMolecuilderLinearAlgebra.la \
263 Graph/libMolecuilderGraph.la \
264 ${CodePatterns_LIBS} \
265 ${BOOST_PROGRAM_OPTIONS_LIB}
266
267nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
268
269## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
270## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
271## will therefore be treated as if it were literally part of the target name,
272## and the variable name derived from that.
273## The file extension .cc is recognized by Automake, and makes it produce
274## rules which invoke the C++ compiler to produce a libtool object file (.lo)
275## from each source file. Note that it is not necessary to list header files
276## which are already listed elsewhere in a _HEADERS variable assignment.
277libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
278
279## Instruct libtool to include ABI version information in the generated shared
280## library file (.so). The library ABI version is defined in configure.ac, so
281## that all version information is kept in one place.
282libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
283
284## The generated configuration header is installed in its own subdirectory of
285## $(libdir). The reason for this is that the configuration information put
286## into this header file describes the target platform the installed library
287## has been built for. Thus the file must not be installed into a location
288## intended for architecture-independent files, as defined by the Filesystem
289## Hierarchy Standard (FHS).
290## The nodist_ prefix instructs Automake to not generate rules for including
291## the listed files in the distribution on 'make dist'. Files that are listed
292## in _HEADERS variables are normally included in the distribution, but the
293## configuration header file is generated at configure time and should not be
294## shipped with the source tarball.
295libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
296nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
297
298## Install the generated pkg-config file (.pc) into the expected location for
299## architecture-dependent package configuration information. Occasionally,
300## pkg-config files are also used for architecture-independent data packages,
301## in which case the correct install location would be $(datadir)/pkgconfig.
302pkgconfigdir = $(libdir)/pkgconfig
303pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
304
305
306BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
307INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
308
309noinst_LIBRARIES = libmenu.a
310bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
311EXTRA_PROGRAMS = unity
312
313molecuilderdir = ${bindir}
314
315libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
316
317molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
318
319molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
320#molecuilder_CXXFLAGS += -DNO_CACHING
321molecuilder_LDFLAGS = $(BOOST_LIB)
322molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
323molecuilder_LDADD = \
324 UIElements/libMolecuilderUI.la \
325 Actions/libMolecuilderActions.la \
326 Graph/libMolecuilderGraph.la \
327 libMolecuilder.la \
328 Parser/libMolecuilderParser.la \
329 Shapes/libMolecuilderShapes.la \
330 LinearAlgebra/libMolecuilderLinearAlgebra.la \
331 Exceptions/libMolecuilderExceptions.la \
332 RandomNumbers/libMolecuilderRandomNumbers.la \
333 ${CodePatterns_LIBS} \
334 $(BOOST_LIB)
335
336#Stuff for building the GUI using Qt
337molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
338molecuildergui_CXXFLAGS = $(BOOST_CPPFLAGS) -DUSE_GUI_QT
339molecuildergui_LDFLAGS = $(BOOST_LIB)
340
341unity_SOURCES = unity.cpp
342unity_LDADD = $(BOOST_LIB)
343
344molecuildergui_LDADD = \
345 UIElements/libMolecuilderUI.la \
346 UIElements/libMolecuilderQtUI.la \
347 Actions/libMolecuilderActions.la \
348 Graph/libMolecuilderGraph.la \
349 libMolecuilder.la \
350 Parser/libMolecuilderParser.la \
351 Shapes/libMolecuilderShapes.la \
352 LinearAlgebra/libMolecuilderLinearAlgebra.la \
353 Exceptions/libMolecuilderExceptions.la \
354 RandomNumbers/libMolecuilderRandomNumbers.la \
355 ${CodePatterns_LIBS} \
356 $(BOOST_LIB) \
357 ${GUI_LIBS}
358
359joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
360joiner_LDADD = \
361 UIElements/libMolecuilderUI.la \
362 Actions/libMolecuilderActions.la \
363 Graph/libMolecuilderGraph.la \
364 libMolecuilder.la \
365 Parser/libMolecuilderParser.la \
366 Shapes/libMolecuilderShapes.la \
367 LinearAlgebra/libMolecuilderLinearAlgebra.la \
368 Exceptions/libMolecuilderExceptions.la \
369 RandomNumbers/libMolecuilderRandomNumbers.la \
370 ${CodePatterns_LIBS} \
371 $(BOOST_LIB)
372
373analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
374analyzer_LDADD = \
375 UIElements/libMolecuilderUI.la \
376 Actions/libMolecuilderActions.la \
377 Graph/libMolecuilderGraph.la \
378 libMolecuilder.la \
379 Parser/libMolecuilderParser.la \
380 Shapes/libMolecuilderShapes.la \
381 LinearAlgebra/libMolecuilderLinearAlgebra.la \
382 Exceptions/libMolecuilderExceptions.la \
383 RandomNumbers/libMolecuilderRandomNumbers.la \
384 ${CodePatterns_LIBS} \
385 $(BOOST_LIB)
386
387#EXTRA_DIST = ${molecuilder_DATA}
388
389FORCE:
390$(srcdir)/.git-version: FORCE
391 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
392 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
393 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
394 mv -f .git-version-t $(srcdir)/.git-version; \
395 else \
396 rm -f .git-version-t; \
397 fi
398
399EXTRA_DIST = $(srcdir)/.git-version
400
401$(srcdir)/version.c: $(srcdir)/.git-version
402 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
403
404
405unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
406 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
407 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
408 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
409 done; \
410 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
411 olddir=$$PWD;\
412 cd $$directory && make unity.cpp;\
413 cd $$olddir;\
414 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
415 done;\
416 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
417 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
418
419MOSTLYCLEANFILES = unity.cpp
420
Note: See TracBrowser for help on using the repository browser.