source: src/Makefile.am@ 9e23a3

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 9e23a3 was 9e23a3, checked in by Frederik Heber <heber@…>, 14 years ago

Rewrote MinimiseConstrainedPotential into a functor in Dynamics/.

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