1 | LIBSCDFTSOURCES = \
|
---|
2 | chemistry/qc/dft/clks.cc \
|
---|
3 | chemistry/qc/dft/functional.cc \
|
---|
4 | chemistry/qc/dft/hsosks.cc \
|
---|
5 | chemistry/qc/dft/integrator.cc \
|
---|
6 | chemistry/qc/dft/lebedev.c \
|
---|
7 | chemistry/qc/dft/tmplinst.cc \
|
---|
8 | chemistry/qc/dft/uks.cc
|
---|
9 |
|
---|
10 |
|
---|
11 | LIBSCDFTHEADERS = \
|
---|
12 | chemistry/qc/dft/clks.h \
|
---|
13 | chemistry/qc/dft/clkstmpl.h \
|
---|
14 | chemistry/qc/dft/functional.h \
|
---|
15 | chemistry/qc/dft/hsosks.h \
|
---|
16 | chemistry/qc/dft/hsoskstmpl.h \
|
---|
17 | chemistry/qc/dft/integrator.h \
|
---|
18 | chemistry/qc/dft/linkage.h \
|
---|
19 | chemistry/qc/dft/uks.h \
|
---|
20 | chemistry/qc/dft/ukstmpl.h
|
---|
21 |
|
---|
22 |
|
---|
23 | lib_LTLIBRARIES +=
|
---|
24 | noinst_LTLIBRARIES += libSCdft.la
|
---|
25 | libSCdft_la_includedir = $(includedir)/chemistry/qc/dft
|
---|
26 | libSCdft_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
27 | libSCdft_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
28 | libSCdft_la_LIBADD =
|
---|
29 |
|
---|
30 | nobase_libSCdft_la_include_HEADERS = ${LIBSCDFTHEADERS}
|
---|
31 |
|
---|
32 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
33 | ## target. Note that @MPQC_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 | libSCdft_la_SOURCES = ${LIBSCDFTSOURCES}
|
---|
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 | #libSCdft_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_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 | #libSCdft_libincludedir = $(libdir)/chemistry/qc/dft/include
|
---|
59 | #nodist_libSCdft_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
60 |
|
---|
61 |
|
---|
62 | DFTTESTS = \
|
---|
63 | dfttest \
|
---|
64 | lebedev
|
---|
65 |
|
---|
66 | # ?dfttest crashes with mpi (also in original implementation)
|
---|
67 |
|
---|
68 | TESTS += $(DFTTESTS)
|
---|
69 | check_PROGRAMS += $(DFTTESTS)
|
---|
70 | noinst_PROGRAMS += $(DFTTESTS)
|
---|
71 |
|
---|
72 | DFTLIBS = \
|
---|
73 | libSCdft.la libSCscf.la libSCwfn.la libSCsolvent.la libSCintv3.la libSCbasis.la libSCoint3.la libSCmolecule.la libSCisosurf.la libSCoptimize.la libSCsymmetry.la libSCscmat.la libSCgroup.la libSCrender.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
|
---|
74 |
|
---|
75 | dfttest_SOURCES = \
|
---|
76 | chemistry/qc/dft/dfttest.cc
|
---|
77 | dfttest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/chemistry/qc/dft\"
|
---|
78 | dfttest_LDADD = \
|
---|
79 | $(DFTLIBS)
|
---|
80 |
|
---|
81 | lebedev_SOURCES = \
|
---|
82 | chemistry/qc/dft/lebedev.c
|
---|
83 | lebedev_CPPFLAGS = \
|
---|
84 | $(AM_CPPFLAGS) -DDEFINE_MAIN
|
---|
85 | lebedev_LDADD = \
|
---|
86 | $(DFTLIBS) \
|
---|
87 | -lm
|
---|
88 |
|
---|
89 | EXTRA_DIST += ./chemistry/qc/dft/dfttest.in
|
---|