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