ia64/xen-unstable

changeset 10723:405c7e86b24a

Shared libs have traditionally been installed as executables due to
some
long ago accidents of implementation in historical Unixes. And there
are various tools which "expect" it (... and this is why they get
created as executable by default by ld).

Switching to INSTALL_LIB here although I think the whole "define all
the
ways you're going to use install" in this makefile a _smidge_ overkill

Signed-off-by: Jeremy Katz <katzj@redhat.com>
author kfraser@localhost.localdomain
date Mon Jul 10 17:38:41 2006 +0100 (2006-07-10)
parents 28b766e3bcca
children bc2f68334e96
files tools/xenstore/Makefile
line diff
     1.1 --- a/tools/xenstore/Makefile	Mon Jul 10 17:36:41 2006 +0100
     1.2 +++ b/tools/xenstore/Makefile	Mon Jul 10 17:38:41 2006 +0100
     1.3 @@ -5,6 +5,7 @@ XEN_LIBXC          = $(XEN_ROOT)/tools/l
     1.4  INSTALL         = install
     1.5  INSTALL_DATA	= $(INSTALL) -m0644
     1.6  INSTALL_PROG    = $(INSTALL) -m0755
     1.7 +INSTALL_LIBS    = $(INSTALL) -m0755
     1.8  INSTALL_DIR     = $(INSTALL) -d -m0755
     1.9  
    1.10  PROFILE=#-pg
    1.11 @@ -171,7 +172,7 @@ install: all
    1.12  	$(INSTALL_PROG) xenstore-control $(DESTDIR)/usr/bin
    1.13  	$(INSTALL_PROG) xenstore-ls $(DESTDIR)/usr/bin
    1.14  	$(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
    1.15 -	$(INSTALL_DATA) libxenstore.so $(DESTDIR)/usr/$(LIBDIR)
    1.16 +	$(INSTALL_LIBS) libxenstore.so $(DESTDIR)/usr/$(LIBDIR)
    1.17  	$(INSTALL_DATA) xs.h $(DESTDIR)/usr/include
    1.18  	$(INSTALL_DATA) xs_lib.h $(DESTDIR)/usr/include
    1.19