[fbf005] | 1 | AM_CPPFLAGS = \
|
---|
| 2 | -I$(top_srcdir)/include -I$(top_srcdir)/src/lib \
|
---|
| 3 | -DHAVE_JOBMARKET -I$(top_srcdir)/../JobMarket/src -I$(top_builddir)/../JobMarket -I$(top_srcdir)/../../src -I$(top_srcdir)/../LinearAlgebra/src -I$(top_srcdir)/../CodePatterns/src $(BOOST_SYSTEM_CFLAGS) \
|
---|
| 4 | -DHAVE_MPQCDATA -I$(top_builddir)/../../src
|
---|
[5b2946] | 5 |
|
---|
[0035ea] | 6 | bin_PROGRAMS = molecuilder_mpqc
|
---|
[5b2946] | 7 |
|
---|
[fbf005] | 8 | lib_LTLIBRARIES = \
|
---|
| 9 | libmolecuilder_mpqc.la
|
---|
| 10 |
|
---|
| 11 | noinst_LTLIBRARIES = \
|
---|
| 12 | libmolecuilder_mpqc_extract_dummy.la
|
---|
[6b1a6a] | 13 |
|
---|
[fbf005] | 14 | LIBMPQCSOURCES = \
|
---|
| 15 | mpqc.cc \
|
---|
[6b1a6a] | 16 | mpqcin.cc \
|
---|
[5b2946] | 17 | parse.cc \
|
---|
[fbf005] | 18 | scan.cc
|
---|
| 19 |
|
---|
| 20 | LIBMPQCHEADERS = \
|
---|
| 21 | mpqc.h \
|
---|
| 22 | mpqcin.h \
|
---|
[5b2946] | 23 | parse.h \
|
---|
[4f20e7] | 24 | scdirlist.h
|
---|
[6b1a6a] | 25 |
|
---|
[fbf005] | 26 | libmolecuilder_mpqc_extract_dummy_la_SOURCES = \
|
---|
| 27 | mpqc_extract_dummy.cc \
|
---|
| 28 | mpqc_extract.h
|
---|
[6b1a6a] | 29 |
|
---|
[fbf005] | 30 | libmolecuilder_mpqc_la_includedir = $(includedir)/molecuilder_mpqc/
|
---|
| 31 | libmolecuilder_mpqc_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 32 | libmolecuilder_mpqc_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 33 |
|
---|
| 34 | libmolecuilder_mpqc_la_LIBADD = \
|
---|
| 35 | ../../lib/libSCmbpt.la ../../lib/libSCscf.la ../../lib/libSCdft.la ../../lib/libSCwfn.la ../../lib/libSCpsi.la ../../lib/libSCsolvent.la ../../lib/libSCintv3.la ../../lib/libSCbasis.la ../../lib/libSCoint3.la ../../lib/libSCmolecule.la ../../lib/libSCisosurf.la ../../lib/libSCoptimize.la ../../lib/libSCsymmetry.la ../../lib/libSCscmat.la ../../lib/libSCrender.la ../../lib/libSCgroup.la ../../lib/libSCmisc.la ../../lib/libSCstate.la ../../lib/libSCkeyval.la ../../lib/libSCclass.la ../../lib/libSCcontainer.la ../../lib/libSCref.la ../../lib/libSCoptions.la
|
---|
| 36 |
|
---|
| 37 | nobase_libmolecuilder_mpqc_la_include_HEADERS = ${LIBMPQCHEADERS}
|
---|
| 38 |
|
---|
| 39 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 40 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 41 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 42 | ## and the variable name derived from that.
|
---|
| 43 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 44 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 45 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 46 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 47 | libmolecuilder_mpqc_la_SOURCES = ${LIBMPQCSOURCES}
|
---|
| 48 |
|
---|
| 49 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 50 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 51 | ## that all version information is kept in one place.
|
---|
| 52 | libmolecuilder_mpqc_la_LDFLAGS += -version-info $(MPQC_SO_VERSION)
|
---|
| 53 |
|
---|
| 54 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 55 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 56 | ## into this header file describes the target platform the installed library
|
---|
| 57 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 58 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 59 | ## Hierarchy Standard (FHS).
|
---|
| 60 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 61 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 62 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 63 | ## configuration header file is generated at configure time and should not be
|
---|
| 64 | ## shipped with the source tarball.
|
---|
| 65 | libmolecuilder_mpqc_la_libincludedir = $(libdir)/molecuilder_mpqc/include
|
---|
| 66 | nodist_libmolecuilder_mpqc_la_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 67 |
|
---|
| 68 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 69 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 70 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 71 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 72 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 73 | #pkgconfig_DATA = $(top_builddir)/molecuilder_mpqc.pc
|
---|
| 74 |
|
---|
| 75 | molecuilder_mpqc_SOURCES = \
|
---|
| 76 | mpqc_main.cc
|
---|
[6b1a6a] | 77 |
|
---|
[0035ea] | 78 | molecuilder_mpqc_LDADD = \
|
---|
[fbf005] | 79 | libmolecuilder_mpqc.la libmolecuilder_mpqc_extract_dummy.la
|
---|
[0035ea] | 80 | if COND_LIBINT
|
---|
| 81 | molecuilder_mpqc_LDADD += -lint
|
---|
[5b2946] | 82 | endif
|
---|
[0035ea] | 83 | if COND_LIBR12
|
---|
| 84 | molecuilder_mpqc_LDADD += -lr12
|
---|
[5b2946] | 85 | endif
|
---|
[0035ea] | 86 | if COND_LIBDERIV
|
---|
| 87 | molecuilder_mpqc_LDADD += -lderiv
|
---|
[5b2946] | 88 | endif
|
---|
| 89 |
|
---|
| 90 | #if HAVE_SC_SRC_LIB_CHEMISTRY_CCA
|
---|
| 91 | #mpqc_CPPFLAGS += -DHAVE_CHEMISTRY_CCA -DCCA_PATH=\"$(libdir)/cca\" -I../../lib/chemistry/cca
|
---|
| 92 | #mpqc_LDFLAGS += -L$(CCA_CHEM_LIB) -L$(CCAFE_LIB) -L$(CCA_SPEC_BABEL_LIB) -L$(BABEL_LIB)
|
---|
| 93 | #mpqc_LDADD += -lccachem_cxx_server -lccachem_cxx_client -lccafeCore -lcca -lsidl -lxml2 -lz
|
---|
| 94 | #endif
|
---|