source: src/Makefile.am@ 3bdb6d

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

Moved all stuff related to elements into own subfolder and has its own convenience library.

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