| [57f243] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
 | 
|---|
 | 2 | # Also indentation by a single tab
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 | INCLUDES = -I$(top_srcdir)/src
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
 | 
|---|
 | 7 | # Position-Independent Code necessary for shared library
 | 
|---|
 | 8 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
 | 
|---|
| [d5240d] | 9 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
 | 
|---|
| [57f243] | 10 | 
 | 
|---|
 | 11 | LINALGSOURCE = \
 | 
|---|
 | 12 |   ${HELPERSOURCE} \
 | 
|---|
| [e3e6e2] | 13 |   BoxVector.cpp \
 | 
|---|
| [9c5296] | 14 |   Eigenspace.cpp \
 | 
|---|
| [13d150] | 15 |   leastsquaremin.cpp \
 | 
|---|
| [57f243] | 16 |   Line.cpp \
 | 
|---|
| [6c438f] | 17 |   LineSegment.cpp \
 | 
|---|
 | 18 |   LineSegmentSet.cpp \
 | 
|---|
| [57f243] | 19 |   linearsystemofequations.cpp \
 | 
|---|
| [3bc926] | 20 |   MatrixContent.cpp \
 | 
|---|
| [3da2fb] | 21 |   MatrixVector_ops.cpp \
 | 
|---|
| [57f243] | 22 |   Plane.cpp \
 | 
|---|
| [cca9ef] | 23 |   RealSpaceMatrix.cpp \
 | 
|---|
| [57f243] | 24 |   Space.cpp \
 | 
|---|
| [9c5296] | 25 |   Subspace.cpp \
 | 
|---|
| [8f4df1] | 26 |   vector_ops.cpp \
 | 
|---|
 | 27 |   Vector.cpp \
 | 
|---|
| [bbf1bd] | 28 |   VectorContent.cpp \
 | 
|---|
| [8f4df1] | 29 |   VectorInterface.cpp
 | 
|---|
| [57f243] | 30 |                            
 | 
|---|
 | 31 | LINALGHEADER = \
 | 
|---|
| [e3e6e2] | 32 |   BoxVector.hpp \
 | 
|---|
| [9c5296] | 33 |   Eigenspace.hpp \
 | 
|---|
| [13d150] | 34 |   leastsquaremin.hpp \
 | 
|---|
| [57f243] | 35 |   Line.hpp \
 | 
|---|
| [6c438f] | 36 |   LineSegment.hpp \
 | 
|---|
 | 37 |   LineSegmentSet.hpp \
 | 
|---|
| [57f243] | 38 |   linearsystemofequations.hpp \
 | 
|---|
| [3bc926] | 39 |   MatrixContent.hpp \
 | 
|---|
| [3da2fb] | 40 |   MatrixVector_ops.hpp \
 | 
|---|
| [cca9ef] | 41 |   RealSpaceMatrix.hpp \
 | 
|---|
| [57f243] | 42 |   Plane.hpp \
 | 
|---|
 | 43 |   Space.hpp \
 | 
|---|
| [9c5296] | 44 |   Subspace.hpp \
 | 
|---|
| [8f4df1] | 45 |   vector_ops.hpp \
 | 
|---|
 | 46 |   Vector.hpp \
 | 
|---|
| [3bc926] | 47 |   VectorContent.hpp \
 | 
|---|
| [8f4df1] | 48 |   VectorInterface.hpp
 | 
|---|
| [57f243] | 49 | 
 | 
|---|
 | 50 | 
 | 
|---|
 | 51 | lib_LTLIBRARIES = libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la
 | 
|---|
 | 52 | libMolecuilderLinearAlgebra_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
 | 
|---|
 | 53 | libMolecuilderLinearAlgebra_libs = ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la $(GSL_LIBS)
 | 
|---|
 | 54 | nobase_libMolecuilderLinearAlgebra_include_HEADERS = ${LINALGHEADER}
 | 
|---|
 | 55 | 
 | 
|---|
 | 56 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
 | 
|---|
 | 57 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
 | 
|---|
 | 58 | ## will therefore be treated as if it were literally part of the target name,
 | 
|---|
 | 59 | ## and the variable name derived from that.
 | 
|---|
 | 60 | ## The file extension .cc is recognized by Automake, and makes it produce
 | 
|---|
 | 61 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
 | 
|---|
 | 62 | ## from each source file.  Note that it is not necessary to list header files
 | 
|---|
 | 63 | ## which are already listed elsewhere in a _HEADERS variable assignment.
 | 
|---|
 | 64 | libMolecuilderLinearAlgebra_@MOLECUILDER_API_VERSION@_la_SOURCES = ${LINALGSOURCE}
 | 
|---|
 | 65 | 
 | 
|---|
 | 66 | ## Instruct libtool to include ABI version information in the generated shared
 | 
|---|
 | 67 | ## library file (.so).  The library ABI version is defined in configure.ac, so
 | 
|---|
 | 68 | ## that all version information is kept in one place.
 | 
|---|
 | 69 | libMolecuilderLinearAlgebra_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
 | 
|---|
 | 70 | 
 | 
|---|
 | 71 | ## The generated configuration header is installed in its own subdirectory of
 | 
|---|
 | 72 | ## $(libdir).  The reason for this is that the configuration information put
 | 
|---|
 | 73 | ## into this header file describes the target platform the installed library
 | 
|---|
 | 74 | ## has been built for.  Thus the file must not be installed into a location
 | 
|---|
 | 75 | ## intended for architecture-independent files, as defined by the Filesystem
 | 
|---|
 | 76 | ## Hierarchy Standard (FHS).
 | 
|---|
 | 77 | ## The nodist_ prefix instructs Automake to not generate rules for including
 | 
|---|
 | 78 | ## the listed files in the distribution on 'make dist'.  Files that are listed
 | 
|---|
 | 79 | ## in _HEADERS variables are normally included in the distribution, but the
 | 
|---|
 | 80 | ## configuration header file is generated at configure time and should not be
 | 
|---|
 | 81 | ## shipped with the source tarball.
 | 
|---|
 | 82 | libMolecuilderLinearAlgebra_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
 | 
|---|
 | 83 | nodist_libMolecuilderLinearAlgebra_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
 | 
|---|
 | 84 | 
 | 
|---|
 | 85 | ## Install the generated pkg-config file (.pc) into the expected location for
 | 
|---|
 | 86 | ## architecture-dependent package configuration information.  Occasionally,
 | 
|---|
 | 87 | ## pkg-config files are also used for architecture-independent data packages,
 | 
|---|
 | 88 | ## in which case the correct install location would be $(datadir)/pkgconfig.
 | 
|---|
 | 89 | pkgconfigdir = $(libdir)/pkgconfig
 | 
|---|
 | 90 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
 | 
|---|
 | 91 | 
 | 
|---|
| [d223d5] | 92 | unity.cpp:
 | 
|---|
 | 93 |         echo "" >  unity.cpp; \
 | 
|---|
 | 94 |         list='$(LINALGSOURCE)'; for file in $$list; do \
 | 
|---|
 | 95 |           echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
 | 
|---|
 | 96 |         done;
 | 
|---|
 | 97 |         
 | 
|---|
 | 98 | MOSTLYCLEANFILES = unity.cpp
 | 
|---|