* device-mapper lib/Makefile.in ./make.tmpl.in
@ 2007-10-03 10:48 meyering
0 siblings, 0 replies; only message in thread
From: meyering @ 2007-10-03 10:48 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: meyering@sourceware.org 2007-10-03 10:48:27
Modified files:
lib : Makefile.in
. : make.tmpl.in
Log message:
Arrange for "make clean" to remove the symlink, too.
* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.
Author: Jim Meyering <meyering@redhat.com>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/Makefile.in.diff?cvsroot=dm&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/make.tmpl.in.diff?cvsroot=dm&r1=1.35&r2=1.36
--- device-mapper/lib/Makefile.in 2007/09/18 13:02:58 1.36
+++ device-mapper/lib/Makefile.in 2007/10/03 10:48:27 1.37
@@ -41,7 +41,7 @@
else
LIB_SHARED = $(interface)/libdevmapper.so
endif
-VERSIONED_SHLIB = $(interface)/libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
+VERSIONED_SHLIB = libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
DEFS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \
-DDEVICE_MODE=@DEVICE_MODE@
@@ -87,10 +87,13 @@
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/libdevmapper.a.$(LIB_VERSION)
+$(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION): $(interface)/%.$(LIB_SUFFIX)
+ rm -f $@
+ $(LN_S) $< $@
+
.PHONY: distclean_lib distclean
-distclean_lib:
+distclean_lib:
$(RM) libdevmapper.pc
distclean: distclean_lib
-
--- device-mapper/make.tmpl.in 2007/10/03 09:00:45 1.35
+++ device-mapper/make.tmpl.in 2007/10/03 10:48:27 1.36
@@ -172,10 +172,6 @@
$(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
endif
-$(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION): %.$(LIB_SUFFIX)
- rm -f $(notdir $@)
- $(LN_S) $< $(notdir $@)
-
$(LIB_STATIC): $(OBJECTS)
$(RM) $@
$(AR) rs $@ $(OBJECTS)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-03 10:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 10:48 device-mapper lib/Makefile.in ./make.tmpl.in meyering
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.