From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm57C-0005KA-W0 for qemu-devel@nongnu.org; Fri, 21 Dec 2012 11:06:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm577-0006oJ-5v for qemu-devel@nongnu.org; Fri, 21 Dec 2012 11:06:26 -0500 Received: from mail-ia0-f177.google.com ([209.85.210.177]:37058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm577-0006o7-0M for qemu-devel@nongnu.org; Fri, 21 Dec 2012 11:06:21 -0500 Received: by mail-ia0-f177.google.com with SMTP id u21so3945897ial.8 for ; Fri, 21 Dec 2012 08:06:20 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 21 Dec 2012 17:05:30 +0100 Message-Id: <1356105948-13216-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1356105948-13216-1-git-send-email-pbonzini@redhat.com> References: <1356105948-13216-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 09/27] libcacard: prepare to use -y trick in the Makefile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alevy@redhat.com, vilanova@ac.upc.edu, afaerber@suse.de Rename variables to follow the conventions of the rest of the build systems. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index a526eae..ddab5d8 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -7,17 +7,15 @@ libcacard_includedir=$(includedir)/cacard $(call set-vpath, $(SRC_PATH)) # objects linked into a shared library, built with libtool with -fPIC if required -QEMU_OBJS=$(oslib-obj-y) qemu-timer-common.o error.o $(trace-obj-y) $(stub-obj-y) -QEMU_OBJS_LIB=$(patsubst %.o,%.lo,$(QEMU_OBJS)) +libcacard-obj-y=$(oslib-obj-y) error.o $(trace-obj-y) $(stub-obj-y) $(libcacard-y) +libcacard-lobj-y=$(patsubst %.o,%.lo,$(libcacard-obj-y)) # libtool will build the .o files, too $(libcacard-obj-y): | $(libcacard-lobj-y) QEMU_CFLAGS+=-I../ -libcacard.lib-y=$(patsubst %.o,%.lo,$(libcacard-y)) - -vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o cutils.o +vscclient: vscclient.o $(libcacard-obj-y) $(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@") clean: @@ -31,7 +29,7 @@ all: libcacard.la libcacard.pc ######################################################################### # Rules for building libcacard standalone library -libcacard.la: $(libcacard.lib-y) $(QEMU_OBJS_LIB) +libcacard.la: $(libcacard-lobj-y) $(call quiet-command,$(LIBTOOL) --mode=link --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs)," lt LINK $@") libcacard_srcpath=$(SRC_PATH)/libcacard -- 1.7.1