source: src/Parser/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: 3.0 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
9PARSERSOURCE = \
10 ChangeTracker.cpp \
11 FormatParser.cpp \
12 FormatParserStorage.cpp \
13 MpqcParser.cpp \
14 PcpParser.cpp \
15 TremoloParser.cpp \
16 XyzParser.cpp
17
18PARSERHEADER = \
19 ChangeTracker.hpp \
20 FormatParser.hpp \
21 FormatParserStorage.hpp \
22 MpqcParser.hpp \
23 PcpParser.hpp \
24 TremoloParser.hpp \
25 XyzParser.hpp
26
27
28lib_LTLIBRARIES = libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
29libMolecuilderParser_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
30nobase_libMolecuilderParser_include_HEADERS = ${PARSERHEADER}
31
32## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
33## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
34## will therefore be treated as if it were literally part of the target name,
35## and the variable name derived from that.
36## The file extension .cc is recognized by Automake, and makes it produce
37## rules which invoke the C++ compiler to produce a libtool object file (.lo)
38## from each source file. Note that it is not necessary to list header files
39## which are already listed elsewhere in a _HEADERS variable assignment.
40libMolecuilderParser_@MOLECUILDER_API_VERSION@_la_SOURCES = ${PARSERSOURCE}
41
42## Instruct libtool to include ABI version information in the generated shared
43## library file (.so). The library ABI version is defined in configure.ac, so
44## that all version information is kept in one place.
45libMolecuilderParser_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
46
47## The generated configuration header is installed in its own subdirectory of
48## $(libdir). The reason for this is that the configuration information put
49## into this header file describes the target platform the installed library
50## has been built for. Thus the file must not be installed into a location
51## intended for architecture-independent files, as defined by the Filesystem
52## Hierarchy Standard (FHS).
53## The nodist_ prefix instructs Automake to not generate rules for including
54## the listed files in the distribution on 'make dist'. Files that are listed
55## in _HEADERS variables are normally included in the distribution, but the
56## configuration header file is generated at configure time and should not be
57## shipped with the source tarball.
58libMolecuilderParser_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
59nodist_libMolecuilderParser_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
60
61## Install the generated pkg-config file (.pc) into the expected location for
62## architecture-dependent package configuration information. Occasionally,
63## pkg-config files are also used for architecture-independent data packages,
64## in which case the correct install location would be $(datadir)/pkgconfig.
65pkgconfigdir = $(libdir)/pkgconfig
66pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
67
Note: See TracBrowser for help on using the repository browser.