summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/Makefile.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
committerAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
commitdb8b5af9d94f537b6e9c9483c2bde06ac9edb621 (patch)
tree11cca90b013c731ba7060d0f608657127fb794dc /daemons/clvmd/Makefile.in
parent1ae301590bbdebdcd7464e52fed7c49c12fa00bf (diff)
downloadlvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.gz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.xz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.zip
Allow for a build directory separate from the source.
Diffstat (limited to 'daemons/clvmd/Makefile.in')
-rw-r--r--daemons/clvmd/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in
index c23b51eb..109a8b0a 100644
--- a/daemons/clvmd/Makefile.in
+++ b/daemons/clvmd/Makefile.in
@@ -13,6 +13,7 @@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
VPATH = @srcdir@
CCS_LIBS = @CCS_LIBS@
@@ -85,12 +86,12 @@ LVMLIBS += -ldevmapper
DEFS += -D_REENTRANT
CFLAGS += -fno-strict-aliasing
-include $(top_srcdir)/make.tmpl
+include ../../make.tmpl
INSTALL_TARGETS = \
install_clvmd
-clvmd: $(OBJECTS) $(top_srcdir)/lib/liblvm-internal.a
+clvmd: $(OBJECTS) $(top_builddir)/lib/liblvm-internal.a
$(CC) -o clvmd $(OBJECTS) $(CFLAGS) $(LDFLAGS) \
$(LVMLIBS) $(LMLIBS) $(LIBS)