source: src/LinearAlgebra/Makefile.am@ d5240d

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

FIX: Linking to non-system boost is working now.

  • FIX: BOOST_CPPFLAGS was not present in AM_CPPFLAGS in all Makefile.am
  • Hence, not the correct includes were used and linking occured with undefined reference errors (because of version conflict between system-wide installed and non-system boost)
  • validate()s now make version check of boost as signature of validation_error)_ changed in boost 1.42
  • added AX_BOOST_SYSTEM to configure.ac and BOOST_SYSTEM_LIB to src/Makefile.am and src/unittests/Makefile.am. Otherwise we have to set an rpath to let it find the lib needed by other boost libs in non-system boost configs.
  • Property mode set to 100644
File size: 3.7 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
7# Position-Independent Code necessary for shared library
8AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
9AM_CPPFLAGS = ${BOOST_CPPFLAGS}
10
11LINALGSOURCE = \
12 ${HELPERSOURCE} \
13 BoxVector.cpp \
14 gslmatrix.cpp \
15 gslvector.cpp \
16 Line.cpp \
17 LineSegment.cpp \
18 LineSegmentSet.cpp \
19 linearsystemofequations.cpp \
20 Matrix.cpp \
21 Plane.cpp \
22 Space.cpp \
23 vector_ops.cpp \
24 Vector.cpp \
25 VectorInterface.cpp
26
27LINALGHEADER = \
28 BoxVector.hpp \
29 gslmatrix.hpp \
30 gslvector.hpp \
31 Line.hpp \
32 LineSegment.hpp \
33 LineSegmentSet.hpp \
34 linearsystemofequations.hpp \
35 Matrix.hpp \
36 Plane.hpp \
37 Space.hpp \
38 vector_ops.hpp \
39 Vector.hpp \
40 VectorInterface.hpp
41
42
43lib_LTLIBRARIES = libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la
44libMolecuilderLinearAlgebra_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
45libMolecuilderLinearAlgebra_libs = ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la $(GSL_LIBS)
46nobase_libMolecuilderLinearAlgebra_include_HEADERS = ${LINALGHEADER}
47
48## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
49## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
50## will therefore be treated as if it were literally part of the target name,
51## and the variable name derived from that.
52## The file extension .cc is recognized by Automake, and makes it produce
53## rules which invoke the C++ compiler to produce a libtool object file (.lo)
54## from each source file. Note that it is not necessary to list header files
55## which are already listed elsewhere in a _HEADERS variable assignment.
56libMolecuilderLinearAlgebra_@MOLECUILDER_API_VERSION@_la_SOURCES = ${LINALGSOURCE}
57
58## Instruct libtool to include ABI version information in the generated shared
59## library file (.so). The library ABI version is defined in configure.ac, so
60## that all version information is kept in one place.
61libMolecuilderLinearAlgebra_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
62
63## The generated configuration header is installed in its own subdirectory of
64## $(libdir). The reason for this is that the configuration information put
65## into this header file describes the target platform the installed library
66## has been built for. Thus the file must not be installed into a location
67## intended for architecture-independent files, as defined by the Filesystem
68## Hierarchy Standard (FHS).
69## The nodist_ prefix instructs Automake to not generate rules for including
70## the listed files in the distribution on 'make dist'. Files that are listed
71## in _HEADERS variables are normally included in the distribution, but the
72## configuration header file is generated at configure time and should not be
73## shipped with the source tarball.
74libMolecuilderLinearAlgebra_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
75nodist_libMolecuilderLinearAlgebra_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
76
77## Install the generated pkg-config file (.pc) into the expected location for
78## architecture-dependent package configuration information. Occasionally,
79## pkg-config files are also used for architecture-independent data packages,
80## in which case the correct install location would be $(datadir)/pkgconfig.
81pkgconfigdir = $(libdir)/pkgconfig
82pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
83
84unity.cpp:
85 echo "" > unity.cpp; \
86 list='$(LINALGSOURCE)'; for file in $$list; do \
87 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
88 done;
89
90MOSTLYCLEANFILES = unity.cpp
Note: See TracBrowser for help on using the repository browser.