summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/plugins/mirror/Makefile.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-01-31 14:52:30 +0000
committerAlasdair Kergon <agk@redhat.com>2006-01-31 14:52:30 +0000
commite4c11ad108168632557663b3368e2780cc2ae4e8 (patch)
tree761432e44af44c8cf4fe8b58ac1e047501b0f905 /daemons/dmeventd/plugins/mirror/Makefile.in
parent5e3bd86778673cfe316ff57bb358b08f7aa3e476 (diff)
downloadlvm2-e4c11ad108168632557663b3368e2780cc2ae4e8.tar.gz
lvm2-e4c11ad108168632557663b3368e2780cc2ae4e8.tar.xz
lvm2-e4c11ad108168632557663b3368e2780cc2ae4e8.zip
Only do lockfs filesystem sync when suspending snapshots.
Switchover library building to use LIB_SUFFIX.
Diffstat (limited to 'daemons/dmeventd/plugins/mirror/Makefile.in')
-rw-r--r--daemons/dmeventd/plugins/mirror/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in
index 04386bc9..45309922 100644
--- a/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -21,11 +21,15 @@ CLDFLAGS += -ldevmapper -llvm2cmd
SOURCES = dmeventd_mirror.c
-LIB_SHARED = libdevmapper-event-lvm2mirror.so
+ifeq ("@LIB_SUFFIX@","dylib")
+ LIB_SHARED = libdevmapper-event-lvm2mirror.dylib
+else
+ LIB_SHARED = libdevmapper-event-lvm2mirror.so
+endif
include $(top_srcdir)/make.tmpl
-install: libdevmapper-event-lvm2mirror.so
+install: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)
$(LN_S) -f $(libdir)/$<.$(LIB_VERSION) $(libdir)/$<