1 | ATOMSOURCE = atom.cpp atom_atominfo.cpp atom_bondedparticle.cpp atom_bondedparticleinfo.cpp atom_graphnode.cpp atom_graphnodeinfo.cpp atom_particleinfo.cpp atom_trajectoryparticle.cpp atom_trajectoryparticleinfo.cpp
|
---|
2 | ATOMHEADER = atom.hpp atom_atominfo.hpp atom_bondedparticle.hpp atom_bondedparticleinfo.hpp atom_graphnode.hpp atom_graphnodeinfo.hpp atom_particleinfo.hpp atom_trajectoryparticle.hpp atom_trajectoryparticleinfo.hpp
|
---|
3 |
|
---|
4 | LINALGSOURCE = gslmatrix.cpp gslvector.cpp linearsystemofequations.cpp
|
---|
5 | LINALGHEADER = gslmatrix.hpp gslvector.hpp linearsystemofequations.hpp
|
---|
6 |
|
---|
7 | ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
|
---|
8 | ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
|
---|
9 |
|
---|
10 | SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp info.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp triangleintersectionlist.cpp vector.cpp verbose.cpp World.cpp
|
---|
11 | HEADER = ${ANALYSISHEADER} ${ATOMHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp info.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp triangleintersectionlist.cpp vector.hpp verbose.hpp World.hpp
|
---|
12 |
|
---|
13 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
---|
14 | INCLUDES = -I$(top_srcdir)/src/unittests
|
---|
15 |
|
---|
16 | noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
|
---|
17 | bin_PROGRAMS = molecuilder joiner analyzer
|
---|
18 | molecuilderdir = ${bindir}
|
---|
19 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
---|
20 | libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
|
---|
21 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
22 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
---|
23 | molecuilder_SOURCES = builder.cpp
|
---|
24 | molecuilder_LDADD = libmolecuilder.a libgslwrapper.a
|
---|
25 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
---|
26 | joiner_LDADD = libmolecuilder.a
|
---|
27 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
---|
28 | analyzer_LDADD = libmolecuilder.a
|
---|
29 |
|
---|
30 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
31 |
|
---|
32 | FORCE:
|
---|
33 | $(srcdir)/.git-version: FORCE
|
---|
34 | @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
|
---|
35 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
36 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
37 | else \
|
---|
38 | rm -f .git-version-t; \
|
---|
39 | fi
|
---|
40 |
|
---|
41 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
42 |
|
---|
43 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
44 | echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
45 |
|
---|
46 | molecuilder_SOURCES += $(srcdir)/version.c
|
---|