[00f983] | 1 | LIBSCDFTSOURCES = \
|
---|
[23612c] | 2 | chemistry/qc/dft/clks.cc \
|
---|
| 3 | chemistry/qc/dft/functional.cc \
|
---|
| 4 | chemistry/qc/dft/hsosks.cc \
|
---|
| 5 | chemistry/qc/dft/integrator.cc \
|
---|
[251420] | 6 | chemistry/qc/dft/lebedev.c \
|
---|
[23612c] | 7 | chemistry/qc/dft/tmplinst.cc \
|
---|
| 8 | chemistry/qc/dft/uks.cc
|
---|
| 9 |
|
---|
[00f983] | 10 |
|
---|
| 11 | LIBSCDFTHEADERS = \
|
---|
[23612c] | 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 |
|
---|
[00f983] | 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 |
|
---|
[23612c] | 61 |
|
---|
[00f983] | 62 | DFTTESTS = \
|
---|
| 63 | dfttest \
|
---|
| 64 | lebedev
|
---|
| 65 |
|
---|
[1513599] | 66 | TESTS += $(DFTTESTS)
|
---|
[00f983] | 67 | check_PROGRAMS += $(DFTTESTS)
|
---|
| 68 | noinst_PROGRAMS += $(DFTTESTS)
|
---|
| 69 |
|
---|
| 70 | DFTLIBS = \
|
---|
[251420] | 71 | 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
|
---|
[00f983] | 72 |
|
---|
[23612c] | 73 | dfttest_SOURCES = \
|
---|
| 74 | chemistry/qc/dft/dfttest.cc
|
---|
[72461c] | 75 | dfttest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/chemistry/qc/dft\"
|
---|
[00f983] | 76 | dfttest_LDADD = \
|
---|
| 77 | $(DFTLIBS)
|
---|
| 78 |
|
---|
[23612c] | 79 | lebedev_SOURCES = \
|
---|
[251420] | 80 | chemistry/qc/dft/lebedev.c
|
---|
| 81 | lebedev_CPPFLAGS = \
|
---|
| 82 | $(AM_CPPFLAGS) -DDEFINE_MAIN
|
---|
[00f983] | 83 | lebedev_LDADD = \
|
---|
[251420] | 84 | $(DFTLIBS) \
|
---|
| 85 | -lm
|
---|
[00f983] | 86 |
|
---|
[72461c] | 87 | EXTRA_DIST += ./chemistry/qc/dft/dfttest.in
|
---|