LIBSCMOLECULESOURCES = \ atominfo.cc bend.cc cartcoor.cc coor.cc energy.cc fdhess.cc formula.cc hess.cc imcoor.cc linip.cc linop.cc molecule.cc molfreq.cc molrender.cc molshape.cc molsymm.cc out.cc redund.cc simple.cc stors.cc stre.cc symmcoor.cc taylor.cc tors.cc LIBSCMOLECULEHEADERS = \ atominfo.h coor.h energy.h fdhess.h formula.h hess.h linkage.h localdef.h molecule.h molfreq.h molrender.h molshape.h simple.h taylor.h lib_LTLIBRARIES += noinst_LTLIBRARIES += libSCmolecule.la libSCmolecule_la_includedir = $(includedir)/chemistry/molecule libSCmolecule_la_CPPFLAGS = $(AM_CPPFLAGS) libSCmolecule_la_LDFLAGS = $(AM_LDFLAGS) libSCmolecule_la_LIBADD = nobase_libSCmolecule_la_include_HEADERS = ${LIBSCMOLECULEHEADERS} ## 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. libSCmolecule_la_SOURCES = ${LIBSCMOLECULESOURCES} ## 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. #libSCmolecule_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. #libSCmolecule_libincludedir = $(libdir)/chemistry/molecule/include #nodist_libSCmolecule_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h MOLECULETESTS = \ moltest \ symmetrize check_PROGRAMS += $(MOLECULETESTS) noinst_PROGRAMS += $(MOLECULETESTS) MOLECULELIBS = \ libSCkeyval.la \ libSCgroup.la libSCmolecule.la libSCclass.la \ libSCcontainer.la libSCref.la libSCmisc.la moltest_SOURCES = moltest.cc moltest_LDADD = \ $(MOLECULELIBS) symmetrize_SOURCES = symmetrize.cc symmetrize_LDADD = \ $(MOLECULELIBS)