diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-20 15:58:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-12 18:42:50 +0100 |
commit | baacf04799ace72a9c735dd9306a1ceaf305e7cf (patch) | |
tree | 5e6750afe4b31c4343f9dd4bc07827cbdcb51466 | |
parent | f157ebba2de4a6225679e13cc1ce01ff5d147c76 (diff) | |
download | qemu-baacf04799ace72a9c735dd9306a1ceaf305e7cf.zip qemu-baacf04799ace72a9c735dd9306a1ceaf305e7cf.tar.gz qemu-baacf04799ace72a9c735dd9306a1ceaf305e7cf.tar.bz2 |
build: move libqemuutil.a components to util/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | Makefile.objs | 12 | ||||
-rw-r--r-- | libcacard/Makefile | 6 | ||||
-rw-r--r-- | util/Makefile.objs | 10 | ||||
-rw-r--r-- | util/acl.c (renamed from acl.c) | 0 | ||||
-rw-r--r-- | util/aes.c (renamed from aes.c) | 0 | ||||
-rw-r--r-- | util/bitmap.c (renamed from bitmap.c) | 0 | ||||
-rw-r--r-- | util/bitops.c (renamed from bitops.c) | 0 | ||||
-rw-r--r-- | util/cache-utils.c (renamed from cache-utils.c) | 0 | ||||
-rw-r--r-- | util/compatfd.c (renamed from compatfd.c) | 0 | ||||
-rw-r--r-- | util/cutils.c (renamed from cutils.c) | 0 | ||||
-rw-r--r-- | util/envlist.c (renamed from envlist.c) | 0 | ||||
-rw-r--r-- | util/error.c (renamed from error.c) | 0 | ||||
-rw-r--r-- | util/event_notifier-posix.c (renamed from event_notifier-posix.c) | 0 | ||||
-rw-r--r-- | util/event_notifier-win32.c (renamed from event_notifier-win32.c) | 0 | ||||
-rw-r--r-- | util/host-utils.c (renamed from host-utils.c) | 0 | ||||
-rw-r--r-- | util/iov.c (renamed from iov.c) | 0 | ||||
-rw-r--r-- | util/module.c (renamed from module.c) | 0 | ||||
-rw-r--r-- | util/notify.c (renamed from notify.c) | 0 | ||||
-rw-r--r-- | util/osdep.c (renamed from osdep.c) | 0 | ||||
-rw-r--r-- | util/oslib-posix.c (renamed from oslib-posix.c) | 0 | ||||
-rw-r--r-- | util/oslib-win32.c (renamed from oslib-win32.c) | 0 | ||||
-rw-r--r-- | util/path.c (renamed from path.c) | 0 | ||||
-rw-r--r-- | util/qemu-config.c (renamed from qemu-config.c) | 0 | ||||
-rw-r--r-- | util/qemu-error.c (renamed from qemu-error.c) | 0 | ||||
-rw-r--r-- | util/qemu-option.c (renamed from qemu-option.c) | 0 | ||||
-rw-r--r-- | util/qemu-progress.c (renamed from qemu-progress.c) | 0 | ||||
-rw-r--r-- | util/qemu-sockets.c (renamed from qemu-sockets.c) | 0 | ||||
-rw-r--r-- | util/qemu-thread-posix.c (renamed from qemu-thread-posix.c) | 0 | ||||
-rw-r--r-- | util/qemu-thread-win32.c (renamed from qemu-thread-win32.c) | 0 | ||||
-rw-r--r-- | util/qemu-timer-common.c (renamed from qemu-timer-common.c) | 0 | ||||
-rw-r--r-- | util/uri.c (renamed from uri.c) | 0 |
31 files changed, 15 insertions, 13 deletions
diff --git a/Makefile.objs b/Makefile.objs index 1c88fc1..3b777c8 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -29,16 +29,7 @@ universal-obj-y += $(hw-core-obj-y) ####################################################################### # util-obj-y is code depending on the OS (win32 vs posix) -util-obj-y = osdep.o cutils.o qemu-timer-common.o -util-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o event_notifier-win32.o -util-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o event_notifier-posix.o -util-obj-y += envlist.o path.o host-utils.o cache-utils.o module.o -util-obj-y += bitmap.o bitops.o -util-obj-y += acl.o -util-obj-y += error.o qemu-error.o -util-obj-$(CONFIG_POSIX) += compatfd.o -util-obj-y += iov.o aes.o qemu-config.o qemu-sockets.o uri.o notify.o -util-obj-y += qemu-option.o qemu-progress.o +util-obj-y += util/ ####################################################################### # coroutines @@ -177,6 +168,7 @@ QEMU_CFLAGS+=$(GLIB_CFLAGS) nested-vars += \ stub-obj-y \ + util-obj-y \ qga-obj-y \ qom-obj-y \ qapi-obj-y \ diff --git a/libcacard/Makefile b/libcacard/Makefile index 63295f5..c658d3a 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -4,9 +4,9 @@ TOOLS += vscclient$(EXESUF) # objects linked into a shared library, built with libtool with -fPIC if required 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-obj-y += util/osdep.o util/cutils.o util/qemu-timer-common.o util/error.o +libcacard-obj-$(CONFIG_WIN32) += util/oslib-win32.o util/qemu-thread-win32.o +libcacard-obj-$(CONFIG_POSIX) += util/oslib-posix.o util/qemu-thread-posix.o libcacard-lobj-y=$(patsubst %.o,%.lo,$(libcacard-obj-y)) diff --git a/util/Makefile.objs b/util/Makefile.objs new file mode 100644 index 0000000..5baeb53 --- /dev/null +++ b/util/Makefile.objs @@ -0,0 +1,10 @@ +util-obj-y = osdep.o cutils.o qemu-timer-common.o +util-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o event_notifier-win32.o +util-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o event_notifier-posix.o +util-obj-y += envlist.o path.o host-utils.o cache-utils.o module.o +util-obj-y += bitmap.o bitops.o +util-obj-y += acl.o +util-obj-y += error.o qemu-error.o +util-obj-$(CONFIG_POSIX) += compatfd.o +util-obj-y += iov.o aes.o qemu-config.o qemu-sockets.o uri.o notify.o +util-obj-y += qemu-option.o qemu-progress.o diff --git a/cache-utils.c b/util/cache-utils.c index b94013a..b94013a 100644 --- a/cache-utils.c +++ b/util/cache-utils.c diff --git a/compatfd.c b/util/compatfd.c index 9cf3f28..9cf3f28 100644 --- a/compatfd.c +++ b/util/compatfd.c diff --git a/envlist.c b/util/envlist.c index ff99fc4..ff99fc4 100644 --- a/envlist.c +++ b/util/envlist.c diff --git a/event_notifier-posix.c b/util/event_notifier-posix.c index 713d756..713d756 100644 --- a/event_notifier-posix.c +++ b/util/event_notifier-posix.c diff --git a/event_notifier-win32.c b/util/event_notifier-win32.c index 6dbb530..6dbb530 100644 --- a/event_notifier-win32.c +++ b/util/event_notifier-win32.c diff --git a/host-utils.c b/util/host-utils.c index 5e3915a..5e3915a 100644 --- a/host-utils.c +++ b/util/host-utils.c diff --git a/oslib-posix.c b/util/oslib-posix.c index 4f5ec67..4f5ec67 100644 --- a/oslib-posix.c +++ b/util/oslib-posix.c diff --git a/oslib-win32.c b/util/oslib-win32.c index e7e283e..e7e283e 100644 --- a/oslib-win32.c +++ b/util/oslib-win32.c diff --git a/qemu-config.c b/util/qemu-config.c index 47c81f7..47c81f7 100644 --- a/qemu-config.c +++ b/util/qemu-config.c diff --git a/qemu-error.c b/util/qemu-error.c index 08a36f4..08a36f4 100644 --- a/qemu-error.c +++ b/util/qemu-error.c diff --git a/qemu-option.c b/util/qemu-option.c index f532b76..f532b76 100644 --- a/qemu-option.c +++ b/util/qemu-option.c diff --git a/qemu-progress.c b/util/qemu-progress.c index 9a3f96c..9a3f96c 100644 --- a/qemu-progress.c +++ b/util/qemu-progress.c diff --git a/qemu-sockets.c b/util/qemu-sockets.c index 3537bf3..3537bf3 100644 --- a/qemu-sockets.c +++ b/util/qemu-sockets.c diff --git a/qemu-thread-posix.c b/util/qemu-thread-posix.c index 4489abf..4489abf 100644 --- a/qemu-thread-posix.c +++ b/util/qemu-thread-posix.c diff --git a/qemu-thread-win32.c b/util/qemu-thread-win32.c index 517878d..517878d 100644 --- a/qemu-thread-win32.c +++ b/util/qemu-thread-win32.c diff --git a/qemu-timer-common.c b/util/qemu-timer-common.c index 16f5e75..16f5e75 100644 --- a/qemu-timer-common.c +++ b/util/qemu-timer-common.c |