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