ia64/xen-unstable

changeset 3585:0c8d62df84ae

bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw)

Fix makefiles creating copies instead of symlinks of shared libs.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
author kaf24@scramble.cl.cam.ac.uk
date Fri Jan 28 23:19:23 2005 +0000 (2005-01-28)
parents 3857ec2f2189
children c3c66a2762cb 48cc820f2cff
files tools/libxc/Makefile tools/libxutil/Makefile
line diff
     1.1 --- a/tools/libxc/Makefile	Fri Jan 28 15:39:31 2005 +0000
     1.2 +++ b/tools/libxc/Makefile	Fri Jan 28 23:19:23 2005 +0000
     1.3 @@ -68,7 +68,7 @@ mk-symlinks:
     1.4  install: all
     1.5  	[ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) $(DESTDIR)/usr/lib
     1.6  	[ -d $(DESTDIR)/usr/include ] || $(INSTALL_DIR) $(DESTDIR)/usr/include
     1.7 -	$(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib
     1.8 +	$(INSTALL_PROG) libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib
     1.9  	ln -sf libxc.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/libxc.so.$(MAJOR)
    1.10  	ln -sf libxc.so.$(MAJOR) $(DESTDIR)/usr/lib/libxc.so
    1.11  	$(INSTALL_DATA) xc.h $(DESTDIR)/usr/include
     2.1 --- a/tools/libxutil/Makefile	Fri Jan 28 15:39:31 2005 +0000
     2.2 +++ b/tools/libxutil/Makefile	Fri Jan 28 23:19:23 2005 +0000
     2.3 @@ -64,7 +64,7 @@ check-for-zlib:
     2.4  
     2.5  install: all
     2.6  	[ -d $(DESTDIR)/usr/lib ] || $(INSTALL_DIR) -p $(DESTDIR)/usr/lib
     2.7 -	$(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/lib
     2.8 +	$(INSTALL_PROG) $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib
     2.9  	ln -sf $(LIB_NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so.$(MAJOR)
    2.10  	ln -sf $(LIB_NAME).so.$(MAJOR) $(DESTDIR)/usr/lib/$(LIB_NAME).so
    2.11