summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-29 11:40:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-06-07 09:21:18 +0200
commit00c705fb92bc6e69e955aeac3614e05ca02feacd (patch)
tree106512286fdae214cf08ab41e7913bca388d42f0 /Makefile
parent49ac9e0a8cfb737d6da9c0b056c062e3dec0ba45 (diff)
downloadqemu-00c705fb92bc6e69e955aeac3614e05ca02feacd.tar.gz
qemu-00c705fb92bc6e69e955aeac3614e05ca02feacd.tar.bz2
qemu-00c705fb92bc6e69e955aeac3614e05ca02feacd.zip
build: libcacard Makefile cleanups
Build vscclient from toplevel Makefile, limit usage of vpath. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a10005a22f..1d34b9539e 100644
--- a/Makefile
+++ b/Makefile
@@ -147,6 +147,10 @@ libcacard.la: $(oslib-obj-y) qemu-timer-common.o $(addsuffix .lo, $(basename $(t
install-libcacard: libcacard.la
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" install-libcacard,)
endif
+
+vscclient$(EXESUF): $(libcacard-y) $(oslib-obj-y) qemu-timer-common.o libcacard/vscclient.o
+ $(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@")
+
######################################################################
qemu-img.o: qemu-img-cmds.h