diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:29:15 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-28 09:29:15 +0100 |
commit | 7f9a888af4b65cb8c22cea3c8295d30d0fedd623 (patch) | |
tree | 84001e50ab1b7f9fa6bb45494dab0d241cc72253 /tools/libxc/Makefile | |
parent | 36cfb6aa84c1b5a5b5ac15883e34b10f32ab0ab8 (diff) | |
download | xen-7f9a888af4b65cb8c22cea3c8295d30d0fedd623.tar.gz xen-7f9a888af4b65cb8c22cea3c8295d30d0fedd623.tar.bz2 xen-7f9a888af4b65cb8c22cea3c8295d30d0fedd623.zip |
xtl: New xentoollog mini-library.
We provide a new header file "xentoollog.h" which defines an interface
that libraries and applications can use for logging. This avoids
having to wrap each library's log callbacks up, massage arguments to
log callbacks, and so on.
The library's .o files are within libxc to avoid having to create a
separate lib*.a, but callers do not need to #include xenctrl.h and it
should be regarded as a separate API.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r-- | tools/libxc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index 948be66166..0ef99068ec 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -27,6 +27,8 @@ CTRL_SRCS-y += xc_tmem.c CTRL_SRCS-y += xc_mem_event.c CTRL_SRCS-y += xc_mem_paging.c CTRL_SRCS-y += xc_memshr.c +CTRL_SRCS-y += xtl_core.c +CTRL_SRCS-y += xtl_logger_stdio.c CTRL_SRCS-$(CONFIG_X86) += xc_pagetab.c CTRL_SRCS-$(CONFIG_Linux) += xc_linux.c CTRL_SRCS-$(CONFIG_SunOS) += xc_solaris.c @@ -105,8 +107,7 @@ install: build $(INSTALL_DATA) libxenctrl.a $(DESTDIR)$(LIBDIR) ln -sf libxenctrl.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libxenctrl.so.$(MAJOR) ln -sf libxenctrl.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libxenctrl.so - $(INSTALL_DATA) xenctrl.h $(DESTDIR)$(INCLUDEDIR) - + $(INSTALL_DATA) xenctrl.h xentoollog.h $(DESTDIR)$(INCLUDEDIR) $(INSTALL_PROG) libxenguest.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR) $(INSTALL_DATA) libxenguest.a $(DESTDIR)$(LIBDIR) ln -sf libxenguest.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libxenguest.so.$(MAJOR) |