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