mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-31 05:47:43 +03:00
Added generation of the versioned libdevmapper-event.so for LVM's test
This commit is contained in:
parent
fddafd5125
commit
c454025a0f
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.28 -
|
Version 1.02.28 -
|
||||||
================================
|
================================
|
||||||
|
Added generation of the versioned libdevmapper-event.so for LVM's test
|
||||||
Underline longer report help text headings.
|
Underline longer report help text headings.
|
||||||
|
|
||||||
Version 1.02.27 - 25th June 2008
|
Version 1.02.27 - 25th June 2008
|
||||||
|
@ -23,6 +23,7 @@ ifeq ("@LIB_SUFFIX@","dylib")
|
|||||||
LIB_SHARED = libdevmapper-event.dylib
|
LIB_SHARED = libdevmapper-event.dylib
|
||||||
else
|
else
|
||||||
LIB_SHARED = libdevmapper-event.so
|
LIB_SHARED = libdevmapper-event.so
|
||||||
|
VERSIONED_SHLIB = $(LIB_SHARED).$(LIB_VERSION)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGETS = dmeventd
|
TARGETS = dmeventd
|
||||||
@ -33,7 +34,7 @@ include ../make.tmpl
|
|||||||
LDFLAGS += -ldl -ldevmapper -lpthread
|
LDFLAGS += -ldl -ldevmapper -lpthread
|
||||||
CLDFLAGS += -ldl -ldevmapper -lpthread
|
CLDFLAGS += -ldl -ldevmapper -lpthread
|
||||||
|
|
||||||
dmeventd: $(LIB_SHARED) dmeventd.o
|
dmeventd: $(LIB_SHARED) $(VERSIONED_SHLIB) dmeventd.o
|
||||||
$(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \
|
$(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \
|
||||||
-L. -ldevmapper-event $(LIBS) -rdynamic
|
-L. -ldevmapper-event $(LIBS) -rdynamic
|
||||||
|
|
||||||
@ -74,6 +75,10 @@ install_static: libdevmapper-event.a
|
|||||||
$(libdir)/libdevmapper-event.a.$(LIB_VERSION)
|
$(libdir)/libdevmapper-event.a.$(LIB_VERSION)
|
||||||
$(LN_S) -f libdevmapper-event.a.$(LIB_VERSION) $(libdir)/libdevmapper-event.a
|
$(LN_S) -f libdevmapper-event.a.$(LIB_VERSION) $(libdir)/libdevmapper-event.a
|
||||||
|
|
||||||
|
$(VERSIONED_SHLIB): $(LIB_SHARED)
|
||||||
|
$(RM) -f $@
|
||||||
|
$(LN_S) $(LIB_SHARED) $@
|
||||||
|
|
||||||
.PHONY: distclean_lib distclean
|
.PHONY: distclean_lib distclean
|
||||||
|
|
||||||
distclean_lib:
|
distclean_lib:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user