Changeset c20839


Ignore:
Timestamp:
Oct 11, 2015, 7:11:15 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
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
Children:
9593d1
Parents:
08d9df7
git-author:
Frederik Heber <heber@…> (10/25/14 07:54:37)
git-committer:
Frederik Heber <heber@…> (10/11/15 07:11:15)
Message:

FIX: Shared libraries's Makefile.am rules are now consistent.

  • pkgconfig is just given once (in src/Makefile.am).
  • all have version information, including now pyMoleCuilder.so.
Location:
src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Makefile.am

    r08d9df7 rc20839  
    128128libMolecuilderFragmentation_KeysetsContainer_libincludedir = $(libdir)/MoleCuilder/include
    129129nodist_libMolecuilderFragmentation_KeysetsContainer_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    130 
    131 ## Install the generated pkg-config file (.pc) into the expected location for
    132 ## architecture-dependent package configuration information.  Occasionally,
    133 ## pkg-config files are also used for architecture-independent data packages,
    134 ## in which case the correct install location would be $(datadir)/pkgconfig.
    135 #pkgconfigdir = $(libdir)/pkgconfig
    136 #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
  • src/Fragmentation/Summation/Makefile.am

    r08d9df7 rc20839  
    7777libMolecuilderFragmentationSummation_libincludedir = $(libdir)/MoleCuilder/include
    7878nodist_libMolecuilderFragmentationSummation_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    79 
    80 ## Install the generated pkg-config file (.pc) into the expected location for
    81 ## architecture-dependent package configuration information.  Occasionally,
    82 ## pkg-config files are also used for architecture-independent data packages,
    83 ## in which case the correct install location would be $(datadir)/pkgconfig.
    84 #pkgconfigdir = $(libdir)/pkgconfig
    85 #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
  • src/Jobs/Makefile.am

    r08d9df7 rc20839  
    121121nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    122122
    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
    129 
  • src/Makefile.am

    r08d9df7 rc20839  
    297297        Actions/ActionHistory.hpp
    298298pyMoleCuilder_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR)
    299 pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
     299pyMoleCuilder_la_LDFLAGS = -module -version-info $(MOLECUILDER_SO_VERSION) -shared $(BOOST_PYTHON_LDFLAGS)
    300300pyMoleCuilder_la_LIBADD = \
    301301        libMolecuilderUI.la
  • src/UIElements/Makefile.am

    r08d9df7 rc20839  
    280280        libMolecuilderFragmentation.la \
    281281        libMolecuilderJobs.la
     282       
    282283if CONDJOBMARKET
    283284libMolecuilderUI_la_LIBADD += \
    284285        ${JobMarket_Controller_LIBS}
    285286endif
     287
    286288libMolecuilderUI_la_LIBADD += \
    287289        libMolecuilderFragmentationSummation.la \
     
    351353## configuration header file is generated at configure time and should not be
    352354## shipped with the source tarball.
    353 #libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
    354 #nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    355 
    356 ## Install the generated pkg-config file (.pc) into the expected location for
    357 ## architecture-dependent package configuration information.  Occasionally,
    358 ## pkg-config files are also used for architecture-independent data packages,
    359 ## in which case the correct install location would be $(datadir)/pkgconfig.
    360 #pkgconfigdir = $(libdir)/pkgconfig
    361 #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
     355libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
     356nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    362357
    363358if CONDQTGUI
     
    384379
    385380nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
     381
     382## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
     383## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
     384## will therefore be treated as if it were literally part of the target name,
     385## and the variable name derived from that.
     386## The file extension .cc is recognized by Automake, and makes it produce
     387## rules which invoke the C++ compiler to produce a libtool object file (.lo)
     388## from each source file.  Note that it is not necessary to list header files
     389## which are already listed elsewhere in a _HEADERS variable assignment.
    386390libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
    387391nodist_libMolecuilderQtUI_la_SOURCES =
     392
     393## Instruct libtool to include ABI version information in the generated shared
     394## library file (.so).  The library ABI version is defined in configure.ac, so
     395## that all version information is kept in one place.
    388396libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
    389 #libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
    390 #nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
     397
     398## The generated configuration header is installed in its own subdirectory of
     399## $(libdir).  The reason for this is that the configuration information put
     400## into this header file describes the target platform the installed library
     401## has been built for.  Thus the file must not be installed into a location
     402## intended for architecture-independent files, as defined by the Filesystem
     403## Hierarchy Standard (FHS).
     404## The nodist_ prefix instructs Automake to not generate rules for including
     405## the listed files in the distribution on 'make dist'.  Files that are listed
     406## in _HEADERS variables are normally included in the distribution, but the
     407## configuration header file is generated at configure time and should not be
     408## shipped with the source tarball.
     409libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
     410nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    391411
    392412BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
  • src/UIElements/Views/Qt4/Plotting/Makefile.am

    r08d9df7 rc20839  
    4444
    4545nobase_libMolecuilderQwtUI_la_include_HEADERS = ${QWTHEADER}
     46
     47## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
     48## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
     49## will therefore be treated as if it were literally part of the target name,
     50## and the variable name derived from that.
     51## The file extension .cc is recognized by Automake, and makes it produce
     52## rules which invoke the C++ compiler to produce a libtool object file (.lo)
     53## from each source file.  Note that it is not necessary to list header files
     54## which are already listed elsewhere in a _HEADERS variable assignment.
    4655libMolecuilderQwtUI_la_SOURCES = ${QWTSOURCE}
    4756nodist_libMolecuilderQwtUI_la_SOURCES =
     57nodist_libMolecuilderQwtUI_la_SOURCES += allqwtmocs.moc.cpp
     58
     59## Instruct libtool to include ABI version information in the generated shared
     60## library file (.so).  The library ABI version is defined in configure.ac, so
     61## that all version information is kept in one place.
    4862libMolecuilderQwtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
    49 #libMolecuilderQwtUI_libincludedir = $(libdir)/MoleCuilder/include
    50 #nodist_libMolecuilderQwtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    5163
     64## The generated configuration header is installed in its own subdirectory of
     65## $(libdir).  The reason for this is that the configuration information put
     66## into this header file describes the target platform the installed library
     67## has been built for.  Thus the file must not be installed into a location
     68## intended for architecture-independent files, as defined by the Filesystem
     69## Hierarchy Standard (FHS).
     70## The nodist_ prefix instructs Automake to not generate rules for including
     71## the listed files in the distribution on 'make dist'.  Files that are listed
     72## in _HEADERS variables are normally included in the distribution, but the
     73## configuration header file is generated at configure time and should not be
     74## shipped with the source tarball.
     75libMolecuilderQwtUI_libincludedir = $(libdir)/MoleCuilder/include
     76nodist_libMolecuilderQwtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    5277
    53 nodist_libMolecuilderQwtUI_la_SOURCES += allqwtmocs.moc.cpp
    5478
    5579#Rules needed for Qt4
Note: See TracChangeset for help on using the changeset viewer.