1 | LIBSCSTATESOURCES = \
|
---|
2 | util/state/proxy.cc \
|
---|
3 | util/state/state_bin.cc \
|
---|
4 | util/state/state.cc \
|
---|
5 | util/state/state_file.cc \
|
---|
6 | util/state/statein.cc \
|
---|
7 | util/state/stateout.cc \
|
---|
8 | util/state/state_text.cc \
|
---|
9 | util/state/tmplinst.cc \
|
---|
10 | util/state/translate.cc
|
---|
11 |
|
---|
12 |
|
---|
13 | LIBSCSTATEHEADERS = \
|
---|
14 | util/state/linkage.h \
|
---|
15 | util/state/proxy.h \
|
---|
16 | util/state/state_bin.h \
|
---|
17 | util/state/state_file.h \
|
---|
18 | util/state/state.h \
|
---|
19 | util/state/statein.h \
|
---|
20 | util/state/stateio.h \
|
---|
21 | util/state/stateout.h \
|
---|
22 | util/state/state_text.h \
|
---|
23 | util/state/translate.h
|
---|
24 |
|
---|
25 |
|
---|
26 | lib_LTLIBRARIES +=
|
---|
27 | noinst_LTLIBRARIES += libSCstate.la
|
---|
28 | libSCstate_la_includedir = $(includedir)/util/state
|
---|
29 | libSCstate_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
30 | libSCstate_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
31 | libSCstate_la_LIBADD =
|
---|
32 |
|
---|
33 | nobase_libSCstate_la_include_HEADERS = ${LIBSCSTATEHEADERS}
|
---|
34 |
|
---|
35 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
36 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
37 | ## will therefore be treated as if it were literally part of the target name,
|
---|
38 | ## and the variable name derived from that.
|
---|
39 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
40 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
41 | ## from each source file. Note that it is not necessary to list header files
|
---|
42 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
43 | libSCstate_la_SOURCES = ${LIBSCSTATESOURCES}
|
---|
44 |
|
---|
45 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
46 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
47 | ## that all version information is kept in one place.
|
---|
48 | #libSCstate_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
49 |
|
---|
50 | ## The generated configuration header is installed in its own subdirectory of
|
---|
51 | ## $(libdir). The reason for this is that the configuration information put
|
---|
52 | ## into this header file describes the target platform the installed library
|
---|
53 | ## has been built for. Thus the file must not be installed into a location
|
---|
54 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
55 | ## Hierarchy Standard (FHS).
|
---|
56 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
57 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
58 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
59 | ## configuration header file is generated at configure time and should not be
|
---|
60 | ## shipped with the source tarball.
|
---|
61 | #libSCstate_libincludedir = $(libdir)/util/state/include
|
---|
62 | #nodist_libSCstate_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
63 |
|
---|
64 |
|
---|
65 | STATETESTS = \
|
---|
66 | statetest
|
---|
67 |
|
---|
68 | TESTS += $(STATETESTS)
|
---|
69 | check_PROGRAMS += $(STATETESTS)
|
---|
70 | noinst_PROGRAMS += $(STATETESTS)
|
---|
71 |
|
---|
72 | STATELIBS = \
|
---|
73 | libSCkeyval.la libSCgroup.la libSCstate.la libSCclass.la libSCcontainer.la libSCref.la libSCmisc.la
|
---|
74 |
|
---|
75 | statetest_SOURCES = \
|
---|
76 | util/state/statetest.cc
|
---|
77 | statetest_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/util/state\"
|
---|
78 | statetest_LDADD = \
|
---|
79 | $(STATELIBS)
|
---|
80 |
|
---|
81 |
|
---|
82 | EXTRA_DIST += ./util/state/statetest.in
|
---|