[00f983] | 1 | LIBSCMISCSOURCES = \
|
---|
[23612c] | 2 | util/misc/bug.cc \
|
---|
| 3 | util/misc/compute.cc \
|
---|
| 4 | util/misc/exenv.cc \
|
---|
| 5 | util/misc/formio.cc \
|
---|
| 6 | util/misc/ieee.cc \
|
---|
| 7 | util/misc/regtime.cc \
|
---|
| 8 | util/misc/units.cc
|
---|
| 9 |
|
---|
| 10 | # util/misc/ccaenv.cc
|
---|
| 11 |
|
---|
[00f983] | 12 |
|
---|
| 13 | LIBSCMISCHEADERS = \
|
---|
[23612c] | 14 | util/misc/timer.h \
|
---|
| 15 | util/misc/compute.h \
|
---|
| 16 | util/misc/ieee.h \
|
---|
| 17 | util/misc/bug.h \
|
---|
| 18 | util/misc/exenv.h
|
---|
| 19 |
|
---|
| 20 | # util/misc/autovec.h \
|
---|
| 21 | # util/misc/bug.h \
|
---|
| 22 | # util/misc/ccaenv.h \
|
---|
| 23 | # util/misc/comptmpl.h \
|
---|
| 24 | # util/misc/compute.h \
|
---|
| 25 | # util/misc/exenv.h \
|
---|
| 26 | # util/misc/formio.h \
|
---|
| 27 | # util/misc/ieee.h \
|
---|
| 28 | # util/misc/LIBS.h \
|
---|
| 29 | # util/misc/math.h \
|
---|
| 30 | # util/misc/newstring.h \
|
---|
| 31 | # util/misc/regtime.h \
|
---|
| 32 | # util/misc/scint.h \
|
---|
| 33 | # util/misc/string.h \
|
---|
| 34 | # util/misc/timer.h \
|
---|
| 35 | # util/misc/units.h
|
---|
| 36 |
|
---|
[00f983] | 37 |
|
---|
| 38 | lib_LTLIBRARIES +=
|
---|
| 39 | noinst_LTLIBRARIES += libSCmisc.la
|
---|
| 40 | libSCmisc_la_includedir = $(includedir)/util/misc
|
---|
| 41 | libSCmisc_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 42 | libSCmisc_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 43 | libSCmisc_la_LIBADD =
|
---|
| 44 |
|
---|
| 45 | nobase_libSCmisc_la_include_HEADERS = ${LIBSCMISCHEADERS}
|
---|
| 46 |
|
---|
| 47 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
| 48 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
| 49 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 50 | ## and the variable name derived from that.
|
---|
| 51 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 52 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 53 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 54 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 55 | libSCmisc_la_SOURCES = ${LIBSCMISCSOURCES}
|
---|
| 56 |
|
---|
| 57 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 58 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 59 | ## that all version information is kept in one place.
|
---|
| 60 | #libSCmisc_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
| 61 |
|
---|
| 62 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 63 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 64 | ## into this header file describes the target platform the installed library
|
---|
| 65 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 66 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 67 | ## Hierarchy Standard (FHS).
|
---|
| 68 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 69 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 70 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 71 | ## configuration header file is generated at configure time and should not be
|
---|
| 72 | ## shipped with the source tarball.
|
---|
| 73 | #libSCmisc_libincludedir = $(libdir)/util/misc/include
|
---|
| 74 | #nodist_libSCmisc_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 75 |
|
---|
[23612c] | 76 |
|
---|
[00f983] | 77 | MISCTESTS = \
|
---|
| 78 | autovectest \
|
---|
| 79 | comptest \
|
---|
| 80 | tregtime \
|
---|
| 81 | scinttest \
|
---|
| 82 | bugtest \
|
---|
| 83 | unittest \
|
---|
| 84 | formiot
|
---|
| 85 |
|
---|
[1513599] | 86 | TESTS += $(MISCTESTS)
|
---|
[00f983] | 87 | check_PROGRAMS += $(MISCTESTS)
|
---|
| 88 | noinst_PROGRAMS += $(MISCTESTS)
|
---|
| 89 |
|
---|
[251420] | 90 | MISCLIBS = \
|
---|
| 91 | libSCmisc.la libSCstate.la libSCkeyval.la libSCclass.la libSCcontainer.la libSCref.la
|
---|
[00f983] | 92 |
|
---|
[23612c] | 93 | autovectest_SOURCES = \
|
---|
| 94 | util/misc/autovectest.cc
|
---|
[00f983] | 95 | autovectest_LDADD = \
|
---|
| 96 | $(MISCLIBS)
|
---|
| 97 |
|
---|
[23612c] | 98 | comptest_SOURCES = \
|
---|
| 99 | util/misc/comptest.cc
|
---|
[00f983] | 100 | comptest_LDADD = \
|
---|
| 101 | $(MISCLIBS)
|
---|
| 102 |
|
---|
[23612c] | 103 | tregtime_SOURCES = \
|
---|
| 104 | util/misc/tregtime.cc
|
---|
[00f983] | 105 | tregtime_LDADD = \
|
---|
| 106 | $(MISCLIBS)
|
---|
| 107 |
|
---|
[23612c] | 108 | scinttest_SOURCES = \
|
---|
| 109 | util/misc/scinttest.cc
|
---|
[00f983] | 110 | scinttest_LDADD = \
|
---|
| 111 | $(MISCLIBS)
|
---|
| 112 |
|
---|
[23612c] | 113 | bugtest_SOURCES = \
|
---|
| 114 | util/misc/bugtest.cc
|
---|
[72461c] | 115 | bugtest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/misc\"
|
---|
[00f983] | 116 | bugtest_LDADD = \
|
---|
| 117 | $(MISCLIBS)
|
---|
| 118 |
|
---|
[23612c] | 119 | unittest_SOURCES = \
|
---|
| 120 | util/misc/unittest.cc
|
---|
[00f983] | 121 | unittest_LDADD = \
|
---|
| 122 | $(MISCLIBS)
|
---|
| 123 |
|
---|
[23612c] | 124 | formiot_SOURCES = \
|
---|
| 125 | util/misc/formiot.cc
|
---|
[00f983] | 126 | formiot_LDADD = \
|
---|
| 127 | $(MISCLIBS)
|
---|
| 128 |
|
---|
[72461c] | 129 | EXTRA_DIST += ./util/misc/bugtest.in
|
---|