LIBSCKEYVALSOURCES = \ util/keyval/ipv2_alloc.cc \ util/keyval/ipv2.cc \ util/keyval/ipv2_cwk.cc \ util/keyval/ipv2_data.cc \ util/keyval/ipv2_error.cc \ util/keyval/ipv2_karray.cc \ util/keyval/ipv2_parse.cc \ util/keyval/ipv2_print.cc \ util/keyval/ipv2_read.cc \ util/keyval/ipv2_scan.cc \ util/keyval/keyvalagg.cc \ util/keyval/keyvalass.cc \ util/keyval/keyval.cc \ util/keyval/keyvalipv2.cc \ util/keyval/keyvalpre.cc \ util/keyval/keyvalstr.cc \ util/keyval/keyvalval.cc LIBSCKEYVALHEADERS = \ util/keyval/ipv2.h \ util/keyval/ipv2_parse.h \ util/keyval/ipv2_scan.h \ util/keyval/keyval.h \ util/keyval/keyvalval.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 TESTS += $(KEYVALTESTS) check_PROGRAMS += $(KEYVALTESTS) noinst_PROGRAMS += $(KEYVALTESTS) KEYVALLIBS = \ libSCkeyval.la \ libSCcontainer.la \ libSCmisc.la \ libSCgroup.la \ libSCclass.la \ libSCstate.la \ libSCref.la keyvaltest_SOURCES = \ util/keyval/keyvaltest.cc keyvaltest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/keyval\" keyvaltest_LDADD = \ $(KEYVALLIBS) EXTRA_DIST += ./util/keyval/keyvaltest.in