source: src/Makefile.am@ 0b004b

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

Moved modules related to Tesselation into own source subfolder.

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