| [66cfc7] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
 | 
|---|
 | 2 | # Also indentation by a single tab
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 | FUNCTIONAPPROXIMATIONSOURCE =
 | 
|---|
 | 5 |         
 | 
|---|
 | 6 | FUNCTIONAPPROXIMATIONHEADER = \
 | 
|---|
 | 7 |         FunctionApproximation/FunctionModel.hpp \
 | 
|---|
 | 8 |         FunctionApproximation/FunctionArgument.hpp
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 | if CONDLEVMAR
 | 
|---|
 | 11 | FUNCTIONAPPROXIMATIONSOURCE += \
 | 
|---|
 | 12 |         FunctionApproximation/FunctionApproximation.cpp
 | 
|---|
 | 13 | FUNCTIONAPPROXIMATIONHEADER += \
 | 
|---|
 | 14 |         FunctionApproximation/FunctionApproximation.hpp
 | 
|---|
 | 15 | endif
 | 
|---|
 | 16 | 
 | 
|---|
 | 17 | noinst_LTLIBRARIES += libMolecuilderFunctionApproximation.la
 | 
|---|
 | 18 | libMolecuilderFunctionApproximation_la_includedir = $(includedir)/MoleCuilder/FunctionApproximation/
 | 
|---|
 | 19 | libMolecuilderFunctionApproximation_la_CPPFLAGS = $(AM_CPPFLAGS)
 | 
|---|
 | 20 | libMolecuilderFunctionApproximation_la_LDFLAGS = $(AM_LDFLAGS)
 | 
|---|
 | 21 | libMolecuilderFunctionApproximation_la_LIBADD =
 | 
|---|
 | 22 | if CONDLEVMAR
 | 
|---|
 | 23 | libMolecuilderFunctionApproximation_la_CPPFLAGS += $(AM_CPPFLAGS) $(LEVMAR_CPPFLAGS)
 | 
|---|
 | 24 | libMolecuilderFunctionApproximation_la_LDFLAGS += $(LEVMAR_LDFLAGS)
 | 
|---|
 | 25 | libMolecuilderFunctionApproximation_la_LIBADD += \
 | 
|---|
 | 26 |         $(LEVMAR_LIBS)
 | 
|---|
 | 27 | endif
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | nobase_libMolecuilderFunctionApproximation_la_include_HEADERS = ${FUNCTIONAPPROXIMATIONHEADER}
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
 | 
|---|
 | 32 | ## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
 | 
|---|
 | 33 | ## will therefore be treated as if it were literally part of the target name,
 | 
|---|
 | 34 | ## and the variable name derived from that.
 | 
|---|
 | 35 | ## The file extension .cc is recognized by Automake, and makes it produce
 | 
|---|
 | 36 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
 | 
|---|
 | 37 | ## from each source file.  Note that it is not necessary to list header files
 | 
|---|
 | 38 | ## which are already listed elsewhere in a _HEADERS variable assignment.
 | 
|---|
 | 39 | libMolecuilderFunctionApproximation_la_SOURCES = ${FUNCTIONAPPROXIMATIONSOURCE}
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | ## Instruct libtool to include ABI version information in the generated shared
 | 
|---|
 | 42 | ## library file (.so).  The library ABI version is defined in configure.ac, so
 | 
|---|
 | 43 | ## that all version information is kept in one place.
 | 
|---|
 | 44 | #libMolecuilderFunctionApproximation_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
 | 
|---|
 | 45 | 
 | 
|---|
 | 46 | ## The generated configuration header is installed in its own subdirectory of
 | 
|---|
 | 47 | ## $(libdir).  The reason for this is that the configuration information put
 | 
|---|
 | 48 | ## into this header file describes the target platform the installed library
 | 
|---|
 | 49 | ## has been built for.  Thus the file must not be installed into a location
 | 
|---|
 | 50 | ## intended for architecture-independent files, as defined by the Filesystem
 | 
|---|
 | 51 | ## Hierarchy Standard (FHS).
 | 
|---|
 | 52 | ## The nodist_ prefix instructs Automake to not generate rules for including
 | 
|---|
 | 53 | ## the listed files in the distribution on 'make dist'.  Files that are listed
 | 
|---|
 | 54 | ## in _HEADERS variables are normally included in the distribution, but the
 | 
|---|
 | 55 | ## configuration header file is generated at configure time and should not be
 | 
|---|
 | 56 | ## shipped with the source tarball.
 | 
|---|
 | 57 | #libMolecuilderFunctionApproximation_libincludedir = $(libdir)/MoleCuilder/include
 | 
|---|
 | 58 | #nodist_libMolecuilderFunctionApproximation_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
 | 
|---|
 | 59 | 
 | 
|---|
 | 60 | ## Install the generated pkg-config file (.pc) into the expected location for
 | 
|---|
 | 61 | ## architecture-dependent package configuration information.  Occasionally,
 | 
|---|
 | 62 | ## pkg-config files are also used for architecture-independent data packages,
 | 
|---|
 | 63 | ## in which case the correct install location would be $(datadir)/pkgconfig.
 | 
|---|
 | 64 | #pkgconfigdir = $(libdir)/pkgconfig
 | 
|---|
 | 65 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
 | 
|---|