mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-25 01:34:38 +03:00
configure --with-interface=ioctl (default) or =fs to choose kernel interface
This commit is contained in:
parent
8f47e5794b
commit
1215c28438
@ -7,15 +7,16 @@
|
|||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
interface = @interface@
|
||||||
|
|
||||||
SOURCES=libdevmapper.c
|
SOURCES=$(interface)/libdevmapper.c
|
||||||
|
|
||||||
TARGETS=libdevmapper.so
|
TARGETS=$(interface)/libdevmapper.so
|
||||||
|
|
||||||
include ../make.tmpl
|
include ../make.tmpl
|
||||||
|
|
||||||
install: libdevmapper.so
|
install: @interface@/libdevmapper.so
|
||||||
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) libdevmapper.so \
|
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
|
||||||
$(libdir)
|
$(libdir)
|
||||||
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
|
$(INSTALL) -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
|
||||||
$(includedir)
|
$(includedir)
|
||||||
|
Loading…
Reference in New Issue
Block a user