source: src/Actions/Makefile.am@ 6a86ce

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 6a86ce was 861874, checked in by Frederik Heber <heber@…>, 14 years ago

libMolecuilderAction is now a shared lib via libtool.

This is all taken from the example available at http://www.openismus.com/documents/linux/building_libraries/building_libraries/building_libraries.shtml.

Necessary changes:

  • ValueStorage is now part of Actions, not of UIElements anymore (which is actually as it should have been right away, only Dialog uses ValueStorage and for all Actions ValueStorage is the simple adapter pattern to MapOfActions needed the relax (compilation) dependencies).
  • new files:
    • config/ltmain.sh (scipt for libtool)
    • libmolecuilder_config.h.in (extra config.h which is copied along with lib to contain how it has been compiled)
    • molecuilder.pc.in (package config information
  • BUGFIX: m4/gwqt4.m4 added -L$X_libraries, however $X_libraries was nowhere set and libtool admonished the empty "-L"
  • libMolecuilderUI now depends on libMolecuilderAction
  • all unit tests now have libMolecuilderAction and libMolecuilderUI due to non-interactive calls of actions
  • Property mode set to 100644
File size: 8.2 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8
9ACTIONSSOURCE = \
10 ${ANALYSISACTIONSOURCE} \
11 ${ATOMACTIONSOURCE} \
12 ${CMDACTIONSOURCE} \
13 ${FRAGMENTATIONACTIONSOURCE} \
14 ${MOLECULEACTIONSOURCE} \
15 ${PARSERACTIONSOURCE} \
16 ${SELECTIONACTIONSOURCE} \
17 ${TESSELATIONACTIONSOURCE} \
18 ${WORLDACTIONSOURCE} \
19 MapOfActions.cpp \
20 ValueStorage.cpp
21
22ACTIONSHEADER = \
23 ${ANALYSISACTIONHEADER} \
24 ${ATOMACTIONHEADER} \
25 ${CMDACTIONHEADER} \
26 ${FRAGMENTATIONACTIONHEADER} \
27 ${MOLECULEACTIONHEADER} \
28 ${PARSERACTIONHEADER} \
29 ${SELECTIONACTIONHEADER} \
30 ${TESSELATIONACTIONHEADER} \
31 ${WORLDACTIONHEADER} \
32 MapOfActions.hpp \
33 ValueStorage.hpp \
34 Values.hpp
35
36ANALYSISACTIONSOURCE = \
37 AnalysisAction/MolecularVolumeAction.cpp \
38 AnalysisAction/PairCorrelationAction.cpp \
39 AnalysisAction/PointCorrelationAction.cpp \
40 AnalysisAction/PrincipalAxisSystemAction.cpp \
41 AnalysisAction/SurfaceCorrelationAction.cpp
42ANALYSISACTIONHEADER = \
43 AnalysisAction/MolecularVolumeAction.hpp \
44 AnalysisAction/PairCorrelationAction.hpp \
45 AnalysisAction/PointCorrelationAction.hpp \
46 AnalysisAction/PrincipalAxisSystemAction.hpp \
47 AnalysisAction/SurfaceCorrelationAction.hpp
48
49ATOMACTIONSOURCE = \
50 AtomAction/AddAction.cpp \
51 AtomAction/ChangeElementAction.cpp \
52 AtomAction/RemoveAction.cpp
53ATOMACTIONHEADER = \
54 AtomAction/AddAction.hpp \
55 AtomAction/ChangeElementAction.hpp \
56 AtomAction/RemoveAction.cpp
57
58CMDACTIONSOURCE = \
59 CmdAction/BondLengthTableAction.cpp \
60 CmdAction/ElementDbAction.cpp \
61 CmdAction/FastParsingAction.cpp \
62 CmdAction/HelpAction.cpp \
63 CmdAction/VerboseAction.cpp \
64 CmdAction/VersionAction.cpp
65CMDACTIONHEADER = \
66 CmdAction/BondLengthTableAction.hpp \
67 CmdAction/ElementDbAction.hpp \
68 CmdAction/FastParsingAction.hpp \
69 CmdAction/HelpAction.hpp \
70 CmdAction/VerboseAction.hpp \
71 CmdAction/VersionAction.hpp
72
73FRAGMENTATIONACTIONSOURCE = \
74 FragmentationAction/DepthFirstSearchAction.cpp \
75 FragmentationAction/FragmentationAction.cpp \
76 FragmentationAction/SubgraphDissectionAction.cpp
77FRAGMENTATIONACTIONHEADER = \
78 FragmentationAction/DepthFirstSearchAction.hpp \
79 FragmentationAction/FragmentationAction.hpp \
80 FragmentationAction/SubgraphDissectionAction.hpp
81
82MOLECULEACTIONSOURCE = \
83 MoleculeAction/BondFileAction.cpp \
84 MoleculeAction/ChangeNameAction.cpp \
85 MoleculeAction/FillWithMoleculeAction.cpp \
86 MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
87 MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
88 MoleculeAction/SaveAdjacencyAction.cpp \
89 MoleculeAction/SaveBondsAction.cpp \
90 MoleculeAction/SaveTemperatureAction.cpp \
91 MoleculeAction/SuspendInWaterAction.cpp \
92 MoleculeAction/TranslateAction.cpp \
93 MoleculeAction/VerletIntegrationAction.cpp
94MOLECULEACTIONHEADER = \
95 MoleculeAction/BondFileAction.hpp \
96 MoleculeAction/ChangeNameAction.hpp \
97 MoleculeAction/FillWithMoleculeAction.hpp \
98 MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
99 MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
100 MoleculeAction/SaveAdjacencyAction.hpp \
101 MoleculeAction/SaveBondsAction.hpp \
102 MoleculeAction/SaveTemperatureAction.hpp \
103 MoleculeAction/SuspendInWaterAction.hpp \
104 MoleculeAction/TranslateAction.hpp \
105 MoleculeAction/VerletIntegrationAction.hpp
106
107PARSERACTIONSOURCE = \
108 ParserAction/LoadXyzAction.cpp \
109 ParserAction/SaveXyzAction.cpp
110PARSERACTIONHEADER = \
111 ParserAction/LoadXyzAction.hpp \
112 ParserAction/SaveXyzAction.hpp
113
114SELECTIONACTIONSOURCE = \
115 SelectionAction/AllAtomsAction.cpp \
116 SelectionAction/AllMoleculesAction.cpp \
117 SelectionAction/AtomByIdAction.cpp \
118 SelectionAction/MoleculeByIdAction.cpp \
119 SelectionAction/NotAllAtomsAction.cpp \
120 SelectionAction/NotAllMoleculesAction.cpp \
121 SelectionAction/NotAtomByIdAction.cpp \
122 SelectionAction/NotMoleculeByIdAction.cpp
123SELECTIONACTIONHEADER = \
124 SelectionAction/AllAtomsAction.hpp \
125 SelectionAction/AllMoleculesAction.hpp \
126 SelectionAction/AtomByIdAction.hpp \
127 SelectionAction/MoleculeByIdAction.hpp \
128 SelectionAction/NotAllAtomsAction.hpp \
129 SelectionAction/NotAllMoleculesAction.hpp \
130 SelectionAction/NotAtomByIdAction.hpp \
131 SelectionAction/NotMoleculeByIdAction.hpp
132
133TESSELATIONACTIONSOURCE = \
134 TesselationAction/ConvexEnvelopeAction.cpp \
135 TesselationAction/NonConvexEnvelopeAction.cpp
136TESSELATIONACTIONHEADER = \
137 TesselationAction/ConvexEnvelopeAction.hpp \
138 TesselationAction/NonConvexEnvelopeAction.hpp
139
140WORLDACTIONSOURCE = \
141 WorldAction/AddEmptyBoundaryAction.cpp \
142 WorldAction/BoundInBoxAction.cpp \
143 WorldAction/CenterInBoxAction.cpp \
144 WorldAction/CenterOnEdgeAction.cpp \
145 WorldAction/ChangeBoxAction.cpp \
146 WorldAction/InputAction.cpp \
147 WorldAction/OutputAction.cpp \
148 WorldAction/RemoveSphereOfAtomsAction.cpp \
149 WorldAction/RepeatBoxAction.cpp \
150 WorldAction/ScaleBoxAction.cpp \
151 WorldAction/SetDefaultNameAction.cpp \
152 WorldAction/SetGaussianBasisAction.cpp \
153 WorldAction/SetOutputFormatsAction.cpp
154WORLDACTIONHEADER = \
155 WorldAction/AddEmptyBoundaryAction.hpp \
156 WorldAction/BoundInBoxAction.hpp \
157 WorldAction/CenterInBoxAction.hpp \
158 WorldAction/CenterOnEdgeAction.hpp \
159 WorldAction/ChangeBoxAction.hpp \
160 WorldAction/InputAction.hpp \
161 WorldAction/OutputAction.hpp \
162 WorldAction/RemoveSphereOfAtomsAction.hpp \
163 WorldAction/RepeatBoxAction.hpp \
164 WorldAction/ScaleBoxAction.hpp \
165 WorldAction/SetDefaultNameAction.hpp \
166 WorldAction/SetGaussianBasisAction.hpp \
167 WorldAction/SetOutputFormatsAction.hpp
168
169
170lib_LTLIBRARIES = libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
171libMolecuilderActions_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
172libMolecuilderActions_libs = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
173nobase_libMolecuilderActions_include_HEADERS = ${ACTIONSHEADER}
174
175## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
176## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
177## will therefore be treated as if it were literally part of the target name,
178## and the variable name derived from that.
179## The file extension .cc is recognized by Automake, and makes it produce
180## rules which invoke the C++ compiler to produce a libtool object file (.lo)
181## from each source file. Note that it is not necessary to list header files
182## which are already listed elsewhere in a _HEADERS variable assignment.
183libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_SOURCES = ${ACTIONSSOURCE}
184
185## Instruct libtool to include ABI version information in the generated shared
186## library file (.so). The library ABI version is defined in configure.ac, so
187## that all version information is kept in one place.
188libMolecuilderActions_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
189
190## The generated configuration header is installed in its own subdirectory of
191## $(libdir). The reason for this is that the configuration information put
192## into this header file describes the target platform the installed library
193## has been built for. Thus the file must not be installed into a location
194## intended for architecture-independent files, as defined by the Filesystem
195## Hierarchy Standard (FHS).
196## The nodist_ prefix instructs Automake to not generate rules for including
197## the listed files in the distribution on 'make dist'. Files that are listed
198## in _HEADERS variables are normally included in the distribution, but the
199## configuration header file is generated at configure time and should not be
200## shipped with the source tarball.
201libMolecuilderActions_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
202nodist_libMolecuilderActions_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
203
204## Install the generated pkg-config file (.pc) into the expected location for
205## architecture-dependent package configuration information. Occasionally,
206## pkg-config files are also used for architecture-independent data packages,
207## in which case the correct install location would be $(datadir)/pkgconfig.
208pkgconfigdir = $(libdir)/pkgconfig
209pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
210
Note: See TracBrowser for help on using the repository browser.