source: src/Makefile.am@ e2e0a5a

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

Added Daniels version from 2010/09/15 and Makefile stuff to this branch.

  • Changed Daniels version a bit such that it compiles:

Changes from rebase to v1.1.3:

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