summaryrefslogtreecommitdiff
path: root/libdm/Makefile.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-06-25 18:17:38 +0000
committerAlasdair Kergon <agk@redhat.com>2010-06-25 18:17:38 +0000
commit8b2055719d2ab712d51ba23394ae3c99bfc3c6ff (patch)
tree7d6bece05be9ee971cfd18a9160ea833d68bb19d /libdm/Makefile.in
parent9bce3d3bcf23517f1e603ddde50bcc97ca49cab3 (diff)
downloadlvm2-8b2055719d2ab712d51ba23394ae3c99bfc3c6ff.tar.gz
Generate liblvm2app and libdevmapper exported symbols from header files.
Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed but not detected this way are placed in .exported_symbols.
Diffstat (limited to 'libdm/Makefile.in')
-rw-r--r--libdm/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdm/Makefile.in b/libdm/Makefile.in
index 6e24eb7f3..74124fae1 100644
--- a/libdm/Makefile.in
+++ b/libdm/Makefile.in
@@ -45,6 +45,9 @@ TARGETS += libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
CFLOW_LIST = $(SOURCES)
CFLOW_LIST_TARGET = libdevmapper.cflow
+EXPORTED_HEADER = $(srcdir)/libdevmapper.h
+EXPORTED_FN_PREFIX = dm
+
include $(top_builddir)/make.tmpl
DEFS += -DDM_DEVICE_UID=@DM_DEVICE_UID@ -DDM_DEVICE_GID=@DM_DEVICE_GID@ \