[00f983] | 1 | LIBSCOPTIMIZESOURCES = \
|
---|
[23612c] | 2 | math/optimize/conv.cc \
|
---|
| 3 | math/optimize/dfp.cc \
|
---|
| 4 | math/optimize/diis.cc \
|
---|
| 5 | math/optimize/efc.cc \
|
---|
| 6 | math/optimize/function.cc \
|
---|
| 7 | math/optimize/gdiis.cc \
|
---|
| 8 | math/optimize/mcsearch.cc \
|
---|
| 9 | math/optimize/newton.cc \
|
---|
| 10 | math/optimize/opt.cc \
|
---|
| 11 | math/optimize/powell.cc \
|
---|
| 12 | math/optimize/qnewton.cc \
|
---|
| 13 | math/optimize/scextrap.cc \
|
---|
| 14 | math/optimize/scextrapmat.cc \
|
---|
| 15 | math/optimize/steep.cc \
|
---|
| 16 | math/optimize/transform.cc \
|
---|
| 17 | math/optimize/update.cc
|
---|
| 18 |
|
---|
[00f983] | 19 |
|
---|
| 20 | LIBSCOPTIMIZEHEADERS = \
|
---|
[23612c] | 21 | math/optimize/conv.h \
|
---|
| 22 | math/optimize/diis.h \
|
---|
| 23 | math/optimize/efc.h \
|
---|
| 24 | math/optimize/function.h \
|
---|
| 25 | math/optimize/gdiis.h \
|
---|
| 26 | math/optimize/linkage.h \
|
---|
| 27 | math/optimize/mcsearch.h \
|
---|
| 28 | math/optimize/newton.h \
|
---|
| 29 | math/optimize/opt.h \
|
---|
| 30 | math/optimize/qnewton.h \
|
---|
| 31 | math/optimize/scextrap.h \
|
---|
| 32 | math/optimize/scextrapmat.h \
|
---|
| 33 | math/optimize/steep.h \
|
---|
| 34 | math/optimize/transform.h \
|
---|
| 35 | math/optimize/update.h
|
---|
| 36 |
|
---|
[00f983] | 37 |
|
---|
| 38 | lib_LTLIBRARIES +=
|
---|
| 39 | noinst_LTLIBRARIES += libSCoptimize.la
|
---|
| 40 | libSCoptimize_la_includedir = $(includedir)/math/optimize
|
---|
| 41 | libSCoptimize_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 42 | libSCoptimize_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 43 | libSCoptimize_la_LIBADD =
|
---|
| 44 |
|
---|
| 45 | nobase_libSCoptimize_la_include_HEADERS = ${LIBSCOPTIMIZEHEADERS}
|
---|
| 46 |
|
---|
| 47 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
| 48 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
| 49 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 50 | ## and the variable name derived from that.
|
---|
| 51 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 52 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 53 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 54 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 55 | libSCoptimize_la_SOURCES = ${LIBSCOPTIMIZESOURCES}
|
---|
| 56 |
|
---|
| 57 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 58 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 59 | ## that all version information is kept in one place.
|
---|
| 60 | #libSCoptimize_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
| 61 |
|
---|
| 62 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 63 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 64 | ## into this header file describes the target platform the installed library
|
---|
| 65 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 66 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 67 | ## Hierarchy Standard (FHS).
|
---|
| 68 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 69 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 70 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 71 | ## configuration header file is generated at configure time and should not be
|
---|
| 72 | ## shipped with the source tarball.
|
---|
| 73 | #libSCoptimize_libincludedir = $(libdir)/math/optimize/include
|
---|
| 74 | #nodist_libSCoptimize_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 75 |
|
---|
[23612c] | 76 |
|
---|
[00f983] | 77 | OPTIMIZETESTS = \
|
---|
| 78 | opttest \
|
---|
| 79 | scextest_optimize \
|
---|
| 80 | kvopt
|
---|
| 81 |
|
---|
| 82 | check_PROGRAMS += $(OPTIMIZETESTS)
|
---|
| 83 | noinst_PROGRAMS += $(OPTIMIZETESTS)
|
---|
| 84 |
|
---|
| 85 | OPTIMIZELIBS = \
|
---|
[251420] | 86 | libSCoptimize.la libSCscmat.la libSCgroup.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
|
---|
[00f983] | 87 |
|
---|
[23612c] | 88 | opttest_SOURCES = \
|
---|
| 89 | math/optimize/opttest.cc
|
---|
[00f983] | 90 | opttest_LDADD = \
|
---|
| 91 | $(OPTIMIZELIBS)
|
---|
| 92 |
|
---|
[23612c] | 93 | scextest_optimize_SOURCES = \
|
---|
| 94 | math/optimize/scextest.cc
|
---|
[00f983] | 95 | scextest_optimize_LDADD = \
|
---|
| 96 | $(OPTIMIZELIBS)
|
---|
| 97 |
|
---|
[23612c] | 98 | kvopt_SOURCES = \
|
---|
| 99 | math/optimize/kvopt.cc
|
---|
[00f983] | 100 | kvopt_LDADD = \
|
---|
| 101 | $(OPTIMIZELIBS)
|
---|
| 102 |
|
---|