Index: ThirdParty/mpqc_open/configure.ac
===================================================================
--- ThirdParty/mpqc_open/configure.ac	(revision a578a7a5f8f9d47d8a7216d7bdca3133b4e5e91a)
+++ ThirdParty/mpqc_open/configure.ac	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -1884,6 +1884,4 @@
         Makefile
 	src/lib/Makefile
-	src/lib/chemistry/Makefile
-	src/lib/chemistry/cca/Makefile
 	src/bin/mpqc/Makefile
 ])
Index: ThirdParty/mpqc_open/src/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/Makefile.am	(revision a578a7a5f8f9d47d8a7216d7bdca3133b4e5e91a)
+++ ThirdParty/mpqc_open/src/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -7,6 +7,6 @@
 	LIBHEADERS
 
-lib_LTLIBRARIES =
-noinst_LTLIBRARIES = libNAME.la
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libNAME.la
 libNAME_la_includedir = $(includedir)/PATHNAME
 libNAME_la_CPPFLAGS = $(AM_CPPFLAGS)
@@ -24,5 +24,5 @@
 ## from each source file.  Note that it is not necessary to list header files
 ## which are already listed elsewhere in a _HEADERS variable assignment.
-libNAME_la_SOURCES = ${LIBCAPITALNAMESOURCE}
+libNAME_la_SOURCES = ${LIBCAPITALNAMESOURCES}
 
 ## Instruct libtool to include ABI version information in the generated shared
@@ -45,2 +45,15 @@
 #nodist_libNAME_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
 
+NAMETESTS =
+
+check_PROGRAMS += $(NAMETESTS)
+noinst_PROGRAMS += $(NAMETESTS)
+
+NAMELIBS = \
+        libNAME.la
+
+#sometest_SOURCES = sometest.cc
+#sometest_LDADD = \
+        $(NAMELIBS)
+
+
Index: ThirdParty/mpqc_open/src/createMakefile.am.sh
===================================================================
--- ThirdParty/mpqc_open/src/createMakefile.am.sh	(revision a578a7a5f8f9d47d8a7216d7bdca3133b4e5e91a)
+++ ThirdParty/mpqc_open/src/createMakefile.am.sh	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-DIR=`pwd`; for dir in `find . -mindepth 1 -type d`; do if test ! -e ${dir}/Makefile.am; then cd $dir; SOURCES=`ls -1 *.cc *.c 2>/dev/null`; HEADERS=`ls -1 *.h *.hh 2>/dev/null`; if test ! -z "$SOURCES"; then SOURCES=`echo $SOURCES | sed -e "s#\(.*\)#\t\1#"`; HEADERS=`echo $HEADERS | sed -e "s#\(.*\)#\t\1#"`;NAME=`echo $dir | awk -F"/" '{print "mpqc_"$NF}'`; CAPITALNAME=`echo $NAME | tr [:lower:] [:upper:]`; PATHNAME=`echo $dir | awk -F"/" '{for (i=3;i<=NF;i++) { if (i>3) {printf("/");} printf("%s",$i) } }'`; sed -e "s#CAPITALNAME#$CAPITALNAME#g" -e "s#PATHNAME#$PATHNAME#g" -e "s#LIBSOURCES#${SOURCES}#" -e "s#LIBHEADERS#${HEADERS}#" -e "s#NAME#$NAME#g" $DIR/Makefile.am >Makefile.am; fi; cd $DIR; fi; done
+DIR=`pwd`; for dir in `find . -mindepth 1 -type d`; do if test ! -e ${dir}/Makefile.am; then cd $dir; SOURCES=`ls -1 *.cc *.c 2>/dev/null`; HEADERS=`ls -1 *.h *.hh 2>/dev/null`; if test ! -z "$SOURCES"; then SOURCES=`echo $SOURCES | sed -e "s#\(.*\)#\t\1#"`; HEADERS=`echo $HEADERS | sed -e "s#\(.*\)#\t\1#"`;NAME=`echo $dir | awk -F"/" '{print "SC"$NF}'`; CAPITALNAME=`echo $NAME | tr [:lower:] [:upper:]`; PATHNAME=`echo $dir | awk -F"/" '{for (i=3;i<=NF;i++) { if (i>3) {printf("/");} printf("%s",$i) } }'`; sed -e "s#CAPITALNAME#$CAPITALNAME#g" -e "s#PATHNAME#$PATHNAME#g" -e "s#LIBSOURCES#${SOURCES}#" -e "s#LIBHEADERS#${HEADERS}#" -e "s#NAME#$NAME#g" $DIR/Makefile.am >Makefile.am; fi; cd $DIR; fi; done
Index: ThirdParty/mpqc_open/src/lib/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/Makefile.am	(revision a578a7a5f8f9d47d8a7216d7bdca3133b4e5e91a)
+++ ThirdParty/mpqc_open/src/lib/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -1,1 +1,41 @@
-SUBDIRS = chemistry math util
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/lib
+
+MOSTLYCLEANFILES =
+lib_LTLIBRARIES =
+check_PROGRAMS =
+noinst_PROGRAMS =
+noinst_LTLIBRARIES =
+#pyexec_LTLIBRARIES =
+BUILT_SOURCES =
+bin_PROGRAMS =
+EXTRA_DIST =
+
+include chemistry/cca/Makefile.am
+include chemistry/molecule/Makefile.am
+include chemistry/qc/basis/Makefile.am
+include chemistry/qc/cints/Makefile.am
+include chemistry/qc/dft/Makefile.am
+include chemistry/qc/intcca/Makefile.am
+include chemistry/qc/intv3/Makefile.am
+include chemistry/qc/mbpt/Makefile.am
+include chemistry/qc/mbptr12/Makefile.am
+include chemistry/qc/oint3/Makefile.am
+include chemistry/qc/psi/Makefile.am
+include chemistry/qc/scf/Makefile.am
+include chemistry/qc/wfn/Makefile.am
+include chemistry/solvent/Makefile.am
+include math/isosurf/Makefile.am
+include math/optimize/Makefile.am
+include math/scmat/Makefile.am
+include math/symmetry/Makefile.am
+include util/class/Makefile.am
+include util/container/Makefile.am
+include util/group/Makefile.am
+include util/keyval/Makefile.am
+include util/misc/Makefile.am
+include util/options/Makefile.am
+include util/psi3/libpsio/Makefile.am
+include util/ref/Makefile.am
+include util/render/Makefile.am
+include util/state/Makefile.am
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/Makefile.am	(revision a578a7a5f8f9d47d8a7216d7bdca3133b4e5e91a)
+++ 	(revision )
@@ -1,1 +1,0 @@
-SUBDIRS = cca molecule qc solvent
Index: ThirdParty/mpqc_open/src/lib/chemistry/cca/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/cca/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/cca/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,44 @@
+LIBSCCCASOURCES = \
+		basis_cca_to_sc.cc except.cc MPQC_Chemistry_Molecule_Impl.cc MPQC_Chemistry_MoleculeViewer_Impl.cc MPQC_ChemistryOpt_CoordinateModel_Impl.cc MPQC_Chemistry_QC_ModelFactory_Impl.cc MPQC_Chemistry_QC_Model_Impl.cc MPQC_ComponentClassDescription_Impl.cc MPQC_ComponentFactory_Impl.cc MPQC_GaussianBasis_Atomic_Impl.cc MPQC_GaussianBasis_Molecular_Impl.cc MPQC_GaussianBasis_Shell_Impl.cc MPQC_IntegralEvaluator2_Impl.cc MPQC_IntegralEvaluator3_Impl.cc MPQC_IntegralEvaluator4_Impl.cc MPQC_IntegralEvaluatorFactory_Impl.cc MPQC_Physics_Units_Impl.cc MPQC_SimpleDriver_Impl.cc socket.cc
+
+LIBSCCCAHEADERS = \
+		ccaiter.h except.h LIBS.h MPQC_Chemistry_Molecule_Impl.hh MPQC_Chemistry_MoleculeViewer_Impl.hh MPQC_ChemistryOpt_CoordinateModel_Impl.hh MPQC_Chemistry_QC_ModelFactory_Impl.hh MPQC_Chemistry_QC_Model_Impl.hh MPQC_ComponentClassDescription_Impl.hh MPQC_ComponentFactory_Impl.hh MPQC_GaussianBasis_Atomic_Impl.hh MPQC_GaussianBasis_Molecular_Impl.hh MPQC_GaussianBasis_Shell_Impl.hh MPQC_IntegralEvaluator2_Impl.hh MPQC_IntegralEvaluator3_Impl.hh MPQC_IntegralEvaluator4_Impl.hh MPQC_IntegralEvaluatorFactory_Impl.hh MPQC_Physics_Units_Impl.hh MPQC_SimpleDriver_Impl.hh socket.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCcca.la
+libSCcca_la_includedir = $(includedir)/chemistry/cca
+libSCcca_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCcca_la_LDFLAGS = $(AM_LDFLAGS)
+libSCcca_la_LIBADD =
+
+nobase_libSCcca_la_include_HEADERS = ${LIBSCCCAHEADERS}
+
+## 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.
+libSCcca_la_SOURCES = ${LIBSCCCASOURCES}
+
+## 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.
+#libSCcca_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.
+#libSCcca_libincludedir = $(libdir)/chemistry/cca/include
+#nodist_libSCcca_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/molecule/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/molecule/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/molecule/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,63 @@
+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)
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,1 @@
+SUBDIRS = basis cints dft intcca intv3 mbpt mbptr12 oint3 psi scf wfn
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/basis/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/basis/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/basis/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,59 @@
+LIBSCBASISSOURCES = \
+		aotoso.cc cartiter.cc dercent.cc distshpair.cc extent.cc files.cc gaussbas.cc gaussbaval.cc gaussshell.cc gaussshval.cc gpetite.cc integral.cc obint.cc orthog.cc petite.cc shellrot.cc sobasis.cc sointegral.cc symmint.cc tbint.cc transform.cc
+
+LIBSCBASISHEADERS = \
+		basis.h cartiter.h dercent.h distshpair.h extent.h files.h gaussbas.h gaussshell.h gpetite.h integral.h obint.h orthog.h petite.h shellrot.h sobasis.h sointegral.h symmint.h tbint.h transform.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCbasis.la
+libSCbasis_la_includedir = $(includedir)/chemistry/qc/basis
+libSCbasis_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCbasis_la_LDFLAGS = $(AM_LDFLAGS)
+libSCbasis_la_LIBADD =
+
+nobase_libSCbasis_la_include_HEADERS = ${LIBSCBASISHEADERS}
+
+## 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.
+libSCbasis_la_SOURCES = ${LIBSCBASISSOURCES}
+
+## 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.
+#libSCbasis_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.
+#libSCbasis_libincludedir = $(libdir)/chemistry/qc/basis/include
+#nodist_libSCbasis_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+BASISTESTS = \
+        btest
+
+check_PROGRAMS += $(BASISTESTS)
+noinst_PROGRAMS += $(BASISTESTS)
+
+BASISLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCbasis.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+btest_SOURCES = btest.cc
+btest_LDADD = \
+        $(BASISLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/cints/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/cints/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/cints/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCCINTSSOURCES = \
+		cints.cc comp_eri.cc comp_grt.cc edipole.cc equadrupole.cc eri.cc fjt.cc grt.cc hcore.cc int1e.cc int2e.cc kinetic.cc nuclear.cc obintcints.cc obosrr.cc overlap.cc permute2e.cc primpairs.cc shellpairs.cc storage.cc tbintcints.cc tform.cc
+
+LIBSCCINTSHEADERS = \
+		cartit.h cints.h eri.h eri_quartet_data.h fjt.h grt.h grt_quartet_data.h int1e.h int2e.h linkage.h macros.h obintcints.h primpairs.h shellpairs.h static.h storage.h tbintcints.h tform.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCcints.la
+libSCcints_la_includedir = $(includedir)/chemistry/qc/cints
+libSCcints_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCcints_la_LDFLAGS = $(AM_LDFLAGS)
+libSCcints_la_LIBADD =
+
+nobase_libSCcints_la_include_HEADERS = ${LIBSCCINTSHEADERS}
+
+## 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.
+libSCcints_la_SOURCES = ${LIBSCCINTSSOURCES}
+
+## 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.
+#libSCcints_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.
+#libSCcints_libincludedir = $(libdir)/chemistry/qc/cints/include
+#nodist_libSCcints_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+CINTSTESTS = \
+        cintstest
+
+check_PROGRAMS += $(CINTSTESTS)
+noinst_PROGRAMS += $(CINTSTESTS)
+
+CINTSLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCcints.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+cintstest_SOURCES = cintstest.cc
+cintstest_LDADD = \
+        $(CINTSLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/dft/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/dft/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/dft/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,64 @@
+LIBSCDFTSOURCES = \
+		clks.cc functional.cc hsosks.cc integrator.cc tmplinst.cc uks.cc
+
+LIBSCDFTHEADERS = \
+		clks.h clkstmpl.h functional.h hsosks.h hsoskstmpl.h integrator.h linkage.h uks.h 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
+
+check_PROGRAMS += $(DFTTESTS)
+noinst_PROGRAMS += $(DFTTESTS)
+
+DFTLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCdft.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+dfttest_SOURCES = dfttest.cc
+dfttest_LDADD = \
+        $(DFTLIBS)
+
+lebedev_SOURCES = lebedev.cc
+lebedev_LDADD = \
+        $(DFTLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/intcca/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/intcca/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/intcca/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,44 @@
+LIBSCINTCCASOURCES = \
+		int1e.cc int2e.cc intcca.cc obintcca.cc tbintcca.cc
+
+LIBSCINTCCAHEADERS = \
+		cartit.h int1e.h int2e.h intcca.h LIBS.h linkage.h macros.h obintcca.h tbintcca.h tform.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCintcca.la
+libSCintcca_la_includedir = $(includedir)/chemistry/qc/intcca
+libSCintcca_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCintcca_la_LDFLAGS = $(AM_LDFLAGS)
+libSCintcca_la_LIBADD =
+
+nobase_libSCintcca_la_include_HEADERS = ${LIBSCINTCCAHEADERS}
+
+## 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.
+libSCintcca_la_SOURCES = ${LIBSCINTCCASOURCES}
+
+## 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.
+#libSCintcca_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.
+#libSCintcca_libincludedir = $(libdir)/chemistry/qc/intcca/include
+#nodist_libSCintcca_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/intv3/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/intv3/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/intv3/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,64 @@
+LIBSCINTV3SOURCES = \
+		array.cc atominfo.cc bounds.cc build2e.cc comp1e.cc comp2e3c.cc comp2e.cc fjt.cc init2e.cc int1e.cc int2e.cc intv3.cc obintv3.cc offsets.cc print2e.cc shift2e.cc storage.cc store.cc tbintv3.cc tformv3.cc
+
+LIBSCINTV3HEADERS = \
+		array.h cartitv3.h fjt.h flags.h int1e.h int2e.h intv3.h macros.h obintv3.h storage.h tbintv3.h tformv3.h types.h utils.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCintv3.la
+libSCintv3_la_includedir = $(includedir)/chemistry/qc/intv3
+libSCintv3_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCintv3_la_LDFLAGS = $(AM_LDFLAGS)
+libSCintv3_la_LIBADD =
+
+nobase_libSCintv3_la_include_HEADERS = ${LIBSCINTV3HEADERS}
+
+## 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.
+libSCintv3_la_SOURCES = ${LIBSCINTV3SOURCES}
+
+## 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.
+#libSCintv3_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.
+#libSCintv3_libincludedir = $(libdir)/chemistry/qc/intv3/include
+#nodist_libSCintv3_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+INTV3TESTS = \
+	fjttest \
+	inttest
+
+check_PROGRAMS += $(INTV3TESTS)
+noinst_PROGRAMS += $(INTV3TESTS)
+
+INTV3LIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCintv3.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+fjttest_SOURCES = fjttest.cc
+fjttest_LDADD = \
+        $(INTV3LIBS)
+
+inttest_SOURCES = inttest.cc
+inttest_LDADD = \
+        $(INTV3LIBS)
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/mbpt/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/mbpt/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/mbpt/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,59 @@
+LIBSCMBPTSOURCES = \
+		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
+
+LIBSCMBPTHEADERS = \
+		bzerofast.h csgrad34qb.h csgrade12.h csgrads2pdm.h hsosv1e1.h linkage.h mbpt.h mp2extrap.h util.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCmbpt.la
+libSCmbpt_la_includedir = $(includedir)/chemistry/qc/mbpt
+libSCmbpt_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCmbpt_la_LDFLAGS = $(AM_LDFLAGS)
+libSCmbpt_la_LIBADD =
+
+nobase_libSCmbpt_la_include_HEADERS = ${LIBSCMBPTHEADERS}
+
+## 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.
+libSCmbpt_la_SOURCES = ${LIBSCMBPTSOURCES}
+
+## 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.
+#libSCmbpt_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.
+#libSCmbpt_libincludedir = $(libdir)/chemistry/qc/mbpt/include
+#nodist_libSCmbpt_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+MBPTTESTS = \
+	mbpttest
+
+check_PROGRAMS += $(MBPTTESTS)
+noinst_PROGRAMS += $(MBPTTESTS)
+
+MBPTLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCmbpt.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+mbpttest_SOURCES = mbpttest.cc
+mbpttest_LDADD = \
+        $(MBPTLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/mbptr12/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/mbptr12/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/mbptr12/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCMBPTR12SOURCES = \
+		compute_a_gebc_abs1.cc compute_a_gebc.cc compute_a_gebc_vbs.cc compute_amps.cc compute_energy_a.cc compute_ijxy.cc compute_ikjy.cc compute_ixjy.cc compute_vxb_a_asymm.cc compute_vxb_a_symm.cc coulomb.cc dualbasis_mp2.cc ebc_contribs.cc exchange.cc fock.cc gbc_contribs.cc mbptr12.cc moindexspace.cc mp2r12_energy.cc multipole_ints.cc pairiter.cc r12_amps.cc r12ia.cc r12ia_memgrp.cc r12ia_mpiiofile.cc r12ia_node0file.cc r12int_eval.cc ri_basis.cc svd.cc transform_123inds.cc transform_12inds.cc transform_13inds.cc transform_factory.cc transform_ijxy.cc transform_ikjy.cc transform_ixjy.cc transform_tbint.cc twobodygrid.cc vxb_eval_info.cc
+
+LIBSCMBPTR12HEADERS = \
+		blas.h lapack.h linearr12.h linkage.h mbptr12.h moindexspace.h mp2r12_energy.h pairiter.h print_scmat_norms.h r12_amps.h r12ia.h r12ia_memgrp.h r12ia_mpiiofile.h r12ia_node0file.h r12int_eval.h svd.h transform_123inds.h transform_12inds.h transform_13inds.h transform_factory.h transform_ijxy.h transform_ikjy.h transform_ixjy.h transform_tbint.h twobodygrid.h vxb_eval_info.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCmbptr12.la
+libSCmbptr12_la_includedir = $(includedir)/chemistry/qc/mbptr12
+libSCmbptr12_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCmbptr12_la_LDFLAGS = $(AM_LDFLAGS)
+libSCmbptr12_la_LIBADD =
+
+nobase_libSCmbptr12_la_include_HEADERS = ${LIBSCMBPTR12HEADERS}
+
+## 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.
+libSCmbptr12_la_SOURCES = ${LIBSCMBPTR12SOURCES}
+
+## 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.
+#libSCmbptr12_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.
+#libSCmbptr12_libincludedir = $(libdir)/chemistry/qc/mbptr12/include
+#nodist_libSCmbptr12_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+MBPTR12TESTS = \
+        mbptr12test
+
+check_PROGRAMS += $(MBPTR12TESTS)
+noinst_PROGRAMS += $(MBPTR12TESTS)
+
+MBPTR12LIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCmbptr12.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+mbptr12test_SOURCES = mbptr12test.cc
+mbptr12test_LDADD = \
+        $(MBPTR12LIBS)
+
+ 
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/oint3/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/oint3/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/oint3/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,44 @@
+LIBSCOINT3SOURCES = \
+		build.cc i0100AB.cc i0100.cc i0101AB.cc i0101.cc i0111AB.cc i0111.cc i0200AB.cc i0200.cc i0201AB.cc i0201.cc i0202AB.cc i0202.cc i0211AB.cc i0211.cc i0212AB.cc i0212.cc i0222AB.cc i0222.cc i0300AB.cc i0300.cc i0301AB.cc i0301.cc i0302AB.cc i0302.cc i0303AB.cc i0303.cc i0311AB.cc i0311.cc i0312AB.cc i0312.cc i0313AB.cc i0313.cc i0322AB.cc i0322.cc i0323AB.cc i0323.cc i0333AB.cc i0333.cc i1100AB.cc i1100.cc i1111AB.cc i1111.cc i1200AB.cc i1200.cc i1201AB.cc i1201.cc i1211AB.cc i1211.cc i1212AB.cc i1212.cc i1222AB.cc i1222.cc i1300AB.cc i1300.cc i1301AB.cc i1301.cc i1302AB.cc i1302.cc i1311AB.cc i1311.cc i1312AB.cc i1312.cc i1313AB.cc i1313.cc i1322AB.cc i1322.cc i1323AB.cc i1323.cc i1333AB.cc i1333.cc i2200AB.cc i2200.cc i2201AB.cc i2201.cc i2211AB.cc i2211.cc i2222AB.cc i2222.cc i2300AB.cc i2300.cc i2301AB.cc i2301.cc i2302AB.cc i2302.cc i2311AB.cc i2311.cc i2312AB.cc i2312.cc i2322AB.cc i2322.cc i2323AB.cc i2323.cc i2333AB.cc i2333.cc i3300AB.cc i3300.cc i3301AB.cc i3301.cc i3302AB.cc i3302.cc i3311AB.cc i3311.cc i3312AB.cc i3312.cc i3322AB.cc i3322.cc i3333AB.cc i3333.cc
+
+LIBSCOINT3HEADERS = \
+		build.h LIBS.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCoint3.la
+libSCoint3_la_includedir = $(includedir)/chemistry/qc/oint3
+libSCoint3_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCoint3_la_LDFLAGS = $(AM_LDFLAGS)
+libSCoint3_la_LIBADD =
+
+nobase_libSCoint3_la_include_HEADERS = ${LIBSCOINT3HEADERS}
+
+## 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.
+libSCoint3_la_SOURCES = ${LIBSCOINT3SOURCES}
+
+## 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.
+#libSCoint3_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.
+#libSCoint3_libincludedir = $(libdir)/chemistry/qc/oint3/include
+#nodist_libSCoint3_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/psi/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/psi/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/psi/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCPSISOURCES = \
+		psiexenv.cc psifile11.cc psiinput.cc psiwfn.cc
+
+LIBSCPSIHEADERS = \
+		linkage.h psiexenv.h psifile11.h psiinput.h psiwfn.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCpsi.la
+libSCpsi_la_includedir = $(includedir)/chemistry/qc/psi
+libSCpsi_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCpsi_la_LDFLAGS = $(AM_LDFLAGS)
+libSCpsi_la_LIBADD =
+
+nobase_libSCpsi_la_include_HEADERS = ${LIBSCPSIHEADERS}
+
+## 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.
+libSCpsi_la_SOURCES = ${LIBSCPSISOURCES}
+
+## 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.
+#libSCpsi_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.
+#libSCpsi_libincludedir = $(libdir)/chemistry/qc/psi/include
+#nodist_libSCpsi_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+PSITESTS = \
+        psitest
+
+check_PROGRAMS += $(PSITESTS)
+noinst_PROGRAMS += $(PSITESTS)
+
+PSILIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCpsi.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+psitest_SOURCES = psitest.cc
+psitest_LDADD = \
+        $(PSILIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/scf/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/scf/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/scf/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCSCFSOURCES = \
+		clhf.cc clscf.cc effh.cc hsoshf.cc hsosscf.cc osshf.cc ossscf.cc scf.cc scfgradient.cc scfops.cc scfvector.cc svd.cc tchf.cc tcscf.cc tmplinst.cc uhf.cc uscf.cc
+
+LIBSCSCFHEADERS = \
+		clhf.h clhftmpl.h clscf.h effh.h gbuild.h hsoshf.h hsoshftmpl.h hsosscf.h lbgbuild.h lgbuild.h linkage.h ltbgrad.h osshf.h osshftmpl.h ossscf.h scf.h scflocal.h scfops.h tbgrad.h tchf.h tchftmpl.h tcscf.h uhf.h uhftmpl.h uscf.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCscf.la
+libSCscf_la_includedir = $(includedir)/chemistry/qc/scf
+libSCscf_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCscf_la_LDFLAGS = $(AM_LDFLAGS)
+libSCscf_la_LIBADD =
+
+nobase_libSCscf_la_include_HEADERS = ${LIBSCSCFHEADERS}
+
+## 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.
+libSCscf_la_SOURCES = ${LIBSCSCFSOURCES}
+
+## 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.
+#libSCscf_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.
+#libSCscf_libincludedir = $(libdir)/chemistry/qc/scf/include
+#nodist_libSCscf_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+SCFTESTS = \
+        scftest
+
+check_PROGRAMS += $(SCFTESTS)
+noinst_PROGRAMS += $(SCFTESTS)
+
+SCFLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCscf.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+scftest_SOURCES = scftest.cc
+scftest_LDADD = \
+        $(SCFLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/qc/wfn/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/qc/wfn/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/qc/wfn/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,59 @@
+LIBSCWFNSOURCES = \
+		accum.cc density.cc densval.cc eht.cc hcorewfn.cc nao.cc natorbval.cc obwfn.cc orbital.cc solvent.cc wfn.cc
+
+LIBSCWFNHEADERS = \
+		accum.h density.h eht.h linkage.h obwfn.h orbital.h solvent.h wfn.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCwfn.la
+libSCwfn_la_includedir = $(includedir)/chemistry/qc/wfn
+libSCwfn_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCwfn_la_LDFLAGS = $(AM_LDFLAGS)
+libSCwfn_la_LIBADD =
+
+nobase_libSCwfn_la_include_HEADERS = ${LIBSCWFNHEADERS}
+
+## 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.
+libSCwfn_la_SOURCES = ${LIBSCWFNSOURCES}
+
+## 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.
+#libSCwfn_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.
+#libSCwfn_libincludedir = $(libdir)/chemistry/qc/wfn/include
+#nodist_libSCwfn_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+WFNTESTS = \
+        wfntest
+
+check_PROGRAMS += $(WFNTESTS)
+noinst_PROGRAMS += $(WFNTESTS)
+
+WFNLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCwfn.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+wfntest_SOURCES = wfntest.cc
+wfntest_LDADD = \
+        $(WFNLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/chemistry/solvent/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/chemistry/solvent/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/chemistry/solvent/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCSOLVENTSOURCES = \
+		bem.cc disprep.cc
+
+LIBSCSOLVENTHEADERS = \
+		bem.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCsolvent.la
+libSCsolvent_la_includedir = $(includedir)/chemistry/solvent
+libSCsolvent_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCsolvent_la_LDFLAGS = $(AM_LDFLAGS)
+libSCsolvent_la_LIBADD =
+
+nobase_libSCsolvent_la_include_HEADERS = ${LIBSCSOLVENTHEADERS}
+
+## 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.
+libSCsolvent_la_SOURCES = ${LIBSCSOLVENTSOURCES}
+
+## 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.
+#libSCsolvent_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.
+#libSCsolvent_libincludedir = $(libdir)/chemistry/solvent/include
+#nodist_libSCsolvent_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+SOLVENTTESTS = \
+        bemtest
+
+check_PROGRAMS += $(SOLVENTTESTS)
+noinst_PROGRAMS += $(SOLVENTTESTS)
+
+SOLVENTLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCwfn.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+bemtest_SOURCES = bemtest.cc
+bemtest_LDADD = \
+        $(SOLVENTLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/math/isosurf/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/math/isosurf/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/math/isosurf/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,65 @@
+LIBSCISOSURFSOURCES = \
+		edge.cc implicit.c isosurf.cc shape.cc surf.cc surfor.cc surfse.cc surfst.cc triangle.cc tricoef.cc vertex.cc volume.cc volume_i.cc
+
+LIBSCISOSURFHEADERS = \
+		edge.h implicit.h isosurf.h shape.h surf.h triangle.h tricoef.h vertex.h volume.h volume_i.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCisosurf.la
+libSCisosurf_la_includedir = $(includedir)/math/isosurf
+libSCisosurf_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCisosurf_la_LDFLAGS = $(AM_LDFLAGS)
+libSCisosurf_la_LIBADD =
+
+nobase_libSCisosurf_la_include_HEADERS = ${LIBSCISOSURFHEADERS}
+
+## 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.
+libSCisosurf_la_SOURCES = ${LIBSCISOSURFSOURCES}
+
+## 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.
+#libSCisosurf_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.
+#libSCisosurf_libincludedir = $(libdir)/math/isosurf/include
+#nodist_libSCisosurf_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+ISOSURFTESTS = \
+	tmplinst \
+	isotest
+
+check_PROGRAMS += $(ISOSURFTESTS)
+noinst_PROGRAMS += $(ISOSURFTESTS)
+
+ISOSURFLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCisosurf.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+tmplinst_SOURCES = tmplinst.cc
+tmplinst_LDADD = \
+        $(ISOSURFLIBS)
+
+isotest_SOURCES = isotest.cc
+isotest_LDADD = \
+        $(ISOSURFLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/math/optimize/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/math/optimize/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/math/optimize/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,69 @@
+LIBSCOPTIMIZESOURCES = \
+		conv.cc dfp.cc diis.cc efc.cc function.cc gdiis.cc mcsearch.cc newton.cc opt.cc powell.cc qnewton.cc scextrap.cc scextrapmat.cc steep.cc transform.cc update.cc
+
+LIBSCOPTIMIZEHEADERS = \
+		conv.h diis.h efc.h function.h gdiis.h linkage.h mcsearch.h newton.h opt.h qnewton.h scextrap.h scextrapmat.h steep.h transform.h update.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCoptimize.la
+libSCoptimize_la_includedir = $(includedir)/math/optimize
+libSCoptimize_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCoptimize_la_LDFLAGS = $(AM_LDFLAGS)
+libSCoptimize_la_LIBADD =
+
+nobase_libSCoptimize_la_include_HEADERS = ${LIBSCOPTIMIZEHEADERS}
+
+## 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.
+libSCoptimize_la_SOURCES = ${LIBSCOPTIMIZESOURCES}
+
+## 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.
+#libSCoptimize_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.
+#libSCoptimize_libincludedir = $(libdir)/math/optimize/include
+#nodist_libSCoptimize_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+OPTIMIZETESTS = \
+	opttest \
+	scextest_optimize \
+	kvopt
+
+check_PROGRAMS += $(OPTIMIZETESTS)
+noinst_PROGRAMS += $(OPTIMIZETESTS)
+
+OPTIMIZELIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCoptimize.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+opttest_SOURCES = opttest.cc
+opttest_LDADD = \
+        $(OPTIMIZELIBS)
+
+scextest_optimize_SOURCES = scextest.cc
+scextest_optimize_LDADD = \
+        $(OPTIMIZELIBS)
+
+kvopt_SOURCES = kvopt.cc
+kvopt_LDADD = \
+        $(OPTIMIZELIBS)
+
Index: ThirdParty/mpqc_open/src/lib/math/scmat/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/math/scmat/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/math/scmat/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,74 @@
+LIBSCSCMATSOURCES = \
+		abstract.cc blkiter.cc block.cc blocked.cc blockeddiag.cc blockedrect.cc blockedsymm.cc blockedvect.cc cmatrix.c dim.cc dist.cc distdiag.cc disthql.cc distrect.cc distsymm.cc distvect.cc elemop.cc local.cc localdiag.cc localrect.cc localsymm.cc localvect.cc matrix3.cc matrix.cc matrix_i.cc repl.cc repldiag.cc replrect.cc replsymm.cc replvect.cc result.cc svd.c util.cc vector3.cc vector3_i.cc
+
+LIBSCSCMATHEADERS = \
+		abstract.h blkiter.h blocked.h block.h cmatrix.h dim.h dist.h disthql.h elemop.h linkage.h local.h matrix3.h matrix.h matrix_i.h mops.h offset.h repl.h result.h util.h vector3.h vector3_i.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCscmat.la
+libSCscmat_la_includedir = $(includedir)/math/scmat
+libSCscmat_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCscmat_la_LDFLAGS = $(AM_LDFLAGS)
+libSCscmat_la_LIBADD =
+
+nobase_libSCscmat_la_include_HEADERS = ${LIBSCSCMATHEADERS}
+
+## 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.
+libSCscmat_la_SOURCES = ${LIBSCSCMATSOURCES}
+
+## 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.
+#libSCscmat_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.
+#libSCscmat_libincludedir = $(libdir)/math/scmat/include
+#nodist_libSCscmat_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+SCMATTESTS = \
+	localtest \
+	repltest \
+	disttest \
+	blockedtest
+	
+check_PROGRAMS += $(SCMATTESTS)
+noinst_PROGRAMS += $(SCMATTESTS)
+
+SCMATLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCscmat.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+localtest_SOURCES = localtest.cc
+localtest_LDADD = \
+        $(SCMATLIBS)
+
+repltest_SOURCES = repltest.cc
+repltest_LDADD = \
+        $(SCMATLIBS)
+
+disttest_SOURCES = disttest.cc
+disttest_LDADD = \
+        $(SCMATLIBS)
+
+blockedtest_SOURCES = blockedtest.cc
+blockedtest_LDADD = \
+        $(SCMATLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/math/symmetry/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/math/symmetry/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/math/symmetry/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,58 @@
+LIBSCSYMMETRYSOURCES = \
+		chartab.cc corrtab.cc ico.cc irrep.cc maketab.cc pointgrp.cc rep.cc symop.cc tetra.cc
+
+LIBSCSYMMETRYHEADERS = \
+		corrtab.h pointgrp.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCsymmetry.la
+libSCsymmetry_la_includedir = $(includedir)/math/symmetry
+libSCsymmetry_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCsymmetry_la_LDFLAGS = $(AM_LDFLAGS)
+libSCsymmetry_la_LIBADD =
+
+nobase_libSCsymmetry_la_include_HEADERS = ${LIBSCSYMMETRYHEADERS}
+
+## 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.
+libSCsymmetry_la_SOURCES = ${LIBSCSYMMETRYSOURCES}
+
+## 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.
+#libSCsymmetry_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.
+#libSCsymmetry_libincludedir = $(libdir)/math/symmetry/include
+#nodist_libSCsymmetry_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+SYMMETRYTESTS = \
+	testpg
+        
+check_PROGRAMS += $(SYMMETRYTESTS)
+noinst_PROGRAMS += $(SYMMETRYTESTS)
+
+SYMMETRYLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCsymmetry.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+testpg_SOURCES = testpg.cc
+testpg_LDADD = \
+	$(SYMMETRYLIBS)
Index: ThirdParty/mpqc_open/src/lib/util/class/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/class/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/class/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCCLASSSOURCES = \
+		class.cc scexception.cc
+
+LIBSCCLASSHEADERS = \
+		class.h proxy.h scexception.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCclass.la
+libSCclass_la_includedir = $(includedir)/util/class
+libSCclass_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCclass_la_LDFLAGS = $(AM_LDFLAGS)
+libSCclass_la_LIBADD =
+
+nobase_libSCclass_la_include_HEADERS = ${LIBSCCLASSHEADERS}
+
+## 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.
+libSCclass_la_SOURCES = ${LIBSCCLASSSOURCES}
+
+## 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.
+#libSCclass_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.
+#libSCclass_libincludedir = $(libdir)/util/class/include
+#nodist_libSCclass_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+CLASSTESTS = \
+	classtest \
+	scextest_class
+
+check_PROGRAMS += $(CLASSTESTS)
+noinst_PROGRAMS += $(CLASSTESTS)
+
+CLASSLIBS = \
+	libSCclass.la libSCcontainer.la libSCref.la libSCmisc.la libSCstate.la libSCkeyval.la
+
+classtest_SOURCES = class.cc class.h classtest.cc 
+classtest_LDADD = $(CLASSLIBS)
+
+scextest_class_SOURCES = scextest.cc
+scextest_class_LDADD = $(CLASSLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/util/container/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/container/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/container/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,55 @@
+LIBSCCONTAINERSOURCES = \
+		avl.cc bitarray.cc carray.cc
+
+LIBSCCONTAINERHEADERS = \
+		avlmap.h avlset.h bitarray.h carray.h compare.h eavlmmap.h LIBS.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCcontainer.la
+libSCcontainer_la_includedir = $(includedir)/util/container
+libSCcontainer_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCcontainer_la_LDFLAGS = $(AM_LDFLAGS)
+libSCcontainer_la_LIBADD =
+
+nobase_libSCcontainer_la_include_HEADERS = ${LIBSCCONTAINERHEADERS}
+
+## 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.
+libSCcontainer_la_SOURCES = ${LIBSCCONTAINERSOURCES}
+
+## 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.
+#libSCcontainer_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.
+#libSCcontainer_libincludedir = $(libdir)/util/container/include
+#nodist_libSCcontainer_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+CONTAINERTESTS = \
+	avltest
+
+check_PROGRAMS += $(CONTAINERTESTS)
+noinst_PROGRAMS += $(CONTAINERTESTS)
+
+CONTAINERLIBS = \
+	libSCmisc.la libSCkeyval.la libSCstate.la libSCclass.la libSCref.la libSCcontainer.la
+
+avltest_SOURCES = avltest.cc 
+avltest_LDADD = $(CONTAINERLIBS)
Index: ThirdParty/mpqc_open/src/lib/util/group/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/group/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/group/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,119 @@
+LIBSCGROUPSOURCES = \
+	message.cc messimpl.cc messproc.cc messint.cc \
+	reduce.cc topology.cc hcube.cc \
+	rnglock.cc memory.cc memmsg.cc pool.cc \
+	memamsg.cc memproc.cc \
+	pregtime.cc thread.cc memiter.cc memrdma.cc
+
+# file.cc fileproc.cc globcnt.cc hcube.cc memamsg.cc memarmci.cc memiter.cc memmsg.cc memmtmpi.cc memory.cc memproc.cc memrdma.cc memshm.cc message.cc messimpl.cc messint.cc messmpi.cc messproc.cc messshm.cc mstate.cc pool.cc pregtime.cc reduce.cc rnglock.cc thpthd.cc thpuma.cc thread.cc topology.cc
+
+LIBSCGROUPHEADERS = \
+	message.h \
+	topology.h hcube.h \
+	rnglock.h memory.h memmsg.h pool.h \
+	memamsg.h memproc.h \
+	pregtime.h thread.h memiter.h memrdma.h
+
+		
+# file.h fileproc.h globcnt.h hcube.h LIBS.h linkage.h memamsg.h memarmci.h memiter.h memmsg.h memmtmpi.h memory.h memproc.h memrdma.h memshm.h message.h messaget.h messmpi.h messshm.h mstate.h pool.h pregtime.h rnglock.h thpthd.h thpuma.h thread.h topology.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCgroup.la
+libSCgroup_la_includedir = $(includedir)/util/group
+libSCgroup_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCgroup_la_LDFLAGS = $(AM_LDFLAGS)
+libSCgroup_la_LIBADD =
+
+nobase_libSCgroup_la_include_HEADERS = ${LIBSCGROUPHEADERS}
+
+## 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.
+libSCgroup_la_SOURCES = ${LIBSCGROUPSOURCES}
+
+## 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.
+#libSCgroup_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.
+#libSCgroup_libincludedir = $(libdir)/util/group/include
+#nodist_libSCgroup_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+GROUPTESTS = \
+	memtest \
+	messtest \
+	pooltest \
+	prttest \
+	rnglocktest \
+	thrtest
+
+check_PROGRAMS += $(GROUPTESTS)
+noinst_PROGRAMS += $(GROUPTESTS)
+
+GROUPLIBS = \
+	libSCgroup.la \
+	libSCkeyval.la \
+	libSCmisc.la \
+	libSCstate.la \
+	libSCclass.la \
+	libSCcontainer.la \
+	libSCref.la
+
+memtest_SOURCES = memtest.cc
+memtest_LDADD = \
+	libSCgroup.la \
+	libSCkeyval.la \
+	libSCmisc.la \
+	libSCstate.la \
+	libSCclass.la \
+	libSCcontainer.la \
+	libSCref.la
+
+messtest_SOURCES = messtest.cc
+messtest_LDADD = \
+	libSCgroup.la \
+	libSCkeyval.la \
+	libSCmisc.la \
+	libSCstate.la \
+	libSCclass.la \
+	libSCcontainer.la \
+	libSCref.la
+
+pooltest_SOURCES = pooltest.cc
+pooltest_LDADD = \
+	$(GROUPLIBS)
+
+prttest_SOURCES = prttest.cc
+prttest_LDADD = \
+	$(GROUPLIBS)
+
+rnglocktest_SOURCES = rnglocktest.cc
+rnglocktest_LDADD = \
+	libSCmisc.la libSCgroup.la
+
+thrtest_SOURCES = thrtest.cc
+thrtest_LDADD = \
+	libSCgroup.la \
+	libSCkeyval.la \
+	libSCmisc.la \
+	libSCstate.la \
+	libSCclass.la \
+	libSCcontainer.la \
+	libSCref.la
+
Index: ThirdParty/mpqc_open/src/lib/util/keyval/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/keyval/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/keyval/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,64 @@
+LIBSCKEYVALSOURCES = \
+		ipv2_alloc.cc ipv2.cc ipv2_cwk.cc ipv2_data.cc ipv2_error.cc ipv2_karray.cc ipv2_parse.cc ipv2_print.cc ipv2_read.cc ipv2_scan.cc keyvalagg.cc keyvalass.cc keyval.cc keyvalipv2.cc keyvalpre.cc keyvalstr.cc keyvalval.cc
+
+LIBSCKEYVALHEADERS = \
+		ipv2.h ipv2_parse.h ipv2_scan.h keyval.h keyvalval.h LIBS.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCkeyval.la
+libSCkeyval_la_includedir = $(includedir)/util/keyval
+libSCkeyval_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCkeyval_la_LDFLAGS = $(AM_LDFLAGS)
+libSCkeyval_la_LIBADD =
+
+nobase_libSCkeyval_la_include_HEADERS = ${LIBSCKEYVALHEADERS}
+
+## 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.
+libSCkeyval_la_SOURCES = ${LIBSCKEYVALSOURCES}
+
+## 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.
+#libSCkeyval_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.
+#libSCkeyval_libincludedir = $(libdir)/util/keyval/include
+#nodist_libSCkeyval_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+KEYVALTESTS = \
+	keyvaltest
+
+check_PROGRAMS += $(KEYVALTESTS)
+noinst_PROGRAMS += $(KEYVALTESTS)
+
+KEYVALLIBS = \
+	libSCkeyval.la \
+	libSCcontainer.la \
+	libSCmisc.la \
+	libSCgroup.la \
+	libSCclass.la \
+	libSCstate.la \
+	libSCref.la
+
+keyvaltest_SOURCES = keyvaltest.cc
+keyvaltest_LDADD = \
+	$(KEYVALLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/util/misc/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/misc/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/misc/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,93 @@
+LIBSCMISCSOURCES = \
+		bug.cc compute.cc exenv.cc formio.cc ieee.cc regtime.cc units.cc
+# ccaenv.cc
+
+LIBSCMISCHEADERS = \
+		timer.h compute.h ieee.h bug.h exenv.h
+#		autovec.h bug.h ccaenv.h comptmpl.h compute.h exenv.h formio.h ieee.h LIBS.h math.h newstring.h regtime.h scint.h string.h timer.h units.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCmisc.la
+libSCmisc_la_includedir = $(includedir)/util/misc
+libSCmisc_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCmisc_la_LDFLAGS = $(AM_LDFLAGS)
+libSCmisc_la_LIBADD =
+
+nobase_libSCmisc_la_include_HEADERS = ${LIBSCMISCHEADERS}
+
+## 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.
+libSCmisc_la_SOURCES = ${LIBSCMISCSOURCES}
+
+## 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.
+#libSCmisc_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.
+#libSCmisc_libincludedir = $(libdir)/util/misc/include
+#nodist_libSCmisc_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+MISCTESTS = \
+	autovectest \
+	comptest \
+	tregtime \
+	scinttest \
+	bugtest \
+	scextest_misc \
+	unittest \
+	formiot
+
+check_PROGRAMS += $(MISCTESTS)
+noinst_PROGRAMS += $(MISCTESTS)
+
+MISCLIBS =
+
+autovectest_SOURCES = autovectest.cc
+autovectest_LDADD = \
+        $(MISCLIBS)
+
+comptest_SOURCES = comptest.cc
+comptest_LDADD = \
+        $(MISCLIBS)
+
+tregtime_SOURCES = tregtime.cc
+tregtime_LDADD = \
+        $(MISCLIBS)
+
+scinttest_SOURCES = scinttest.cc
+scinttest_LDADD = \
+        $(MISCLIBS)
+
+bugtest_SOURCES = bugtest.cc
+bugtest_LDADD = \
+        $(MISCLIBS)
+
+scextest_misc_SOURCES = scextest.cc
+scextest_misc_LDADD = \
+        $(MISCLIBS)
+
+unittest_SOURCES = unittest.cc
+unittest_LDADD = \
+        $(MISCLIBS)
+
+formiot_SOURCES = formiot.cc
+formiot_LDADD = \
+        $(MISCLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/util/options/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/options/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/options/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,58 @@
+LIBSCOPTIONSSOURCES = \
+		GetLongOpt.cc
+
+LIBSCOPTIONSHEADERS = \
+		GetLongOpt.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCoptions.la
+libSCoptions_la_includedir = $(includedir)/util/options
+libSCoptions_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCoptions_la_LDFLAGS = $(AM_LDFLAGS)
+libSCoptions_la_LIBADD =
+
+nobase_libSCoptions_la_include_HEADERS = ${LIBSCOPTIONSHEADERS}
+
+## 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.
+libSCoptions_la_SOURCES = ${LIBSCOPTIONSSOURCES}
+
+## 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.
+#libSCoptions_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.
+#libSCoptions_libincludedir = $(libdir)/util/options/include
+#nodist_libSCoptions_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+OPTIONSTESTS = \
+	sample
+
+check_PROGRAMS += $(OPTIONSTESTS)
+noinst_PROGRAMS += $(OPTIONSTESTS)
+
+OPTIONSLIBS = \
+        libSCoptions.la
+
+sample_SOURCES = README.cc
+sample_LDADD = \
+        $(OPTIONSLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/util/psi3/libpsio/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/psi3/libpsio/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/psi3/libpsio/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,64 @@
+LIBSCLIBPSIOSOURCES = \
+	init.cc done.cc open.cc close.cc open_check.cc error.cc \
+	rw.cc read.cc write.cc \
+	tocwrite.cc tocread.cc tocscan.cc toclast.cc tocdel.cc tocclean.cc tocprint.cc \
+	get_filename.cc get_numvols.cc get_volpath.cc volseek.cc get_address.cc get_global_address.cc \
+	write_entry.cc read_entry.cc write_block.cc read_block.cc
+#		close.cc done.cc error.cc get_address.cc get_filename.cc get_global_address.cc get_numvols.cc get_volpath.cc init.cc open.cc open_check.cc psiotest.cc read_block.cc read.cc read_entry.cc rw.cc tocclean.cc tocdel.cc toclast.cc tocprint.cc tocread.cc tocscan.cc tocwrite.cc volseek.cc write_block.cc write.cc write_entry.cc
+
+LIBSCLIBPSIOHEADERS = \
+	psio.h psio.gbl
+#		psifiles.h psio.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCpsio.la
+libSCpsio_la_includedir = $(includedir)/util/psi3/libpsio
+libSCpsio_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCpsio_la_LDFLAGS = $(AM_LDFLAGS)
+libSCpsio_la_LIBADD =
+
+nobase_libSCpsio_la_include_HEADERS = ${LIBSCLIBPSIOHEADERS}
+
+## 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.
+libSCpsio_la_SOURCES = ${LIBSCLIBPSIOSOURCES}
+
+## 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.
+#libSCpsio_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.
+#libSCpsio_libincludedir = $(libdir)/util/psi3/libpsio/include
+#nodist_libSCpsio_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+PSIOTESTS = \
+        psiotest
+
+check_PROGRAMS += $(PSIOTESTS)
+noinst_PROGRAMS += $(PSIOTESTS)
+
+PSIOLIBS = \
+	libSCpsio.la libSCclass.la libSCcontainer.la libSCref.la libSCmisc.la libSCstate.la libSCkeyval.la
+
+psiotest_SOURCES = psiotest.cc
+psiotest_LDADD = \
+        $(PSIOLIBS)
+
+
Index: ThirdParty/mpqc_open/src/lib/util/ref/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/ref/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/ref/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,59 @@
+LIBSCREFSOURCES = \
+		identity.cc ref.cc
+
+LIBSCREFHEADERS = \
+		identity.h ref.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCref.la
+libSCref_la_includedir = $(includedir)/util/ref
+libSCref_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCref_la_LDFLAGS = $(AM_LDFLAGS)
+libSCref_la_LIBADD =
+
+nobase_libSCref_la_include_HEADERS = ${LIBSCREFHEADERS}
+
+## 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.
+libSCref_la_SOURCES = ${LIBSCREFSOURCES}
+
+## 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.
+#libSCref_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.
+#libSCref_libincludedir = $(libdir)/util/ref/include
+#nodist_libSCref_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+REFTESTS = \
+        reftest
+
+check_PROGRAMS += $(REFTESTS)
+noinst_PROGRAMS += $(REFTESTS)
+
+REFLIBS = \
+	libSCkeyval.la \
+	libSCgroup.la libSCstate.la libSCclass.la \
+	libSCcontainer.la libSCref.la libSCmisc.la
+
+reftest_SOURCES = reftest.cc reftextx.cc reftextx.h
+reftest_LDADD = \
+        $(REFLIBS)
+
Index: ThirdParty/mpqc_open/src/lib/util/render/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/render/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/render/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,61 @@
+LIBSCRENDERSOURCES = \
+		algebra3.cc animate.cc appearance.cc color.cc material.cc object.cc oogl.cc polygons.cc polylines.cc polysphere.cc render.cc sphere.cc tempinst.cc transform.cc
+
+LIBSCRENDERHEADERS = \
+		algebra3.h animate.h appearance.h color.h find.h linkage.h material.h object.h oogl.h parameter.h polygons.h polylines.h polysphere.h render.h sphere.h stack.h transform.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCrender.la
+libSCrender_la_includedir = $(includedir)/util/render
+libSCrender_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCrender_la_LDFLAGS = $(AM_LDFLAGS)
+libSCrender_la_LIBADD =
+
+nobase_libSCrender_la_include_HEADERS = ${LIBSCRENDERHEADERS}
+
+## 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.
+libSCrender_la_SOURCES = ${LIBSCRENDERSOURCES}
+
+## 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.
+#libSCrender_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.
+#libSCrender_libincludedir = $(libdir)/util/render/include
+#nodist_libSCrender_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+RENDERTESTS = \
+        rentest
+
+check_PROGRAMS += $(RENDERTESTS)
+noinst_PROGRAMS += $(RENDERTESTS)
+
+RENDERLIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCrender.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+rentest_SOURCES = rentest.cc
+rentest_LDADD = \
+        $(RENDERLIBS)
+
+
+
Index: ThirdParty/mpqc_open/src/lib/util/state/Makefile.am
===================================================================
--- ThirdParty/mpqc_open/src/lib/util/state/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
+++ ThirdParty/mpqc_open/src/lib/util/state/Makefile.am	(revision 00f9833f8d74abc94e5b207e00780988a1a0525b)
@@ -0,0 +1,60 @@
+LIBSCSTATESOURCES = \
+		proxy.cc state_bin.cc state.cc state_file.cc statein.cc stateout.cc state_text.cc tmplinst.cc translate.cc
+
+LIBSCSTATEHEADERS = \
+		linkage.h proxy.h state_bin.h state_file.h state.h statein.h stateio.h stateout.h state_text.h translate.h
+
+lib_LTLIBRARIES +=
+noinst_LTLIBRARIES += libSCstate.la
+libSCstate_la_includedir = $(includedir)/util/state
+libSCstate_la_CPPFLAGS = $(AM_CPPFLAGS)
+libSCstate_la_LDFLAGS = $(AM_LDFLAGS)
+libSCstate_la_LIBADD =
+
+nobase_libSCstate_la_include_HEADERS = ${LIBSCSTATEHEADERS}
+
+## 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.
+libSCstate_la_SOURCES = ${LIBSCSTATESOURCES}
+
+## 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.
+#libSCstate_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.
+#libSCstate_libincludedir = $(libdir)/util/state/include
+#nodist_libSCstate_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
+
+STATETESTS = \
+        statetest
+
+check_PROGRAMS += $(STATETESTS)
+noinst_PROGRAMS += $(STATETESTS)
+
+STATELIBS = \
+        libSCkeyval.la \
+        libSCgroup.la libSCstate.la libSCclass.la \
+        libSCcontainer.la libSCref.la libSCmisc.la
+
+statetest_SOURCES = statetest.cc
+statetest_LDADD = \
+        $(STATELIBS)
+
+
