[00f983] | 1 | LIBSCREFSOURCES = \
|
---|
[23612c] | 2 | util/ref/identity.cc \
|
---|
| 3 | util/ref/ref.cc
|
---|
| 4 |
|
---|
[00f983] | 5 |
|
---|
| 6 | LIBSCREFHEADERS = \
|
---|
[23612c] | 7 | util/ref/identity.h \
|
---|
| 8 | util/ref/ref.h
|
---|
| 9 |
|
---|
[00f983] | 10 |
|
---|
| 11 | lib_LTLIBRARIES +=
|
---|
| 12 | noinst_LTLIBRARIES += libSCref.la
|
---|
| 13 | libSCref_la_includedir = $(includedir)/util/ref
|
---|
| 14 | libSCref_la_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 15 | libSCref_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
| 16 | libSCref_la_LIBADD =
|
---|
| 17 |
|
---|
| 18 | nobase_libSCref_la_include_HEADERS = ${LIBSCREFHEADERS}
|
---|
| 19 |
|
---|
| 20 | ## Define the source file list for the "libexample-@MPQC_API_VERSION@.la"
|
---|
| 21 | ## target. Note that @MPQC_API_VERSION@ is not interpreted by Automake and
|
---|
| 22 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 23 | ## and the variable name derived from that.
|
---|
| 24 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 25 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 26 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 27 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 28 | libSCref_la_SOURCES = ${LIBSCREFSOURCES}
|
---|
| 29 |
|
---|
| 30 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 31 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 32 | ## that all version information is kept in one place.
|
---|
| 33 | #libSCref_la_LDFLAGS += $(AM_LDFLAGS) -version-info $(MPQC_SO_VERSION)
|
---|
| 34 |
|
---|
| 35 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 36 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 37 | ## into this header file describes the target platform the installed library
|
---|
| 38 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 39 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 40 | ## Hierarchy Standard (FHS).
|
---|
| 41 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 42 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 43 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 44 | ## configuration header file is generated at configure time and should not be
|
---|
| 45 | ## shipped with the source tarball.
|
---|
| 46 | #libSCref_libincludedir = $(libdir)/util/ref/include
|
---|
| 47 | #nodist_libSCref_libinclude_HEADERS = $(top_builddir)/src/lib/scconfig.h
|
---|
| 48 |
|
---|
[23612c] | 49 |
|
---|
[00f983] | 50 | REFTESTS = \
|
---|
| 51 | reftest
|
---|
| 52 |
|
---|
| 53 | check_PROGRAMS += $(REFTESTS)
|
---|
| 54 | noinst_PROGRAMS += $(REFTESTS)
|
---|
| 55 |
|
---|
| 56 | REFLIBS = \
|
---|
| 57 | libSCkeyval.la \
|
---|
| 58 | libSCgroup.la libSCstate.la libSCclass.la \
|
---|
| 59 | libSCcontainer.la libSCref.la libSCmisc.la
|
---|
| 60 |
|
---|
[23612c] | 61 | reftest_SOURCES = \
|
---|
| 62 | util/ref/reftest.cc \
|
---|
| 63 | util/ref/reftextx.cc \
|
---|
| 64 | util/ref/reftextx.h
|
---|
| 65 |
|
---|
[00f983] | 66 | reftest_LDADD = \
|
---|
| 67 | $(REFLIBS)
|
---|
| 68 |
|
---|