qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] libcacard: build vscclient from root only


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] libcacard: build vscclient from root only
Date: Wed, 28 Nov 2012 11:09:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Il 28/11/2012 10:26, Alon Levy ha scritto:
> Signed-off-by: Alon Levy <address@hidden>
> ---
>  libcacard/Makefile | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/libcacard/Makefile b/libcacard/Makefile
> index 7bce286..98c971d 100644
> --- a/libcacard/Makefile
> +++ b/libcacard/Makefile
> @@ -1,3 +1,7 @@
> +ifeq ($(BUILD_DIR),)
> +     BUILD_DIR=$(CURDIR)/../
> +endif
> +
>  -include ../config-host.mak
>  -include $(SRC_PATH)/rules.mak
>  -include $(SRC_PATH)/Makefile.objs
> @@ -49,12 +53,12 @@ libcacard.pc: $(libcacard_srcpath)/libcacard.pc.in
>  
>  .PHONY: install-libcacard
>  
> -install-libcacard: libcacard.pc libcacard.la vscclient
> +install-libcacard: libcacard.pc libcacard.la ../vscclient
>       $(INSTALL_DIR) "$(DESTDIR)$(libdir)"
>       $(INSTALL_DIR) "$(DESTDIR)$(libdir)/pkgconfig"
>       $(INSTALL_DIR) "$(DESTDIR)$(libcacard_includedir)"
>       $(INSTALL_DIR) "$(DESTDIR)$(bindir)"
> -     $(LIBTOOL) --mode=install $(INSTALL_PROG) vscclient 
> "$(DESTDIR)$(bindir)"
> +     $(LIBTOOL) --mode=install $(INSTALL_PROG) ../vscclient 
> "$(DESTDIR)$(bindir)"
>       $(LIBTOOL) --mode=install $(INSTALL_DATA) libcacard.la 
> "$(DESTDIR)$(libdir)"
>       $(LIBTOOL) --mode=install $(INSTALL_DATA) libcacard.pc 
> "$(DESTDIR)$(libdir)/pkgconfig"
>       for inc in *.h; do \
> 

Can you instead move all the vscclient rules to libcacard/Makefile
(including building the program as libcacard/vscclient)?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]