source: src/Potentials/Makefile.am@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was ff4fff9, checked in by Frederik Heber <heber@…>, 9 years ago

RegistrySerializer now places potentials into certain sections.

  • Property mode set to 100644
File size: 6.5 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4POTENTIALSSOURCE = \
5 Potentials/CompoundPotential.cpp \
6 Potentials/InternalCoordinates/CoordinatorFactory.cpp \
7 Potentials/InternalCoordinates/FourBody_ImproperAngle.cpp \
8 Potentials/InternalCoordinates/FourBody_TorsionAngle.cpp \
9 Potentials/InternalCoordinates/OneBody_Constant.cpp \
10 Potentials/InternalCoordinates/ThreeBody_Angle.cpp \
11 Potentials/InternalCoordinates/TwoBody_Length.cpp \
12 Potentials/PartialNucleiChargeFitter.cpp \
13 Potentials/ParticleTypeCheckers.cpp \
14 Potentials/Particles/Particle.cpp \
15 Potentials/Particles/ParticleFactory.cpp \
16 Potentials/Particles/ParticleRegistry.cpp \
17 Potentials/Particles/StreamFactory_Particle.cpp \
18 Potentials/PotentialFactory.cpp \
19 Potentials/PotentialRegistry.cpp \
20 Potentials/RegistrySerializer_EmpiricalPotential.cpp \
21 Potentials/RegistrySerializer_Particle.cpp \
22 Potentials/SerializablePotential.cpp \
23 Potentials/Specifics/ConstantPotential.cpp \
24 Potentials/Specifics/FourBodyPotential_Improper.cpp \
25 Potentials/Specifics/FourBodyPotential_Torsion.cpp \
26 Potentials/Specifics/ManyBodyPotential_Tersoff.cpp \
27 Potentials/Specifics/PairPotential_Harmonic.cpp \
28 Potentials/Specifics/PairPotential_LennardJones.cpp \
29 Potentials/Specifics/PairPotential_Morse.cpp \
30 Potentials/Specifics/PotentialTypes.cpp \
31 Potentials/Specifics/ThreeBodyPotential_Angle.cpp \
32 Potentials/StreamFactory_EmpiricalPotential.cpp \
33 Potentials/TremoloPotentialFileParser.cpp \
34 Potentials/TremoloPotentialTypes.cpp
35
36POTENTIALSHEADER = \
37 Potentials/CompoundPotential.hpp \
38 Potentials/EmpiricalPotential.hpp \
39 Potentials/Exceptions.hpp \
40 Potentials/helpers.hpp \
41 Potentials/InternalCoordinates/Coordinator.hpp \
42 Potentials/InternalCoordinates/CoordinatorFactory.hpp \
43 Potentials/InternalCoordinates/FourBody_ImproperAngle.hpp \
44 Potentials/InternalCoordinates/FourBody_TorsionAngle.hpp \
45 Potentials/InternalCoordinates/OneBody_Constant.hpp \
46 Potentials/InternalCoordinates/ThreeBody_Angle.hpp \
47 Potentials/InternalCoordinates/TwoBody_Length.hpp \
48 Potentials/PartialNucleiChargeFitter.hpp \
49 Potentials/ParticleTypeCheckers.hpp \
50 Potentials/Particles/Particle.hpp \
51 Potentials/Particles/ParticleFactory.hpp \
52 Potentials/Particles/ParticleRegistry.hpp \
53 Potentials/Particles/StreamFactory_Particle.hpp \
54 Potentials/RegistryDeserializer_impl.hpp \
55 Potentials/RegistryDeserializer.hpp \
56 Potentials/PotentialFactory.hpp \
57 Potentials/PotentialRegistry.hpp \
58 Potentials/RegistrySerializer_impl.hpp \
59 Potentials/RegistrySerializer.hpp \
60 Potentials/SerializablePotential.hpp \
61 Potentials/Specifics/PotentialTypes.hpp \
62 Potentials/Specifics/PotentialTypes.def \
63 Potentials/Specifics/PotentialTypes.undef \
64 Potentials/StreamFactory.hpp \
65 Potentials/StreamFactory_EmpiricalPotential.hpp \
66 Potentials/TremoloPotentialFileParser.hpp \
67 Potentials/TremoloPotentialTypes.hpp
68
69if CONDLEVMAR
70POTENTIALSHEADER += \
71 Potentials/PotentialTrainer.hpp
72POTENTIALSSOURCE += \
73 Potentials/PotentialTrainer.cpp
74endif
75
76# add here headers for real potentials (i.e. the PotentialFactory should instantiate)
77SPECIFICPOTENTIALSHEADER = \
78 Potentials/Specifics/ConstantPotential.hpp \
79 Potentials/Specifics/FourBodyPotential_Improper.hpp \
80 Potentials/Specifics/FourBodyPotential_Torsion.hpp \
81 Potentials/Specifics/ManyBodyPotential_Tersoff.hpp \
82 Potentials/Specifics/PairPotential_Harmonic.hpp \
83 Potentials/Specifics/PairPotential_LennardJones.hpp \
84 Potentials/Specifics/PairPotential_Morse.hpp \
85 Potentials/Specifics/ThreeBodyPotential_Angle.hpp
86
87BUILT_SOURCES += AllPotentialHeaders.hpp
88
89noinst_LTLIBRARIES += libMolecuilderPotentials.la
90libMolecuilderPotentials_la_includedir = $(includedir)/MoleCuilder/
91
92nobase_libMolecuilderPotentials_la_include_HEADERS = ${POTENTIALSHEADER} ${SPECIFICPOTENTIALSHEADER}
93nodist_libMolecuilderPotentials_la_include_HEADERS = AllPotentialHeaders.hpp
94
95## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
96## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
97## will therefore be treated as if it were literally part of the target name,
98## and the variable name derived from that.
99## The file extension .cc is recognized by Automake, and makes it produce
100## rules which invoke the C++ compiler to produce a libtool object file (.lo)
101## from each source file. Note that it is not necessary to list header files
102## which are already listed elsewhere in a _HEADERS variable assignment.
103libMolecuilderPotentials_la_SOURCES = ${POTENTIALSSOURCE}
104
105## Instruct libtool to include ABI version information in the generated shared
106## library file (.so). The library ABI version is defined in configure.ac, so
107## that all version information is kept in one place.
108#libMolecuilderPotentials_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
109
110## The generated configuration header is installed in its own subdirectory of
111## $(libdir). The reason for this is that the configuration information put
112## into this header file describes the target platform the installed library
113## has been built for. Thus the file must not be installed into a location
114## intended for architecture-independent files, as defined by the Filesystem
115## Hierarchy Standard (FHS).
116## The nodist_ prefix instructs Automake to not generate rules for including
117## the listed files in the distribution on 'make dist'. Files that are listed
118## in _HEADERS variables are normally included in the distribution, but the
119## configuration header file is generated at configure time and should not be
120## shipped with the source tarball.
121#libMolecuilderPotentials_libincludedir = $(libdir)/MoleCuilder/include
122#nodist_libMolecuilderPotentials_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
123
124## Install the generated pkg-config file (.pc) into the expected location for
125## architecture-dependent package configuration information. Occasionally,
126## pkg-config files are also used for architecture-independent data packages,
127## in which case the correct install location would be $(datadir)/pkgconfig.
128#pkgconfigdir = $(libdir)/pkgconfig
129#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
130
131AllPotentialHeaders.hpp: $(SPECIFICPOTENTIALSHEADER)
132 echo "#ifndef ALLPOTENTIALHEADERS_HPP_" >$@; \
133 echo "#define ALLPOTENTIALHEADERS_HPP_" >>$@; \
134 for file in $(SPECIFICPOTENTIALSHEADER); do \
135 echo "#include \"$$file\"" >>$@; \
136 done; \
137 echo "#endif /* ALLPOTENTIALHEADERS_HPP_ */" >>$@;
138
139MOSTLYCLEANFILES += \
140 AllPotentialHeaders.hpp
141
Note: See TracBrowser for help on using the repository browser.