LIBSCDFTSOURCES = \ chemistry/qc/dft/clks.cc \ chemistry/qc/dft/functional.cc \ chemistry/qc/dft/hsosks.cc \ chemistry/qc/dft/integrator.cc \ chemistry/qc/dft/lebedev.c \ chemistry/qc/dft/tmplinst.cc \ chemistry/qc/dft/uks.cc LIBSCDFTHEADERS = \ chemistry/qc/dft/clks.h \ chemistry/qc/dft/clkstmpl.h \ chemistry/qc/dft/functional.h \ chemistry/qc/dft/hsosks.h \ chemistry/qc/dft/hsoskstmpl.h \ chemistry/qc/dft/integrator.h \ chemistry/qc/dft/linkage.h \ chemistry/qc/dft/uks.h \ chemistry/qc/dft/ukstmpl.h lib_LTLIBRARIES += noinst_LTLIBRARIES += libSCdft.la libSCdft_la_includedir = $(includedir)/chemistry/qc/dft libSCdft_la_CPPFLAGS = $(AM_CPPFLAGS) libSCdft_la_LDFLAGS = $(AM_LDFLAGS) libSCdft_la_LIBADD = nobase_libSCdft_la_include_HEADERS = ${LIBSCDFTHEADERS} ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la" ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and ## will therefore be treated as if it were literally part of the target name, ## and the variable name derived from that. ## The file extension .cc is recognized by Automake, and makes it produce ## rules which invoke the C++ compiler to produce a libtool object file (.lo) ## from each source file. Note that it is not necessary to list header files ## which are already listed elsewhere in a _HEADERS variable assignment. libSCdft_la_SOURCES = ${LIBSCDFTSOURCES} ## Instruct libtool to include ABI version information in the generated shared ## library file (.so). The library ABI version is defined in configure.ac, so ## that all version information is kept in one place. #libSCdft_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION) ## The generated configuration header is installed in its own subdirectory of ## $(libdir). The reason for this is that the configuration information put ## into this header file describes the target platform the installed library ## has been built for. Thus the file must not be installed into a location ## intended for architecture-independent files, as defined by the Filesystem ## Hierarchy Standard (FHS). ## The nodist_ prefix instructs Automake to not generate rules for including ## the listed files in the distribution on 'make dist'. Files that are listed ## in _HEADERS variables are normally included in the distribution, but the ## configuration header file is generated at configure time and should not be ## shipped with the source tarball. #libSCdft_libincludedir = $(libdir)/chemistry/qc/dft/include #nodist_libSCdft_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h DFTTESTS = \ dfttest \ lebedev TESTS += $(DFTTESTS) check_PROGRAMS += $(DFTTESTS) noinst_PROGRAMS += $(DFTTESTS) DFTLIBS = \ 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 dfttest_SOURCES = \ chemistry/qc/dft/dfttest.cc dfttest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/chemistry/qc/dft\" dfttest_LDADD = \ $(DFTLIBS) lebedev_SOURCES = \ chemistry/qc/dft/lebedev.c lebedev_CPPFLAGS = \ $(AM_CPPFLAGS) -DDEFINE_MAIN lebedev_LDADD = \ $(DFTLIBS) \ -lm EXTRA_DIST += ./chemistry/qc/dft/dfttest.in