source: src/Makefile.am@ 73916f

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 73916f was 92d756, checked in by Frederik Heber <heber@…>, 14 years ago

Larger update of selections.

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