LIBSCGROUPSOURCES = \ util/group/hcube.cc \ util/group/memamsg.cc \ util/group/memiter.cc \ util/group/memmsg.cc \ util/group/memory.cc \ util/group/memproc.cc \ util/group/memrdma.cc \ util/group/message.cc \ util/group/messimpl.cc \ util/group/messint.cc \ util/group/messproc.cc \ util/group/mstate.cc \ util/group/pool.cc \ util/group/pregtime.cc \ util/group/reduce.cc \ util/group/rnglock.cc \ util/group/thread.cc \ util/group/topology.cc # util/group/file.cc \ # util/group/fileproc.cc \ # util/group/thpuma.cc \ # TESTSOURCES = \ util/group/mstate.cc \ util/group/message.cc \ util/group/messimpl.cc \ util/group/messproc.cc \ util/group/messint.cc \ util/group/reduce.cc \ util/group/topology.cc \ util/group/hcube.cc \ util/group/rnglock.cc \ util/group/memory.cc \ util/group/memmsg.cc \ util/group/pool.cc \ util/group/memamsg.cc \ util/group/memproc.cc \ util/group/pregtime.cc \ util/group/thread.cc \ util/group/memiter.cc \ util/group/memrdma.cc LIBSCGROUPHEADERS = \ util/group/hcube.h \ util/group/linkage.h \ util/group/memamsg.h \ util/group/memiter.h \ util/group/memmsg.h \ util/group/memory.h \ util/group/memproc.h \ util/group/memrdma.h \ util/group/message.h \ util/group/messaget.h \ util/group/mstate.h \ util/group/pool.h \ util/group/pregtime.h \ util/group/rnglock.h \ util/group/thread.h \ util/group/topology.h # util/group/file.h \ # util/group/fileproc.h \ # util/group/thpuma.h \ # TESTHEADERS = \ util/group/mstate.h \ util/group/message.h \ util/group/topology.h \ util/group/hcube.h \ util/group/rnglock.h \ util/group/memory.h \ util/group/memmsg.h \ util/group/pool.h \ util/group/memamsg.h \ util/group/memproc.h \ util/group/pregtime.h \ util/group/thread.h \ util/group/memiter.h \ util/group/memrdma.h if COND_SYSV_IPC LIBSCGROUPSOURCES += \ util/group/globcnt.cc \ util/group/memshm.cc \ util/group/messshm.cc LIBSCGROUPHEADERS += \ util/group/globcnt.h \ util/group/memshm.h \ util/group/messshm.h endif if COND_MPI LIBSCGROUPSOURCES += \ util/group/memmtmpi.cc \ util/group/messmpi.cc LIBSCGROUPHEADERS += \ util/group/memmtmpi.h \ util/group/messmpi.h endif if COND_ARMCI LIBSCGROUPSOURCES += \ util/group/memarmci.cc LIBSCGROUPHEADERS += \ util/group/memarmci.h endif if COND_PTHREAD LIBSCGROUPSOURCES += \ util/group/thpthd.cc LIBSCGROUPHEADERS += \ util/group/thpthd.h endif 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 # this test is also not working in original mpqc_2.3.1 due to missing # thrtest.in and other causes NONFUNCTIONING_TESTS += \ thrtest TESTS += $(GROUPTESTS) check_PROGRAMS += \ $(GROUPTESTS) \ thrtest noinst_PROGRAMS += \ $(GROUPTESTS) \ thrtest GROUPLIBS = \ libSCgroup.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la memtest_SOURCES = \ util/group/memtest.cc memtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\" memtest_LDADD = \ libSCgroup.la \ libSCkeyval.la \ libSCmisc.la \ libSCstate.la \ libSCclass.la \ libSCcontainer.la \ libSCref.la messtest_SOURCES = \ util/group/messtest.cc messtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\" messtest_LDADD = \ libSCgroup.la \ libSCkeyval.la \ libSCmisc.la \ libSCstate.la \ libSCclass.la \ libSCcontainer.la \ libSCref.la pooltest_SOURCES = \ util/group/pooltest.cc pooltest_LDADD = \ $(GROUPLIBS) prttest_SOURCES = \ util/group/prttest.cc prttest_LDADD = \ $(GROUPLIBS) rnglocktest_SOURCES = \ util/group/rnglocktest.cc rnglocktest_LDADD = \ libSCmisc.la libSCgroup.la thrtest_SOURCES = \ util/group/thrtest.cc thrtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\" thrtest_LDADD = \ libSCgroup.la \ libSCkeyval.la \ libSCmisc.la \ libSCstate.la \ libSCclass.la \ libSCcontainer.la \ libSCref.la EXTRA_DIST += ./util/group/memtest.in EXTRA_DIST += ./util/group/messtest.in