1 | LIBSCMBPTSOURCES = \
|
---|
2 | bzerofast.c cscphf.cc csgmat.cc csgrad34qb.cc csgrad.cc csgrade12.cc csgrads2pdm.cc hsosv1.cc hsosv1e1.cc hsosv2.cc hsosv2lb.cc mbpt.cc mp2extrap.cc util.cc
|
---|
3 |
|
---|
4 | LIBSCMBPTHEADERS = \
|
---|
5 | bzerofast.h csgrad34qb.h csgrade12.h csgrads2pdm.h hsosv1e1.h linkage.h mbpt.h mp2extrap.h util.h
|
---|
6 |
|
---|
7 | lib_LTLIBRARIES +=
|
---|
8 | noinst_LTLIBRARIES += libSCmbpt.la
|
---|
9 | libSCmbpt_la_includedir = $(includedir)/chemistry/qc/mbpt
|
---|
10 | libSCmbpt_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
11 | libSCmbpt_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
12 | libSCmbpt_la_LIBADD =
|
---|
13 |
|
---|
14 | nobase_libSCmbpt_la_include_HEADERS = ${LIBSCMBPTHEADERS}
|
---|
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 | libSCmbpt_la_SOURCES = ${LIBSCMBPTSOURCES}
|
---|
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 | #libSCmbpt_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 | #libSCmbpt_libincludedir = $(libdir)/chemistry/qc/mbpt/include
|
---|
43 | #nodist_libSCmbpt_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
44 |
|
---|
45 | MBPTTESTS = \
|
---|
46 | mbpttest
|
---|
47 |
|
---|
48 | check_PROGRAMS += $(MBPTTESTS)
|
---|
49 | noinst_PROGRAMS += $(MBPTTESTS)
|
---|
50 |
|
---|
51 | MBPTLIBS = \
|
---|
52 | libSCkeyval.la \
|
---|
53 | libSCgroup.la libSCmbpt.la libSCclass.la \
|
---|
54 | libSCcontainer.la libSCref.la libSCmisc.la
|
---|
55 |
|
---|
56 | mbpttest_SOURCES = mbpttest.cc
|
---|
57 | mbpttest_LDADD = \
|
---|
58 | $(MBPTLIBS)
|
---|
59 |
|
---|