提交 512bf1a6 编写于 作者: D Daniel P. Berrange

Fix coverage file generation

上级 fce0ce6f
Thu Jun 14 21:15:28 EST 2007 Daniel Berrange <berrange@redhat.com>
* src/Makefile.am: Fix generation of coverage files by
excluding files for server protocol
Wed Jun 13 11:30:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: patch from Saori Fukuta for messages
......
......@@ -24,7 +24,8 @@ libvirt_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libvirt_sym.version \
-version-info @LIBVIRT_VERSION_INFO@ \
$(COVERAGE_CFLAGS:-f%=-Wc,-f%)
libvirt_la_CFLAGS = $(COVERAGE_CFLAGS)
libvirt_la_SOURCES = \
CLIENT_SOURCES = \
libvirt.c internal.h \
hash.c hash.h \
test.c test.h \
......@@ -39,11 +40,15 @@ libvirt_la_SOURCES = \
proxy_internal.c proxy_internal.h \
conf.c conf.h \
xm_internal.c xm_internal.h \
../qemud/protocol.h ../qemud/protocol.c \
qemu_internal.c qemu_internal.h \
../qemud/remote_protocol.c ../qemud/remote_protocol.h \
remote_internal.c remote_internal.h
SERVER_SOURCES = \
../qemud/protocol.h ../qemud/protocol.c \
../qemud/remote_protocol.c ../qemud/remote_protocol.h
libvirt_la_SOURCES = $(CLIENT_SOURCES) $(SERVER_SOURCES)
bin_PROGRAMS = virsh
virsh_SOURCES = virsh.c console.c console.h
......@@ -58,7 +63,7 @@ virsh_CFLAGS = $(COVERAGE_CFLAGS)
tst: tst.c
$(CC) $(CFLAGS) -I../include -o tst tst.c .libs/libvirt.a -lxml2 -lxenstore -lpthread
COVERAGE_FILES = $(libvirt_la_SOURCES:%.c=libvirt_la-%.cov)
COVERAGE_FILES = $(CLIENT_SOURCES:%.c=libvirt_la-%.cov)
cov: clean-cov $(COVERAGE_FILES)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册