summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am55
1 files changed, 55 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..57d8d89
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,55 @@
+ACLOCAL_AMFLAGS = -I m4
+
+lib_LTLIBRARIES = libpool.la
+
+libpool_la_SOURCES = \
+usr/src/lib/libpool/common/pool_commit.c \
+usr/src/lib/libpool/common/dict.c \
+usr/src/lib/libpool/common/pool_value.c \
+usr/src/lib/libpool/common/pool.c \
+usr/src/lib/libpool/common/pool_kernel.c \
+usr/src/lib/libpool/common/pool_kernel_impl.h \
+usr/src/lib/libpool/common/pool_internal.c \
+usr/src/lib/libpool/common/pool.h \
+usr/src/lib/libpool/common/dict.h \
+usr/src/lib/libpool/common/pool_xml.c \
+usr/src/lib/libpool/common/pool_impl.h \
+usr/src/lib/libpool/common/pool_internal.h \
+usr/src/lib/libpool/common/pool_xml_impl.h
+
+# VERSION_SCRIPT is defined in linker supports
+# symbol versioning and versioning is enabled.
+# Otherwise VERSION_SCRIPT is empty.
+
+libpool_la_LDFLAGS = -version-info 2:0:0
+if USE_VERSION_SCRIPT
+libpool_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(top_srcdir)/libpool.vers
+endif
+
+libpool_la_LIBADD = $(XML_LIBS)
+
+AM_CPPFLAGS = \
+$(CPPFLAGS_DEBUG) \
+$(XML_CPPFLAGS) \
+-DLIBPOOL_DTD_DIR=\"$(datadir)\"
+
+include_HEADERS = usr/src/lib/libpool/common/pool.h
+dist_man3_MANS = \
+usr/src/man/man3lib/libpool.3lib \
+usr/src/man/man3pool/pool_associate.3pool \
+usr/src/man/man3pool/pool_component_info.3pool \
+usr/src/man/man3pool/pool_component_to_elem.3pool \
+usr/src/man/man3pool/pool_conf_alloc.3pool \
+usr/src/man/man3pool/pool_dynamic_location.3pool \
+usr/src/man/man3pool/pool_error.3pool \
+usr/src/man/man3pool/pool_get_binding.3pool \
+usr/src/man/man3pool/pool_get_pool.3pool \
+usr/src/man/man3pool/pool_get_property.3pool \
+usr/src/man/man3pool/pool_resource_create.3pool \
+usr/src/man/man3pool/pool_value_alloc.3pool \
+usr/src/man/man3pool/pool_walk_components.3pool
+
+dist_data_DATA = usr/src/lib/libpool/dtd/rm_pool.dtd.1
+
+EXTRA_DIST = libpool.vers LICENSE README
+