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