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