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