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