Changeset e5bf2b


Ignore:
Timestamp:
Feb 3, 2011, 9:51:14 AM (14 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:
d1115d
Parents:
b2ae3b
git-author:
Frederik Heber <heber@…> (01/10/11 22:34:20)
git-committer:
Frederik Heber <heber@…> (02/03/11 09:51:14)
Message:

removed CPPUNIT_LIBS/FLAGS from most Makefile.am and LIBS/libs -> LIBADD.

  • CPPUNIT_LIBS/FLAGS is only needed for unit tests.
  • LIBS/libs should actually be LIBDADD, see also ticket #133.
Location:
src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Makefile.am

    rb2ae3b re5bf2b  
    44INCLUDES = -I$(top_srcdir)/src
    55
    6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    7 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     6AM_LDFLAGS = -ldl
     7AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    88
    99ACTIONSSOURCE = \
     
    217217
    218218lib_LTLIBRARIES = libMolecuilderActions.la
    219 libMolecuilderActions_includedir = $(includedir)/MoleCuilder/Actions/
    220 libMolecuilderActions_libs = \
     219libMolecuilderActions_la_includedir = $(includedir)/MoleCuilder/Actions/
     220libMolecuilderActions_la_LIBADD = \
    221221        ../Parser/libMolecuilderParser.la \
    222         ../UIElements/libMolecuilderUI.la
    223 nobase_libMolecuilderActions_include_HEADERS = ${ACTIONSHEADER}
     222        ../Shapes/libMolecuilderShapes.la \
     223        ${CodePatterns_LIBS}
     224#       ../UIElements/libMolecuilderUI.la
     225nobase_libMolecuilderActions_la_include_HEADERS = ${ACTIONSHEADER}
    224226
    225227## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
  • src/Exceptions/Makefile.am

    rb2ae3b re5bf2b  
    44INCLUDES = -I$(top_srcdir)/src
    55
    6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    7 # Position-Independent Code necessary for shared library
    8 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     6AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
     7AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    98
    109EXCEPTIONSOURCE = \
     
    3736
    3837lib_LTLIBRARIES = libMolecuilderExceptions.la
    39 libMolecuilderExceptions_includedir = $(includedir)/MoleCuilder/Exceptions/
    40 nobase_libMolecuilderExceptions_include_HEADERS = ${EXCEPTIONHEADER}
     38libMolecuilderExceptions_la_includedir = $(includedir)/MoleCuilder/Exceptions/
     39nobase_libMolecuilderExceptions_la_include_HEADERS = ${EXCEPTIONHEADER}
    4140
    4241## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
  • src/LinearAlgebra/Makefile.am

    rb2ae3b re5bf2b  
    44INCLUDES = -I$(top_srcdir)/src
    55
    6 # Position-Independent Code necessary for shared library
    7 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    8 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     6AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
     7AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    98
    109LINALGSOURCE = \
     
    5251
    5352lib_LTLIBRARIES = libMolecuilderLinearAlgebra.la
    54 libMolecuilderLinearAlgebra_includedir = $(includedir)/MoleCuilder/LinearAlgebra/
    55 libMolecuilderLinearAlgebra_libs = ../Exceptions/libMolecuilderExceptions.la $(GSL_LIBS)
    56 nobase_libMolecuilderLinearAlgebra_include_HEADERS = ${LINALGHEADER}
     53libMolecuilderLinearAlgebra_la_includedir = $(includedir)/MoleCuilder/LinearAlgebra/
     54libMolecuilderLinearAlgebra_la_LIBADD = \
     55        ../Exceptions/libMolecuilderExceptions.la \
     56        $(GSL_LIBS)
     57nobase_libMolecuilderLinearAlgebra_la_include_HEADERS = ${LINALGHEADER}
    5758
    5859## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
  • src/Makefile.am

    rb2ae3b re5bf2b  
    22# Also indentation by a single tab
    33
    4 SUBDIRS = Actions Exceptions LinearAlgebra Parser Shapes UIElements
     4SUBDIRS = \
     5        Exceptions \
     6        Parser \
     7        LinearAlgebra \
     8        Shapes \
     9        Actions \
     10        UIElements
    511
    612AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
     
    228234
    229235lib_LTLIBRARIES = libMolecuilder.la
    230 libMolecuilder_includedir = $(includedir)/MoleCuilder/
    231 libMolecuilder_LIBS = \
     236libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
     237libMolecuilder_la_LIBADD = \
    232238        LinearAlgebra/libMolecuilderLinearAlgebra.la \
    233239        ${CodePatterns_LIBS} \
    234240        ${BOOST_PROGRAM_OPTIONS_LIB}
    235241
    236 nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
     242nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
    237243
    238244## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
     
    262268## configuration header file is generated at configure time and should not be
    263269## shipped with the source tarball.
    264 libMolecuilder_libincludedir = $(libdir)/MoleCuilder/include
    265 nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
     270libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
     271nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
    266272
    267273## Install the generated pkg-config file (.pc) into the expected location for
  • src/Parser/Makefile.am

    rb2ae3b re5bf2b  
    44INCLUDES = -I$(top_srcdir)/src
    55
    6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    7 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     6AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
     7AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    88
    99PARSERSOURCE = \
     
    3535
    3636lib_LTLIBRARIES = libMolecuilderParser.la
    37 libMolecuilderParser_includedir = $(includedir)/MoleCuilder/Parser/
    38 nobase_libMolecuilderParser_include_HEADERS = ${PARSERHEADER}
     37libMolecuilderParser_la_includedir = $(includedir)/MoleCuilder/Parser/
     38nobase_libMolecuilderParser_la_include_HEADERS = ${PARSERHEADER}
    3939
    4040## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
  • src/Shapes/Makefile.am

    rb2ae3b re5bf2b  
    55
    66# Position-Independent Code necessary for shared library
    7 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    8 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     7AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
     8AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    99
    1010SHAPESOURCE = \
     
    2020
    2121lib_LTLIBRARIES = libMolecuilderShapes.la
    22 libMolecuilderShapes_includedir = $(includedir)/MoleCuilder/Shapes/
    23 libMolecuilderShapes_libs = \
    24   ../LinearAlgebra/libMolecuilderExceptions.la \
     22libMolecuilderShapes_la_includedir = $(includedir)/MoleCuilder/Shapes/
     23libMolecuilderShapes_la_LIBADD = \
     24  ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
    2525        ../Exceptions/libMolecuilderExceptions.la \
    2626        $(GSL_LIBS)
    27 nobase_libMolecuilderShapes_include_HEADERS = ${SHAPEHEADER}
     27nobase_libMolecuilderShapes_la_include_HEADERS = ${SHAPEHEADER}
    2828
    2929## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
  • src/UIElements/Makefile.am

    rb2ae3b re5bf2b  
    33INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/UIElements
    44
    5 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    6 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
     5AM_LDFLAGS = ${CodePatterns_LIBS} -ldl
     6AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
    77 
    88VIEWSOURCE = \
     
    232232lib_LTLIBRARIES = libMolecuilderUI.la \
    233233        libMolecuilderQtUI.la
    234 libMolecuilderUI_includedir = $(includedir)/MoleCuilder/UIElements/
    235 libMolecuilderQtUI_includedir = $(includedir)/MoleCuilder/UIElements/
    236 libMolecuilderUI_la_LIBS = \
    237         Actions/libMolecuilderActions.la
    238 libMolecuilderQtUI_la_LIBS = \
    239         Actions/libMolecuilderActions.la
    240 
    241 libMolecuilderQtUI_la_LIBADD = ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS} ${QT_LDADD}
    242 
    243 nobase_libMolecuilderUI_include_HEADERS = ${UIHEADER}
    244 nobase_libMolecuilderQtUI_include_HEADERS = ${QTUIHEADER}
     234libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
     235libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
     236libMolecuilderUI_la_LIBADD = \
     237        ../Actions/libMolecuilderActions.la
     238libMolecuilderQtUI_la_LIBADD = \
     239        ../Actions/libMolecuilderActions.la \
     240        ${QT_LIB_GUI} \
     241        -lQtOpenGL \
     242        ${GLU_LIBS} \
     243        ${QT_LDADD}
     244
     245nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
     246nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER}
    245247
    246248## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
Note: See TracChangeset for help on using the changeset viewer.