source: src/Potentials/Makefile.am@ 060e1e

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 060e1e was 060e1e, checked in by Frederik Heber <heber@…>, 11 years ago

Created AllPotentialHeaders.hpp from specific potentials headers in Makefile.am.

  • this is copy&pasted from AllActionHeaders.hpp.
  • so far, the potential is explicitly listed in PotentialFactory::createInstance(), hence we are not safe from harm, yet.
  • Property mode set to 100644
File size: 4.3 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/ParticleTypeCheckers.cpp \
7 Potentials/PotentialFactory.cpp \
8 Potentials/PotentialRegistry.cpp \
9 Potentials/SerializablePotential.cpp \
10 Potentials/Specifics/ManyBodyPotential_Tersoff.cpp \
11 Potentials/Specifics/PairPotential_Angle.cpp \
12 Potentials/Specifics/PairPotential_Harmonic.cpp \
13 Potentials/Specifics/PairPotential_Morse.cpp \
14 Potentials/Specifics/PotentialTypes.cpp \
15 Potentials/Specifics/SaturationPotential.cpp
16
17POTENTIALSHEADER = \
18 Potentials/CompoundPotential.hpp \
19 Potentials/EmpiricalPotential.hpp \
20 Potentials/Exceptions.hpp \
21 Potentials/helpers.hpp \
22 Potentials/ParticleTypeCheckers.hpp \
23 Potentials/PotentialFactory.hpp \
24 Potentials/PotentialRegistry.hpp \
25 Potentials/SerializablePotential.hpp \
26 Potentials/Specifics/PotentialTypes.hpp \
27 Potentials/Specifics/PotentialTypes.def \
28 Potentials/Specifics/PotentialTypes.undef
29
30# add here headers for real potentials (i.e. the PotentialFactory should instantiate)
31SPECIFICPOTENTIALSHEADER = \
32 Potentials/Specifics/ManyBodyPotential_Tersoff.hpp \
33 Potentials/Specifics/PairPotential_Angle.hpp \
34 Potentials/Specifics/PairPotential_Harmonic.hpp \
35 Potentials/Specifics/PairPotential_Morse.hpp \
36 Potentials/Specifics/SaturationPotential.hpp
37
38BUILT_SOURCES += AllPotentialHeaders.hpp
39
40noinst_LTLIBRARIES += libMolecuilderPotentials.la
41libMolecuilderPotentials_la_includedir = $(includedir)/MoleCuilder/
42
43nobase_libMolecuilderPotentials_la_include_HEADERS = ${POTENTIALSHEADER} ${SPECIFICPOTENTIALSHEADER}
44nodist_libMolecuilderPotentials_la_include_HEADERS = AllPotentialHeaders.hpp
45
46## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
47## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
48## will therefore be treated as if it were literally part of the target name,
49## and the variable name derived from that.
50## The file extension .cc is recognized by Automake, and makes it produce
51## rules which invoke the C++ compiler to produce a libtool object file (.lo)
52## from each source file. Note that it is not necessary to list header files
53## which are already listed elsewhere in a _HEADERS variable assignment.
54libMolecuilderPotentials_la_SOURCES = ${POTENTIALSSOURCE}
55
56## Instruct libtool to include ABI version information in the generated shared
57## library file (.so). The library ABI version is defined in configure.ac, so
58## that all version information is kept in one place.
59#libMolecuilderPotentials_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
60
61## The generated configuration header is installed in its own subdirectory of
62## $(libdir). The reason for this is that the configuration information put
63## into this header file describes the target platform the installed library
64## has been built for. Thus the file must not be installed into a location
65## intended for architecture-independent files, as defined by the Filesystem
66## Hierarchy Standard (FHS).
67## The nodist_ prefix instructs Automake to not generate rules for including
68## the listed files in the distribution on 'make dist'. Files that are listed
69## in _HEADERS variables are normally included in the distribution, but the
70## configuration header file is generated at configure time and should not be
71## shipped with the source tarball.
72#libMolecuilderPotentials_libincludedir = $(libdir)/MoleCuilder/include
73#nodist_libMolecuilderPotentials_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
74
75## Install the generated pkg-config file (.pc) into the expected location for
76## architecture-dependent package configuration information. Occasionally,
77## pkg-config files are also used for architecture-independent data packages,
78## in which case the correct install location would be $(datadir)/pkgconfig.
79#pkgconfigdir = $(libdir)/pkgconfig
80#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
81
82AllPotentialHeaders.hpp: $(SPECIFICPOTENTIALSHEADER)
83 echo "#ifndef ALLPOTENTIALHEADERS_HPP_" >$@; \
84 echo "#define ALLPOTENTIALHEADERS_HPP_" >>$@; \
85 for file in $(SPECIFICPOTENTIALSHEADER); do \
86 echo "#include \"$$file\"" >>$@; \
87 done; \
88 echo "#endif /* ALLPOTENTIALHEADERS_HPP_ */" >>$@;
89
90MOSTLYCLEANFILES += \
91 AllPotentialHeaders.hpp
92
Note: See TracBrowser for help on using the repository browser.