[00f983] | 1 | LIBSCGROUPSOURCES = \
|
---|
[251420] | 2 | util/group/hcube.cc \
|
---|
| 3 | util/group/memamsg.cc \
|
---|
| 4 | util/group/memiter.cc \
|
---|
| 5 | util/group/memmsg.cc \
|
---|
| 6 | util/group/memory.cc \
|
---|
| 7 | util/group/memproc.cc \
|
---|
| 8 | util/group/memrdma.cc \
|
---|
| 9 | util/group/message.cc \
|
---|
| 10 | util/group/messimpl.cc \
|
---|
| 11 | util/group/messint.cc \
|
---|
| 12 | util/group/messproc.cc \
|
---|
| 13 | util/group/mstate.cc \
|
---|
| 14 | util/group/pool.cc \
|
---|
| 15 | util/group/pregtime.cc \
|
---|
| 16 | util/group/reduce.cc \
|
---|
| 17 | util/group/rnglock.cc \
|
---|
| 18 | util/group/thread.cc \
|
---|
| 19 | util/group/topology.cc
|
---|
[bbc982] | 20 |
|
---|
[251420] | 21 | # util/group/file.cc \
|
---|
| 22 | # util/group/fileproc.cc \
|
---|
| 23 | # util/group/thpuma.cc \
|
---|
| 24 | #
|
---|
| 25 | TESTSOURCES = \
|
---|
[bbc982] | 26 | util/group/mstate.cc \
|
---|
[23612c] | 27 | util/group/message.cc \
|
---|
| 28 | util/group/messimpl.cc \
|
---|
| 29 | util/group/messproc.cc \
|
---|
| 30 | util/group/messint.cc \
|
---|
| 31 | util/group/reduce.cc \
|
---|
| 32 | util/group/topology.cc \
|
---|
| 33 | util/group/hcube.cc \
|
---|
| 34 | util/group/rnglock.cc \
|
---|
| 35 | util/group/memory.cc \
|
---|
| 36 | util/group/memmsg.cc \
|
---|
| 37 | util/group/pool.cc \
|
---|
| 38 | util/group/memamsg.cc \
|
---|
| 39 | util/group/memproc.cc \
|
---|
| 40 | util/group/pregtime.cc \
|
---|
| 41 | util/group/thread.cc \
|
---|
| 42 | util/group/memiter.cc \
|
---|
| 43 | util/group/memrdma.cc
|
---|
| 44 |
|
---|
[00f983] | 45 | LIBSCGROUPHEADERS = \
|
---|
[251420] | 46 | util/group/hcube.h \
|
---|
| 47 | util/group/linkage.h \
|
---|
| 48 | util/group/memamsg.h \
|
---|
| 49 | util/group/memiter.h \
|
---|
| 50 | util/group/memmsg.h \
|
---|
| 51 | util/group/memory.h \
|
---|
| 52 | util/group/memproc.h \
|
---|
| 53 | util/group/memrdma.h \
|
---|
| 54 | util/group/message.h \
|
---|
| 55 | util/group/messaget.h \
|
---|
| 56 | util/group/mstate.h \
|
---|
| 57 | util/group/pool.h \
|
---|
| 58 | util/group/pregtime.h \
|
---|
| 59 | util/group/rnglock.h \
|
---|
| 60 | util/group/thread.h \
|
---|
| 61 | util/group/topology.h
|
---|
| 62 |
|
---|
| 63 | # util/group/file.h \
|
---|
| 64 | # util/group/fileproc.h \
|
---|
| 65 | # util/group/thpuma.h \
|
---|
| 66 | #
|
---|
| 67 | TESTHEADERS = \
|
---|
[bbc982] | 68 | util/group/mstate.h \
|
---|
[23612c] | 69 | util/group/message.h \
|
---|
| 70 | util/group/topology.h \
|
---|
| 71 | util/group/hcube.h \
|
---|
| 72 | util/group/rnglock.h \
|
---|
| 73 | util/group/memory.h \
|
---|
| 74 | util/group/memmsg.h \
|
---|
| 75 | util/group/pool.h \
|
---|
| 76 | util/group/memamsg.h \
|
---|
| 77 | util/group/memproc.h \
|
---|
| 78 | util/group/pregtime.h \
|
---|
| 79 | util/group/thread.h \
|
---|
| 80 | util/group/memiter.h \
|
---|
| 81 | util/group/memrdma.h
|
---|
[00f983] | 82 |
|
---|
[bbc982] | 83 | if COND_SYSV_IPC
|
---|
| 84 | LIBSCGROUPSOURCES += \
|
---|
| 85 | util/group/globcnt.cc \
|
---|
| 86 | util/group/memshm.cc \
|
---|
| 87 | util/group/messshm.cc
|
---|
| 88 | LIBSCGROUPHEADERS += \
|
---|
| 89 | util/group/globcnt.h \
|
---|
| 90 | util/group/memshm.h \
|
---|
| 91 | util/group/messshm.h
|
---|
| 92 | endif
|
---|
| 93 |
|
---|
| 94 | if COND_MPI
|
---|
| 95 | LIBSCGROUPSOURCES += \
|
---|
| 96 | util/group/memmtmpi.cc \
|
---|
| 97 | util/group/messmpi.cc
|
---|
| 98 | LIBSCGROUPHEADERS += \
|
---|
| 99 | util/group/memmtmpi.h \
|
---|
| 100 | util/group/messmpi.h
|
---|
| 101 | endif
|
---|
| 102 |
|
---|
| 103 | if COND_ARMCI
|
---|
| 104 | LIBSCGROUPSOURCES += \
|
---|
| 105 | util/group/memarmci.cc
|
---|
| 106 | LIBSCGROUPHEADERS += \
|
---|
| 107 | util/group/memarmci.h
|
---|
| 108 | endif
|
---|
| 109 |
|
---|
| 110 | if COND_PTHREAD
|
---|
| 111 | LIBSCGROUPSOURCES += \
|
---|
| 112 | util/group/thpthd.cc
|
---|
| 113 | LIBSCGROUPHEADERS += \
|
---|
| 114 | util/group/thpthd.h
|
---|
| 115 | endif
|
---|
| 116 |
|
---|
[00f983] | 117 | lib_LTLIBRARIES +=
|
---|
| 118 | noinst_LTLIBRARIES += libSCgroup.la
|
---|
| 119 | libSCgroup_la_includedir = $(includedir)/util/group
|
---|
| 120 | libSCgroup_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 121 | libSCgroup_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 122 | libSCgroup_la_LIBADD =
|
---|
| 123 |
|
---|
| 124 | nobase_libSCgroup_la_include_HEADERS = ${LIBSCGROUPHEADERS}
|
---|
| 125 |
|
---|
| 126 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
| 127 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
| 128 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 129 | ## and the variable name derived from that.
|
---|
| 130 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 131 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 132 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 133 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 134 | libSCgroup_la_SOURCES = ${LIBSCGROUPSOURCES}
|
---|
| 135 |
|
---|
| 136 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 137 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 138 | ## that all version information is kept in one place.
|
---|
| 139 | #libSCgroup_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
| 140 |
|
---|
| 141 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 142 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 143 | ## into this header file describes the target platform the installed library
|
---|
| 144 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 145 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 146 | ## Hierarchy Standard (FHS).
|
---|
| 147 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 148 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 149 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 150 | ## configuration header file is generated at configure time and should not be
|
---|
| 151 | ## shipped with the source tarball.
|
---|
| 152 | #libSCgroup_libincludedir = $(libdir)/util/group/include
|
---|
| 153 | #nodist_libSCgroup_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 154 |
|
---|
[23612c] | 155 |
|
---|
[00f983] | 156 | GROUPTESTS = \
|
---|
| 157 | memtest \
|
---|
| 158 | messtest \
|
---|
| 159 | pooltest \
|
---|
| 160 | prttest \
|
---|
[47b463] | 161 | rnglocktest
|
---|
| 162 |
|
---|
| 163 | # this test is also not working in original mpqc_2.3.1 due to missing
|
---|
| 164 | # thrtest.in and other causes
|
---|
| 165 | NONFUNCTIONING_TESTS += \
|
---|
[00f983] | 166 | thrtest
|
---|
| 167 |
|
---|
[1513599] | 168 | TESTS += $(GROUPTESTS)
|
---|
[47b463] | 169 | check_PROGRAMS += \
|
---|
| 170 | $(GROUPTESTS) \
|
---|
| 171 | thrtest
|
---|
| 172 | noinst_PROGRAMS += \
|
---|
| 173 | $(GROUPTESTS) \
|
---|
| 174 | thrtest
|
---|
[00f983] | 175 |
|
---|
| 176 | GROUPLIBS = \
|
---|
[251420] | 177 | libSCgroup.la libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
|
---|
[00f983] | 178 |
|
---|
[23612c] | 179 | memtest_SOURCES = \
|
---|
| 180 | util/group/memtest.cc
|
---|
[72461c] | 181 | memtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\"
|
---|
[00f983] | 182 | memtest_LDADD = \
|
---|
| 183 | libSCgroup.la \
|
---|
| 184 | libSCkeyval.la \
|
---|
| 185 | libSCmisc.la \
|
---|
| 186 | libSCstate.la \
|
---|
| 187 | libSCclass.la \
|
---|
| 188 | libSCcontainer.la \
|
---|
| 189 | libSCref.la
|
---|
| 190 |
|
---|
[23612c] | 191 | messtest_SOURCES = \
|
---|
| 192 | util/group/messtest.cc
|
---|
[72461c] | 193 | messtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\"
|
---|
[00f983] | 194 | messtest_LDADD = \
|
---|
| 195 | libSCgroup.la \
|
---|
| 196 | libSCkeyval.la \
|
---|
| 197 | libSCmisc.la \
|
---|
| 198 | libSCstate.la \
|
---|
| 199 | libSCclass.la \
|
---|
| 200 | libSCcontainer.la \
|
---|
| 201 | libSCref.la
|
---|
| 202 |
|
---|
[23612c] | 203 | pooltest_SOURCES = \
|
---|
| 204 | util/group/pooltest.cc
|
---|
[00f983] | 205 | pooltest_LDADD = \
|
---|
| 206 | $(GROUPLIBS)
|
---|
| 207 |
|
---|
[23612c] | 208 | prttest_SOURCES = \
|
---|
| 209 | util/group/prttest.cc
|
---|
[00f983] | 210 | prttest_LDADD = \
|
---|
| 211 | $(GROUPLIBS)
|
---|
| 212 |
|
---|
[23612c] | 213 | rnglocktest_SOURCES = \
|
---|
| 214 | util/group/rnglocktest.cc
|
---|
[00f983] | 215 | rnglocktest_LDADD = \
|
---|
| 216 | libSCmisc.la libSCgroup.la
|
---|
| 217 |
|
---|
[23612c] | 218 | thrtest_SOURCES = \
|
---|
| 219 | util/group/thrtest.cc
|
---|
[72461c] | 220 | thrtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/group\"
|
---|
[00f983] | 221 | thrtest_LDADD = \
|
---|
| 222 | libSCgroup.la \
|
---|
| 223 | libSCkeyval.la \
|
---|
| 224 | libSCmisc.la \
|
---|
| 225 | libSCstate.la \
|
---|
| 226 | libSCclass.la \
|
---|
| 227 | libSCcontainer.la \
|
---|
| 228 | libSCref.la
|
---|
| 229 |
|
---|
[72461c] | 230 | EXTRA_DIST += ./util/group/memtest.in
|
---|
| 231 | EXTRA_DIST += ./util/group/messtest.in
|
---|