aboutsummaryrefslogtreecommitdiff
path: root/libcacard/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-20 18:24:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-12 18:42:50 +0100
commitd9dc91ace82d1c4ca6f2c6f10a9cfcacf988662e (patch)
treeb656e05ea9f248bddc12b37a591562166f59ed26 /libcacard/Makefile
parent26ca8c06d2e4fb43903c9d5e8ebe27792ffc461b (diff)
libcacard: list oslib-obj-y file explicitly
We will grow the list of files in the next patches, but libcacard should remain slim. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'libcacard/Makefile')
-rw-r--r--libcacard/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 259ecf257d..63295f5ae6 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -3,7 +3,11 @@ libcacard_includedir=$(includedir)/cacard
TOOLS += vscclient$(EXESUF)
# objects linked into a shared library, built with libtool with -fPIC if required
-libcacard-obj-y=$(oslib-obj-y) error.o $(trace-obj-y) $(stub-obj-y) $(libcacard-y)
+libcacard-obj-y = $(trace-obj-y) $(stub-obj-y) $(libcacard-y)
+libcacard-obj-y += osdep.o cutils.o qemu-timer-common.o error.o
+libcacard-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o
+libcacard-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o
+
libcacard-lobj-y=$(patsubst %.o,%.lo,$(libcacard-obj-y))
# libtool will build the .o files, too