aboutsummaryrefslogtreecommitdiff
path: root/libcacard/Makefile
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2011-03-17 16:38:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-04-01 19:07:49 -0500
commit2ac85b93b0487b362188a62eef685e6f9e7729ce (patch)
tree14da8870fc2ccc782c7074ef29cd81529d6ff906 /libcacard/Makefile
parent111a38b018c86e6651750c5a548ad534f80b5bb5 (diff)
libcacard: add vscclient
client to talk to ccid-card-passthru and use smartcard on client to perform actual operations. v23->v24 changes: (Jes Sorensen review 2) * use qemu_socket instead of socket * use fprintf(stderr,..) for errors * remove unneccessary includes since using qemu_common.h
Diffstat (limited to 'libcacard/Makefile')
-rw-r--r--libcacard/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 0211eacb64..4010029173 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -15,6 +15,11 @@ QEMU_OBJS=$(addprefix ../, $(QEMU_THREAD) $(oslib-obj-y) $(trace-obj-y) qemu-mal
QEMU_CFLAGS+=-I../
+vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o
+ $(call quiet-command,$(CC) $(libcacard_libs) -lrt -o $@ $^," LINK $(TARGET_DIR)$@")
+
+all: vscclient
+
clean:
- rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
+ rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient