diff options
author | Alasdair Kergon <agk@redhat.com> | 2009-10-02 19:10:31 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2009-10-02 19:10:31 +0000 |
commit | db8b5af9d94f537b6e9c9483c2bde06ac9edb621 (patch) | |
tree | 11cca90b013c731ba7060d0f608657127fb794dc /daemons/dmeventd/plugins | |
parent | 1ae301590bbdebdcd7464e52fed7c49c12fa00bf (diff) | |
download | lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.gz lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.xz lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.zip |
Allow for a build directory separate from the source.
Diffstat (limited to 'daemons/dmeventd/plugins')
-rw-r--r-- | daemons/dmeventd/plugins/Makefile.in | 3 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/mirror/Makefile.in | 5 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/snapshot/Makefile.in | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/daemons/dmeventd/plugins/Makefile.in b/daemons/dmeventd/plugins/Makefile.in index 7fe9dc82..d6590410 100644 --- a/daemons/dmeventd/plugins/Makefile.in +++ b/daemons/dmeventd/plugins/Makefile.in @@ -14,9 +14,10 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ VPATH = @srcdir@ SUBDIRS += mirror snapshot -include $(top_srcdir)/make.tmpl +include ../../../make.tmpl diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in index 51eaba60..1bc586a3 100644 --- a/daemons/dmeventd/plugins/mirror/Makefile.in +++ b/daemons/dmeventd/plugins/mirror/Makefile.in @@ -14,10 +14,11 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ VPATH = @srcdir@ INCLUDES += -I${top_srcdir}/tools -CLDFLAGS += -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@ +CLDFLAGS += -L${top_builddir}/tools -ldevmapper @LVM2CMD_LIB@ SOURCES = dmeventd_mirror.c @@ -29,7 +30,7 @@ endif LIB_VERSION = $(LIB_VERSION_LVM) -include $(top_srcdir)/make.tmpl +include $(top_builddir)/make.tmpl install_lvm2: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX) $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ diff --git a/daemons/dmeventd/plugins/snapshot/Makefile.in b/daemons/dmeventd/plugins/snapshot/Makefile.in index 863838f1..27791542 100644 --- a/daemons/dmeventd/plugins/snapshot/Makefile.in +++ b/daemons/dmeventd/plugins/snapshot/Makefile.in @@ -14,10 +14,11 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ VPATH = @srcdir@ INCLUDES += -I${top_srcdir}/tools -CLDFLAGS += -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@ +CLDFLAGS += -L${top_builddir}/tools -ldevmapper @LVM2CMD_LIB@ SOURCES = dmeventd_snapshot.c @@ -29,7 +30,7 @@ endif LIB_VERSION = $(LIB_VERSION_LVM) -include $(top_srcdir)/make.tmpl +include $(top_builddir)/make.tmpl install_lvm2: libdevmapper-event-lvm2snapshot.$(LIB_SUFFIX) $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ |