Ignore:
Timestamp:
Apr 18, 2011, 12:45:06 PM (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:
4217e7
Parents:
ca2cfa
git-author:
Frederik Heber <heber@…> (03/02/11 16:25:13)
git-committer:
Frederik Heber <heber@…> (04/18/11 12:45:06)
Message:

Large Commit: SUBDIRS in src/Makefile.am replaced by include.

  • This should let make decide on the dependencies automatically.
  • We had to change each Makefile.am due to different relative location now.
  • FIX: convenience libs were not created due to lib_LT... instead of noinst_LT... (thanks, Ralf!)
  • FIX: convenience libs cannot pass on dependencies on real libs, these (seemingly: libLinearAlgebra) have to be re-specified.
  • FIX: RANDOMSOURCE/HEADER were still present to include in libMolecuilder although RandomNumbers have been outsourced for some time already.
  • this should make it a lot easier for unit tests to get away with the massive dependencies because we may now include single libs and can construct stubs in replacement.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/unittests/Makefile.am

    rca2cfa r455573  
    22# Also indentation by a single tab
    33
    4 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
    54
    6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    7 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     5PARSERTESTSSOURCES = \
     6        ../Parser/unittests/ParserMpqcUnitTest.cpp \
     7        ../Parser/unittests/ParserPcpUnitTest.cpp \
     8        ../Parser/unittests/ParserPdbUnitTest.cpp \
     9        ../Parser/unittests/ParserTremoloUnitTest.cpp \
     10        ../Parser/unittests/ParserXyzUnitTest.cpp
    811
    9 TESTS = \
     12PARSERTESTSHEADERS = \
     13        ../Parser/unittests/ParserMpqcUnitTest.hpp \
     14        ../Parser/unittests/ParserPcpUnitTest.hpp \
     15        ../Parser/unittests/ParserPdbUnitTest.hpp \
     16        ../Parser/unittests/ParserTremoloUnitTest.hpp \
     17        ../Parser/unittests/ParserXyzUnitTest.hpp
     18
     19PARSERTESTS = \
    1020  ParserMpqcUnitTest \
    1121  ParserPcpUnitTest \
     
    1424  ParserXyzUnitTest
    1525
     26TESTS += $(PARSERTESTS)
     27check_PROGRAMS += $(PARSERTESTS)
     28noinst_PROGRAMS += $(PARSERTESTS)
    1629
    17 check_PROGRAMS = $(TESTS)
    18 noinst_PROGRAMS = $(TESTS)
    19 
    20 BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
    21 GSLLIBS = \
    22         ../../Shapes/libMolecuilderShapes.la \
     30PARSERLIBS = \
     31        ../libMolecuilderUI.la \
    2332        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    24         ../../RandomNumbers/libMolecuilderRandomNumbers.la \
    2533        ${CodePatterns_LIBS} \
    2634        $(BOOST_LIB)
    2735
    28 ALLLIBS = \
    29         ../../UIElements/libMolecuilderUI.la \
    30         ../../Actions/libMolecuilderActions.la \
    31         ${PARSERLIBS} \
    32         ../../libMolecuilder.la \
    33         ${GSLLIBS}
    3436
    35 PARSERLIBS = ../../Parser/libMolecuilderParser.la
    36 UILIBS = ../../UIElements/libMolecuilderUI.la 
    3737
    3838ParserMpqcUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    39         ParserMpqcUnitTest.cpp \
    40         ParserMpqcUnitTest.hpp
    41 ParserMpqcUnitTest_LDADD = ${ALLLIBS}
     39        ../Parser/unittests/ParserMpqcUnitTest.cpp \
     40        ../Parser/unittests/ParserMpqcUnitTest.hpp
     41ParserMpqcUnitTest_LDADD = ${PARSERLIBS}
    4242
    4343ParserPcpUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    44         ParserPcpUnitTest.cpp \
    45         ParserPcpUnitTest.hpp
    46 ParserPcpUnitTest_LDADD = ${ALLLIBS}
     44        ../Parser/unittests/ParserPcpUnitTest.cpp \
     45        ../Parser/unittests/ParserPcpUnitTest.hpp
     46ParserPcpUnitTest_LDADD = ${PARSERLIBS}
    4747
    4848ParserPdbUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    49         ParserPdbUnitTest.cpp \
    50         ParserPdbUnitTest.hpp
    51 ParserPdbUnitTest_LDADD = ${ALLLIBS}
     49        ../Parser/unittests/ParserPdbUnitTest.cpp \
     50        ../Parser/unittests/ParserPdbUnitTest.hpp
     51ParserPdbUnitTest_LDADD = ${PARSERLIBS}
    5252
    5353ParserTremoloUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    54         ParserTremoloUnitTest.cpp \
    55         ParserTremoloUnitTest.hpp
    56 ParserTremoloUnitTest_LDADD = ${ALLLIBS}
     54        ../Parser/unittests/ParserTremoloUnitTest.cpp \
     55        ../Parser/unittests/ParserTremoloUnitTest.hpp
     56ParserTremoloUnitTest_LDADD = ${PARSERLIBS}
    5757
    5858ParserXyzUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    59         ParserXyzUnitTest.cpp \
    60         ParserXyzUnitTest.hpp
    61 ParserXyzUnitTest_LDADD = ${ALLLIBS}
     59        ../Parser/unittests/ParserXyzUnitTest.cpp \
     60        ../Parser/unittests/ParserXyzUnitTest.hpp
     61ParserXyzUnitTest_LDADD = ${PARSERLIBS}
    6262
    6363
Note: See TracChangeset for help on using the changeset viewer.