2006-05-09 15:35:46 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
2013-02-08 16:44:21 -07:00
|
|
|
## Copyright (C) 2005-2013 Red Hat, Inc.
|
2011-07-28 12:56:24 -06:00
|
|
|
## See COPYING.LIB for the License of this software
|
|
|
|
|
|
2008-03-24 10:19:36 +00:00
|
|
|
SHELL = $(PREFERABLY_POSIX_SHELL)
|
|
|
|
|
|
2006-05-09 15:35:46 +00:00
|
|
|
INCLUDES = \
|
2012-04-10 14:03:46 +02:00
|
|
|
-I$(top_builddir) -I$(top_srcdir) \
|
2012-02-02 13:20:09 -07:00
|
|
|
-I$(top_builddir)/gnulib/lib -I$(top_srcdir)/gnulib/lib \
|
|
|
|
|
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
|
|
|
|
-I$(top_builddir)/src -I$(top_srcdir)/src \
|
2009-09-16 16:28:46 +01:00
|
|
|
-I$(top_srcdir)/src/util \
|
2011-07-28 14:55:21 +02:00
|
|
|
-I$(top_srcdir)/src/conf \
|
|
|
|
|
$(GETTEXT_CPPFLAGS)
|
2011-05-31 16:15:28 -06:00
|
|
|
|
|
|
|
|
AM_CFLAGS = \
|
2013-02-26 09:40:38 -07:00
|
|
|
-Dabs_builddir="\"`pwd`\"" \
|
2007-09-19 17:42:40 +00:00
|
|
|
$(LIBXML_CFLAGS) \
|
|
|
|
|
$(GNUTLS_CFLAGS) \
|
2007-12-05 15:24:15 +00:00
|
|
|
$(SASL_CFLAGS) \
|
2008-02-20 15:38:29 +00:00
|
|
|
$(SELINUX_CFLAGS) \
|
2009-10-08 16:34:22 +02:00
|
|
|
$(APPARMOR_CFLAGS) \
|
2011-06-30 15:08:29 +01:00
|
|
|
$(YAJL_CFLAGS) \
|
2011-05-31 16:15:28 -06:00
|
|
|
$(COVERAGE_CFLAGS) \
|
|
|
|
|
$(WARN_CFLAGS)
|
2007-02-14 02:12:41 +00:00
|
|
|
|
2008-11-21 12:16:08 +00:00
|
|
|
if WITH_DRIVER_MODULES
|
|
|
|
|
INCLUDES += \
|
|
|
|
|
-DTEST_DRIVER_DIR=\"$(top_builddir)/src/.libs\"
|
|
|
|
|
endif
|
|
|
|
|
|
2011-10-11 13:18:37 -06:00
|
|
|
PROBES_O =
|
2012-02-24 15:10:53 +00:00
|
|
|
if WITH_DTRACE_PROBES
|
2012-05-25 09:57:56 -06:00
|
|
|
PROBES_O += ../src/libvirt_probes.lo
|
2011-10-11 13:18:37 -06:00
|
|
|
endif
|
|
|
|
|
|
2006-05-09 15:35:46 +00:00
|
|
|
LDADDS = \
|
2007-05-29 14:44:15 +00:00
|
|
|
$(WARN_CFLAGS) \
|
2011-10-11 13:18:37 -06:00
|
|
|
$(PROBES_O) \
|
2012-04-02 16:45:01 +01:00
|
|
|
../src/libvirt.la \
|
|
|
|
|
../gnulib/lib/libgnu.la
|
2006-05-09 15:35:46 +00:00
|
|
|
|
2007-11-14 10:35:58 +00:00
|
|
|
EXTRA_DIST = \
|
2009-01-27 15:29:53 +00:00
|
|
|
capabilityschemadata \
|
2010-12-16 11:24:00 -07:00
|
|
|
capabilityschematest \
|
|
|
|
|
commanddata \
|
|
|
|
|
confdata \
|
|
|
|
|
cputestdata \
|
2009-01-27 15:29:53 +00:00
|
|
|
domainschemadata \
|
2010-12-16 11:24:00 -07:00
|
|
|
domainschematest \
|
|
|
|
|
domainsnapshotschematest \
|
|
|
|
|
domainsnapshotxml2xmlin \
|
|
|
|
|
domainsnapshotxml2xmlout \
|
2009-07-22 05:07:07 -04:00
|
|
|
interfaceschemadata \
|
2012-03-26 18:09:31 +01:00
|
|
|
lxcxml2xmldata \
|
2010-12-16 11:24:00 -07:00
|
|
|
networkschematest \
|
|
|
|
|
networkxml2xmlin \
|
|
|
|
|
networkxml2xmlout \
|
2012-12-06 12:20:39 -05:00
|
|
|
networkxml2confdata \
|
2010-12-16 11:24:00 -07:00
|
|
|
nodedevschemadata \
|
|
|
|
|
nodedevschematest \
|
|
|
|
|
nodeinfodata \
|
|
|
|
|
nwfilterschematest \
|
|
|
|
|
nwfilterxml2xmlin \
|
|
|
|
|
nwfilterxml2xmlout \
|
|
|
|
|
oomtrace.pl \
|
|
|
|
|
qemuhelpdata \
|
|
|
|
|
qemuxml2argvdata \
|
|
|
|
|
qemuxml2xmloutdata \
|
2011-10-18 21:16:01 +02:00
|
|
|
qemuxmlnsdata \
|
2012-09-19 14:00:34 +01:00
|
|
|
securityselinuxlabeldata \
|
2010-12-16 11:24:00 -07:00
|
|
|
schematestutils.sh \
|
|
|
|
|
sexpr2xmldata \
|
2009-01-27 15:29:53 +00:00
|
|
|
storagepoolschematest \
|
2009-10-08 17:26:30 -04:00
|
|
|
storagepoolxml2xmlin \
|
2010-12-16 11:24:00 -07:00
|
|
|
storagepoolxml2xmlout \
|
2013-02-18 13:43:28 +01:00
|
|
|
storagevolxml2argvdata \
|
2009-01-27 15:29:53 +00:00
|
|
|
storagevolschematest \
|
2009-10-09 14:17:21 -04:00
|
|
|
storagevolxml2xmlin \
|
2010-12-16 11:24:00 -07:00
|
|
|
storagevolxml2xmlout \
|
2012-12-14 16:08:25 +01:00
|
|
|
sysinfodata \
|
2010-12-16 11:24:00 -07:00
|
|
|
test-lib.sh \
|
2009-12-23 23:02:44 +01:00
|
|
|
vmx2xmldata \
|
2010-12-16 11:24:00 -07:00
|
|
|
xencapsdata \
|
|
|
|
|
xmconfigdata \
|
|
|
|
|
xml2sexprdata \
|
2011-06-30 23:23:23 +08:00
|
|
|
xml2vmxdata \
|
|
|
|
|
.valgrind.supp
|
2006-05-09 15:35:46 +00:00
|
|
|
|
2013-03-19 14:36:28 -04:00
|
|
|
test_helpers = commandhelper ssh test_conf
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs = virshtest sockettest \
|
2012-03-23 16:04:18 -06:00
|
|
|
nodeinfotest virbuftest \
|
2012-03-27 16:35:01 +01:00
|
|
|
commandtest seclabeltest \
|
|
|
|
|
virhashtest virnetmessagetest virnetsockettest \
|
2012-07-11 14:35:43 +01:00
|
|
|
viratomictest \
|
2013-01-07 14:54:18 +00:00
|
|
|
utiltest shunloadtest \
|
2012-03-20 15:40:05 +00:00
|
|
|
virtimetest viruritest virkeyfiletest \
|
2012-09-14 15:46:57 +08:00
|
|
|
virauthconfigtest \
|
2013-02-08 16:44:21 -07:00
|
|
|
virbitmaptest virendiantest \
|
2012-01-20 17:49:32 +00:00
|
|
|
viridentitytest \
|
2012-08-02 17:02:40 +01:00
|
|
|
virlockspacetest \
|
2012-11-30 15:21:02 +00:00
|
|
|
virstringtest \
|
2013-01-09 15:11:50 +00:00
|
|
|
virportallocatortest \
|
2012-12-14 16:08:25 +01:00
|
|
|
sysinfotest \
|
2013-02-13 11:04:05 -07:00
|
|
|
virstoragetest \
|
2012-08-02 17:02:40 +01:00
|
|
|
$(NULL)
|
2011-09-01 17:57:06 +01:00
|
|
|
|
2013-01-08 21:02:05 +00:00
|
|
|
if WITH_GNUTLS
|
2013-01-07 14:54:18 +00:00
|
|
|
test_programs += virnettlscontexttest
|
|
|
|
|
endif
|
|
|
|
|
|
2012-08-10 14:31:14 +01:00
|
|
|
if WITH_SECDRIVER_SELINUX
|
|
|
|
|
test_programs += securityselinuxtest
|
2013-01-30 16:44:06 +01:00
|
|
|
if WITH_QEMU
|
2012-09-19 14:00:34 +01:00
|
|
|
if WITH_ATTR
|
|
|
|
|
test_programs += securityselinuxlabeltest
|
|
|
|
|
endif
|
2012-08-10 14:31:14 +01:00
|
|
|
endif
|
2013-01-30 16:44:06 +01:00
|
|
|
endif
|
2012-08-10 14:31:14 +01:00
|
|
|
|
2012-04-02 17:25:30 +01:00
|
|
|
if WITH_DRIVER_MODULES
|
|
|
|
|
test_programs += virdrivermoduletest
|
|
|
|
|
endif
|
|
|
|
|
|
2010-12-06 17:03:35 +00:00
|
|
|
# This is a fake SSH we use from virnetsockettest
|
|
|
|
|
ssh_SOURCES = ssh.c
|
|
|
|
|
ssh_LDADD = $(COVERAGE_LDFLAGS)
|
2006-08-24 15:05:19 +00:00
|
|
|
|
2008-11-24 19:23:39 +00:00
|
|
|
if WITH_XEN
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += xml2sexprtest sexpr2xmltest \
|
2011-07-07 15:53:41 -06:00
|
|
|
xmconfigtest xencapstest statstest reconnect
|
2008-11-24 19:23:39 +00:00
|
|
|
endif
|
2008-11-18 12:46:13 +00:00
|
|
|
if WITH_QEMU
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += qemuxml2argvtest qemuxml2xmltest qemuxmlnstest \
|
2012-02-25 16:48:02 -08:00
|
|
|
qemuargv2xmltest qemuhelptest domainsnapshotxml2xmltest \
|
2012-08-20 13:31:29 +01:00
|
|
|
qemumonitortest qemumonitorjsontest
|
2008-11-18 12:46:13 +00:00
|
|
|
endif
|
|
|
|
|
|
2012-03-26 18:09:31 +01:00
|
|
|
if WITH_LXC
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += lxcxml2xmltest
|
2012-03-26 18:09:31 +01:00
|
|
|
endif
|
|
|
|
|
|
2011-05-26 19:45:41 +02:00
|
|
|
if WITH_OPENVZ
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += openvzutilstest
|
2011-05-26 19:45:41 +02:00
|
|
|
endif
|
|
|
|
|
|
2009-09-23 14:25:52 +02:00
|
|
|
if WITH_ESX
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += esxutilstest
|
2010-12-21 22:39:55 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if WITH_VMX
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += vmx2xmltest xml2vmxtest
|
2009-09-23 14:25:52 +02:00
|
|
|
endif
|
|
|
|
|
|
2009-05-19 10:17:17 +00:00
|
|
|
if WITH_CIL
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += object-locking
|
2009-05-19 10:17:17 +00:00
|
|
|
endif
|
|
|
|
|
|
2012-09-20 12:57:13 +01:00
|
|
|
if WITH_YAJL
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += jsontest
|
2011-06-30 15:08:29 +01:00
|
|
|
endif
|
|
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += networkxml2xmltest
|
2009-10-09 08:47:43 -04:00
|
|
|
|
2011-07-05 15:26:18 +02:00
|
|
|
if WITH_NETWORK
|
2012-12-06 12:20:39 -05:00
|
|
|
test_programs += networkxml2conftest
|
2011-07-05 15:26:18 +02:00
|
|
|
endif
|
2011-06-24 12:04:37 +02:00
|
|
|
|
2012-07-18 20:06:58 +01:00
|
|
|
if WITH_STORAGE_SHEEPDOG
|
|
|
|
|
test_programs += storagebackendsheepdogtest
|
|
|
|
|
endif
|
|
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += nwfilterxml2xmltest
|
2010-04-02 13:28:28 -04:00
|
|
|
|
2013-02-18 13:43:28 +01:00
|
|
|
test_programs += storagevolxml2argvtest
|
|
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += storagevolxml2xmltest storagepoolxml2xmltest
|
2009-10-08 17:26:30 -04:00
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += nodedevxml2xmltest
|
2009-02-24 14:58:32 +00:00
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += interfacexml2xmltest
|
2009-07-15 19:50:34 +02:00
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
test_programs += cputest
|
2010-10-07 16:35:17 +02:00
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
test_scripts = \
|
|
|
|
|
capabilityschematest \
|
2009-07-15 19:50:34 +02:00
|
|
|
interfaceschematest \
|
2009-01-27 15:29:53 +00:00
|
|
|
networkschematest \
|
|
|
|
|
storagepoolschematest \
|
|
|
|
|
storagevolschematest \
|
|
|
|
|
domainschematest \
|
2010-04-06 11:09:46 -04:00
|
|
|
nodedevschematest \
|
2010-05-03 17:15:18 -04:00
|
|
|
nwfilterschematest \
|
|
|
|
|
domainsnapshotschematest
|
2009-01-27 15:29:53 +00:00
|
|
|
|
2008-06-26 09:37:51 +00:00
|
|
|
if WITH_LIBVIRTD
|
2009-01-16 18:07:24 +00:00
|
|
|
test_scripts += \
|
|
|
|
|
test_conf.sh \
|
|
|
|
|
cpuset \
|
|
|
|
|
define-dev-segfault \
|
|
|
|
|
int-overflow \
|
2009-03-02 20:01:05 +00:00
|
|
|
libvirtd-fail \
|
|
|
|
|
libvirtd-pool \
|
2009-01-16 18:07:24 +00:00
|
|
|
read-bufsiz \
|
|
|
|
|
read-non-seekable \
|
|
|
|
|
start \
|
|
|
|
|
vcpupin \
|
|
|
|
|
virsh-all \
|
2011-04-12 15:59:19 -06:00
|
|
|
virsh-optparse \
|
2010-05-11 15:38:21 +02:00
|
|
|
virsh-schedinfo \
|
2012-09-12 11:25:51 -06:00
|
|
|
virsh-synopsis \
|
|
|
|
|
virsh-undefine \
|
|
|
|
|
$(NULL)
|
2012-03-27 16:35:01 +01:00
|
|
|
|
2012-04-04 15:01:46 +01:00
|
|
|
test_programs += \
|
|
|
|
|
eventtest \
|
|
|
|
|
libvirtdconftest
|
2011-05-13 16:03:20 +08:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
|
test_conf.sh \
|
|
|
|
|
cpuset \
|
|
|
|
|
define-dev-segfault \
|
|
|
|
|
int-overflow \
|
|
|
|
|
libvirtd-fail \
|
|
|
|
|
libvirtd-pool \
|
|
|
|
|
read-bufsiz \
|
|
|
|
|
read-non-seekable \
|
|
|
|
|
start \
|
|
|
|
|
vcpupin \
|
|
|
|
|
virsh-all \
|
|
|
|
|
virsh-optparse \
|
|
|
|
|
virsh-schedinfo \
|
2012-09-12 11:25:51 -06:00
|
|
|
virsh-synopsis \
|
|
|
|
|
virsh-undefine \
|
|
|
|
|
$(NULL)
|
2008-06-26 09:37:51 +00:00
|
|
|
endif
|
2007-12-11 21:20:13 +00:00
|
|
|
|
2009-10-08 16:34:22 +02:00
|
|
|
if WITH_SECDRIVER_APPARMOR
|
|
|
|
|
test_scripts += virt-aa-helper-test
|
2009-12-14 13:40:42 +01:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += virt-aa-helper-test
|
2009-10-08 16:34:22 +02:00
|
|
|
endif
|
2009-12-14 13:40:42 +01:00
|
|
|
|
2007-11-14 10:35:58 +00:00
|
|
|
EXTRA_DIST += $(test_scripts)
|
|
|
|
|
|
2013-01-09 15:11:50 +00:00
|
|
|
test_libraries = libshunload.la \
|
|
|
|
|
libvirportallocatormock.la \
|
|
|
|
|
$(NULL)
|
2012-08-20 14:06:21 +01:00
|
|
|
if WITH_QEMU
|
|
|
|
|
test_libraries += libqemumonitortestutils.la
|
|
|
|
|
endif
|
|
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
if WITH_TESTS
|
|
|
|
|
noinst_PROGRAMS = $(test_programs) $(test_helpers)
|
2012-08-20 14:06:21 +01:00
|
|
|
noinst_LTLIBRARIES = $(test_libraries)
|
2012-03-27 16:35:01 +01:00
|
|
|
else
|
|
|
|
|
check_PROGRAMS = $(test_programs) $(test_helpers)
|
2012-08-20 14:06:21 +01:00
|
|
|
check_LTLIBRARIES = $(test_libraries)
|
2011-07-05 15:26:18 +02:00
|
|
|
endif
|
2011-06-24 12:04:37 +02:00
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
TESTS = $(test_programs) \
|
|
|
|
|
$(test_scripts)
|
2010-10-07 16:35:17 +02:00
|
|
|
|
2007-11-17 13:16:47 +00:00
|
|
|
# NB, automake < 1.10 does not provide the real
|
2010-12-14 17:23:22 -07:00
|
|
|
# abs_top_{src/build}dir or builddir variables, so don't rely
|
2007-11-17 13:16:47 +00:00
|
|
|
# on them here. Fake them with 'pwd'
|
2011-07-29 08:52:27 -06:00
|
|
|
# Also, BSD sh doesn't like 'a=b b=$$a', so we can't use an
|
|
|
|
|
# intermediate shell variable, but must do all the expansion in make
|
|
|
|
|
|
|
|
|
|
lv_abs_top_builddir=`cd '$(top_builddir)'; pwd`
|
|
|
|
|
path_add = $(lv_abs_top_builddir)/daemon$(PATH_SEPARATOR)$(lv_abs_top_builddir)/tools$(PATH_SEPARATOR)$(lv_abs_top_builddir)/tests
|
|
|
|
|
|
2007-11-12 14:00:32 +00:00
|
|
|
TESTS_ENVIRONMENT = \
|
2011-07-29 08:52:27 -06:00
|
|
|
abs_top_builddir=$(lv_abs_top_builddir) \
|
2008-03-24 10:18:36 +00:00
|
|
|
abs_top_srcdir=`cd '$(top_srcdir)'; pwd` \
|
2010-12-14 17:23:22 -07:00
|
|
|
abs_builddir=`pwd` \
|
2008-04-18 15:28:33 +00:00
|
|
|
abs_srcdir=`cd '$(srcdir)'; pwd` \
|
2009-03-04 13:04:06 +00:00
|
|
|
CONFIG_HEADER="`cd '$(top_builddir)'; pwd`/config.h" \
|
2008-03-24 10:18:36 +00:00
|
|
|
PATH="$(path_add)$(PATH_SEPARATOR)$$PATH" \
|
2008-03-24 10:19:36 +00:00
|
|
|
SHELL="$(SHELL)" \
|
2008-11-21 12:16:08 +00:00
|
|
|
LIBVIRT_DRIVER_DIR="$(abs_top_builddir)/src/.libs" \
|
2012-08-07 12:02:06 +01:00
|
|
|
LIBVIRT_AUTOSTART=0 \
|
2008-12-20 23:23:50 +00:00
|
|
|
LC_ALL=C \
|
2007-11-12 14:00:32 +00:00
|
|
|
$(VG)
|
|
|
|
|
|
2012-03-27 16:35:01 +01:00
|
|
|
|
2006-08-24 16:00:19 +00:00
|
|
|
valgrind:
|
2010-11-24 13:41:50 -07:00
|
|
|
$(MAKE) check VG="libtool --mode=execute valgrind --quiet --leak-check=full --suppressions=$(srcdir)/.valgrind.supp"
|
2006-08-24 16:00:19 +00:00
|
|
|
|
2010-10-21 19:11:50 +01:00
|
|
|
sockettest_SOURCES = \
|
|
|
|
|
sockettest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
sockettest_LDADD = $(LDADDS)
|
2010-10-21 19:11:50 +01:00
|
|
|
|
2008-11-24 19:23:39 +00:00
|
|
|
if WITH_XEN
|
2012-05-25 13:18:10 -06:00
|
|
|
xen_LDADDS = ../src/libvirt_driver_xen_impl.la
|
2012-04-02 16:45:01 +01:00
|
|
|
xen_LDADDS += $(LDADDS)
|
|
|
|
|
|
2006-08-24 15:05:19 +00:00
|
|
|
xml2sexprtest_SOURCES = \
|
2008-07-25 13:17:27 +00:00
|
|
|
xml2sexprtest.c testutilsxen.c testutilsxen.h \
|
2006-08-24 15:05:19 +00:00
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
xml2sexprtest_LDADD = $(xen_LDADDS)
|
2006-08-24 15:05:19 +00:00
|
|
|
|
|
|
|
|
sexpr2xmltest_SOURCES = \
|
2009-01-22 18:19:20 +00:00
|
|
|
sexpr2xmltest.c testutilsxen.c testutilsxen.h \
|
2006-08-24 15:05:19 +00:00
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
sexpr2xmltest_LDADD = $(xen_LDADDS)
|
2006-08-24 15:05:19 +00:00
|
|
|
|
2007-01-19 20:30:05 +00:00
|
|
|
xmconfigtest_SOURCES = \
|
2008-07-25 13:39:02 +00:00
|
|
|
xmconfigtest.c testutilsxen.c testutilsxen.h \
|
2007-01-19 20:30:05 +00:00
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
xmconfigtest_LDADD = $(xen_LDADDS)
|
2007-01-19 20:30:05 +00:00
|
|
|
|
2008-11-24 19:23:39 +00:00
|
|
|
xencapstest_SOURCES = \
|
|
|
|
|
xencapstest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
xencapstest_LDADD = $(xen_LDADDS)
|
2008-11-24 19:23:39 +00:00
|
|
|
|
|
|
|
|
reconnect_SOURCES = \
|
2011-07-09 11:50:38 +02:00
|
|
|
reconnect.c testutils.h testutils.c
|
2008-11-24 19:23:39 +00:00
|
|
|
reconnect_LDADD = $(LDADDS)
|
|
|
|
|
|
2010-10-14 13:22:18 +01:00
|
|
|
statstest_SOURCES = \
|
|
|
|
|
statstest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
statstest_LDADD = $(xen_LDADDS)
|
2010-10-14 13:22:18 +01:00
|
|
|
|
2008-11-24 19:23:39 +00:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += xml2sexprtest.c sexpr2xmltest.c xmconfigtest.c \
|
|
|
|
|
xencapstest.c reconnect.c \
|
|
|
|
|
testutilsxen.c testutilsxen.h
|
|
|
|
|
endif
|
|
|
|
|
|
2012-08-20 14:06:21 +01:00
|
|
|
QEMUMONITORTESTUTILS_SOURCES = \
|
|
|
|
|
qemumonitortestutils.c \
|
|
|
|
|
qemumonitortestutils.h \
|
|
|
|
|
$(NULL)
|
|
|
|
|
|
2008-11-18 12:46:13 +00:00
|
|
|
if WITH_QEMU
|
2011-07-04 02:27:12 -04:00
|
|
|
|
2012-08-20 14:06:21 +01:00
|
|
|
libqemumonitortestutils_la_SOURCES = $(QEMUMONITORTESTUTILS_SOURCES)
|
|
|
|
|
|
2012-08-02 14:10:31 +02:00
|
|
|
qemu_LDADDS = ../src/libvirt_driver_qemu_impl.la
|
2011-07-04 02:27:12 -04:00
|
|
|
if WITH_NETWORK
|
2012-05-25 13:18:10 -06:00
|
|
|
qemu_LDADDS += ../src/libvirt_driver_network_impl.la
|
2011-07-04 02:27:12 -04:00
|
|
|
endif
|
2012-04-02 18:24:29 +01:00
|
|
|
if WITH_DTRACE_PROBES
|
2012-05-25 09:57:56 -06:00
|
|
|
qemu_LDADDS += ../src/libvirt_qemu_probes.lo
|
2012-04-02 18:24:29 +01:00
|
|
|
endif
|
2012-04-02 16:45:01 +01:00
|
|
|
qemu_LDADDS += $(LDADDS)
|
2011-07-04 02:27:12 -04:00
|
|
|
|
2007-07-18 21:34:22 +00:00
|
|
|
qemuxml2argvtest_SOURCES = \
|
2008-05-16 16:51:30 +00:00
|
|
|
qemuxml2argvtest.c testutilsqemu.c testutilsqemu.h \
|
2007-07-18 21:34:22 +00:00
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemuxml2argvtest_LDADD = $(qemu_LDADDS)
|
2007-07-18 21:34:22 +00:00
|
|
|
|
|
|
|
|
qemuxml2xmltest_SOURCES = \
|
2008-05-16 16:51:30 +00:00
|
|
|
qemuxml2xmltest.c testutilsqemu.c testutilsqemu.h \
|
2007-07-18 21:34:22 +00:00
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemuxml2xmltest_LDADD = $(qemu_LDADDS)
|
2009-05-21 14:22:51 +00:00
|
|
|
|
2011-10-18 21:16:01 +02:00
|
|
|
qemuxmlnstest_SOURCES = \
|
|
|
|
|
qemuxmlnstest.c testutilsqemu.c testutilsqemu.h \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemuxmlnstest_LDADD = $(qemu_LDADDS)
|
2011-10-18 21:16:01 +02:00
|
|
|
|
2009-05-21 14:22:51 +00:00
|
|
|
qemuargv2xmltest_SOURCES = \
|
|
|
|
|
qemuargv2xmltest.c testutilsqemu.c testutilsqemu.h \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemuargv2xmltest_LDADD = $(qemu_LDADDS)
|
2009-06-11 14:17:42 +00:00
|
|
|
|
|
|
|
|
qemuhelptest_SOURCES = qemuhelptest.c testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemuhelptest_LDADD = $(qemu_LDADDS)
|
2011-09-22 14:29:00 -06:00
|
|
|
|
2012-02-25 16:48:02 -08:00
|
|
|
qemumonitortest_SOURCES = qemumonitortest.c testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
qemumonitortest_LDADD = $(qemu_LDADDS)
|
2012-02-25 16:48:02 -08:00
|
|
|
|
2012-08-20 13:31:29 +01:00
|
|
|
qemumonitorjsontest_SOURCES = \
|
|
|
|
|
qemumonitorjsontest.c \
|
|
|
|
|
testutils.c testutils.h \
|
|
|
|
|
testutilsqemu.c testutilsqemu.h \
|
|
|
|
|
$(NULL)
|
|
|
|
|
qemumonitorjsontest_LDADD = $(qemu_LDADDS) libqemumonitortestutils.la
|
|
|
|
|
|
2011-09-22 14:29:00 -06:00
|
|
|
domainsnapshotxml2xmltest_SOURCES = \
|
|
|
|
|
domainsnapshotxml2xmltest.c testutilsqemu.c testutilsqemu.h \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
domainsnapshotxml2xmltest_LDADD = $(qemu_LDADDS)
|
2008-11-18 12:46:13 +00:00
|
|
|
else
|
2011-09-22 14:29:00 -06:00
|
|
|
EXTRA_DIST += qemuxml2argvtest.c qemuxml2xmltest.c qemuargv2xmltest.c \
|
|
|
|
|
qemuxmlnstest.c qemuhelptest.c domainsnapshotxml2xmltest.c \
|
2012-08-20 14:06:21 +01:00
|
|
|
qemumonitortest.c testutilsqemu.c testutilsqemu.h \
|
2012-08-20 13:31:29 +01:00
|
|
|
qemumonitorjsontest.c \
|
2012-08-20 14:06:21 +01:00
|
|
|
$(QEMUMONITORTESTUTILS_SOURCES)
|
2008-11-18 12:46:13 +00:00
|
|
|
endif
|
2007-07-18 21:34:22 +00:00
|
|
|
|
2012-03-26 18:09:31 +01:00
|
|
|
if WITH_LXC
|
|
|
|
|
|
2012-05-25 13:18:10 -06:00
|
|
|
lxc_LDADDS = ../src/libvirt_driver_lxc_impl.la
|
2012-04-02 16:45:01 +01:00
|
|
|
if WITH_NETWORK
|
2012-05-25 13:18:10 -06:00
|
|
|
lxc_LDADDS += ../src/libvirt_driver_network_impl.la
|
2012-04-02 16:45:01 +01:00
|
|
|
endif
|
|
|
|
|
lxc_LDADDS += $(LDADDS)
|
2012-03-26 18:09:31 +01:00
|
|
|
|
|
|
|
|
lxcxml2xmltest_SOURCES = \
|
|
|
|
|
lxcxml2xmltest.c testutilslxc.c testutilslxc.h \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
lxcxml2xmltest_LDADD = $(lxc_LDADDS)
|
2012-03-26 18:09:31 +01:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += lxcxml2xmltest.c testutilslxc.c testutilslxc.h
|
|
|
|
|
endif
|
|
|
|
|
|
2011-05-26 19:45:41 +02:00
|
|
|
if WITH_OPENVZ
|
|
|
|
|
openvzutilstest_SOURCES = \
|
|
|
|
|
openvzutilstest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
openvzutilstest_LDADD = $(LDADDS)
|
2011-05-26 19:45:41 +02:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += openvzutilstest.c
|
|
|
|
|
endif
|
|
|
|
|
EXTRA_DIST += openvzutilstest.conf
|
|
|
|
|
|
2009-09-23 14:25:52 +02:00
|
|
|
if WITH_ESX
|
|
|
|
|
esxutilstest_SOURCES = \
|
|
|
|
|
esxutilstest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
esxutilstest_LDADD = $(LDADDS)
|
2010-12-21 22:39:55 +01:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += esxutilstest.c
|
|
|
|
|
endif
|
2009-09-23 14:25:52 +02:00
|
|
|
|
2010-12-21 22:39:55 +01:00
|
|
|
if WITH_VMX
|
2009-09-23 14:25:52 +02:00
|
|
|
vmx2xmltest_SOURCES = \
|
|
|
|
|
vmx2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
vmx2xmltest_LDADD = $(LDADDS)
|
2009-09-23 14:25:52 +02:00
|
|
|
|
|
|
|
|
xml2vmxtest_SOURCES = \
|
|
|
|
|
xml2vmxtest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-04-02 16:45:01 +01:00
|
|
|
xml2vmxtest_LDADD = $(LDADDS)
|
2009-09-23 14:25:52 +02:00
|
|
|
else
|
2010-12-21 22:39:55 +01:00
|
|
|
EXTRA_DIST += vmx2xmltest.c xml2vmxtest.c
|
2009-09-23 14:25:52 +02:00
|
|
|
endif
|
|
|
|
|
|
2009-10-09 08:47:43 -04:00
|
|
|
networkxml2xmltest_SOURCES = \
|
|
|
|
|
networkxml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
networkxml2xmltest_LDADD = $(LDADDS)
|
|
|
|
|
|
2011-07-05 15:26:18 +02:00
|
|
|
if WITH_NETWORK
|
2012-12-06 12:20:39 -05:00
|
|
|
networkxml2conftest_SOURCES = \
|
|
|
|
|
networkxml2conftest.c \
|
2011-06-24 12:04:37 +02:00
|
|
|
testutils.c testutils.h
|
2012-12-06 12:20:39 -05:00
|
|
|
networkxml2conftest_LDADD = ../src/libvirt_driver_network_impl.la $(LDADDS)
|
2011-07-05 15:26:18 +02:00
|
|
|
else
|
2012-12-06 12:20:39 -05:00
|
|
|
EXTRA_DIST += networkxml2conftest.c
|
2011-07-05 15:26:18 +02:00
|
|
|
endif
|
2011-06-24 12:04:37 +02:00
|
|
|
|
2012-07-18 20:06:58 +01:00
|
|
|
if WITH_STORAGE_SHEEPDOG
|
|
|
|
|
storagebackendsheepdogtest_SOURCES = \
|
|
|
|
|
storagebackendsheepdogtest.c \
|
|
|
|
|
testutils.c testutils.h
|
2012-08-21 06:50:28 -06:00
|
|
|
storagebackendsheepdogtest_LDADD = \
|
|
|
|
|
../src/libvirt_driver_storage_impl.la $(LDADDS)
|
2012-07-18 20:06:58 +01:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += storagebackendsheepdogtest.c
|
|
|
|
|
endif
|
|
|
|
|
|
2010-04-02 13:28:28 -04:00
|
|
|
nwfilterxml2xmltest_SOURCES = \
|
|
|
|
|
nwfilterxml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
nwfilterxml2xmltest_LDADD = $(LDADDS)
|
2013-02-18 13:43:28 +01:00
|
|
|
|
|
|
|
|
storagevolxml2argvtest_SOURCES = \
|
|
|
|
|
storagevolxml2argvtest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
storagevolxml2argvtest_LDADD = \
|
|
|
|
|
../src/libvirt_driver_storage_impl.la $(LDADDS)
|
2010-04-02 13:28:28 -04:00
|
|
|
|
2009-10-09 14:17:21 -04:00
|
|
|
storagevolxml2xmltest_SOURCES = \
|
|
|
|
|
storagevolxml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
storagevolxml2xmltest_LDADD = $(LDADDS)
|
|
|
|
|
|
2009-10-08 17:26:30 -04:00
|
|
|
storagepoolxml2xmltest_SOURCES = \
|
|
|
|
|
storagepoolxml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
storagepoolxml2xmltest_LDADD = $(LDADDS)
|
|
|
|
|
|
2009-02-24 14:58:32 +00:00
|
|
|
nodedevxml2xmltest_SOURCES = \
|
|
|
|
|
nodedevxml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
2009-03-03 17:00:18 +00:00
|
|
|
nodedevxml2xmltest_LDADD = $(LDADDS)
|
2009-02-24 14:58:32 +00:00
|
|
|
|
2009-07-15 19:50:34 +02:00
|
|
|
interfacexml2xmltest_SOURCES = \
|
|
|
|
|
interfacexml2xmltest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
interfacexml2xmltest_LDADD = $(LDADDS)
|
|
|
|
|
|
2010-10-07 16:35:17 +02:00
|
|
|
cputest_SOURCES = \
|
|
|
|
|
cputest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
cputest_LDADD = $(LDADDS)
|
|
|
|
|
|
2006-08-24 21:46:28 +00:00
|
|
|
virshtest_SOURCES = \
|
|
|
|
|
virshtest.c \
|
|
|
|
|
testutils.c testutils.h
|
|
|
|
|
virshtest_LDADD = $(LDADDS)
|
|
|
|
|
|
2013-03-19 14:36:28 -04:00
|
|
|
test_conf_SOURCES = \
|
|
|
|
|
test_conf.c
|
|
|
|
|
test_conf_LDADD = $(LDADDS)
|
2006-08-29 22:27:07 +00:00
|
|
|
|
2007-07-25 23:16:30 +00:00
|
|
|
nodeinfotest_SOURCES = \
|
|
|
|
|
nodeinfotest.c testutils.h testutils.c
|
|
|
|
|
nodeinfotest_LDADD = $(LDADDS)
|
|
|
|
|
|
2010-05-25 12:14:06 +01:00
|
|
|
commandtest_SOURCES = \
|
|
|
|
|
commandtest.c testutils.h testutils.c
|
|
|
|
|
commandtest_LDADD = $(LDADDS)
|
|
|
|
|
|
|
|
|
|
commandhelper_SOURCES = \
|
|
|
|
|
commandhelper.c
|
|
|
|
|
commandhelper_LDADD = $(LDADDS)
|
2012-04-02 16:45:01 +01:00
|
|
|
commandhelper_LDFLAGS = -static
|
2010-05-25 12:14:06 +01:00
|
|
|
|
2012-04-04 15:01:46 +01:00
|
|
|
if WITH_LIBVIRTD
|
|
|
|
|
libvirtdconftest_SOURCES = \
|
|
|
|
|
libvirtdconftest.c testutils.h testutils.c \
|
|
|
|
|
../daemon/libvirtd-config.c
|
|
|
|
|
libvirtdconftest_LDADD = $(LDADDS)
|
|
|
|
|
else
|
|
|
|
|
EXTRA_DIST += libvirtdconftest.c
|
|
|
|
|
endif
|
|
|
|
|
|
2010-12-06 17:03:22 +00:00
|
|
|
virnetmessagetest_SOURCES = \
|
|
|
|
|
virnetmessagetest.c testutils.h testutils.c
|
2013-02-26 09:40:38 -07:00
|
|
|
virnetmessagetest_CFLAGS = $(XDR_CFLAGS) $(AM_CFLAGS)
|
2012-04-02 16:45:01 +01:00
|
|
|
virnetmessagetest_LDADD = $(LDADDS)
|
2010-12-06 17:03:22 +00:00
|
|
|
|
2010-12-06 17:03:35 +00:00
|
|
|
virnetsockettest_SOURCES = \
|
|
|
|
|
virnetsockettest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
virnetsockettest_LDADD = $(LDADDS)
|
2010-12-06 17:03:35 +00:00
|
|
|
|
2013-01-08 21:02:05 +00:00
|
|
|
if WITH_GNUTLS
|
2011-07-20 19:04:18 +01:00
|
|
|
virnettlscontexttest_SOURCES = \
|
2011-07-22 11:59:37 -06:00
|
|
|
virnettlscontexttest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
virnettlscontexttest_LDADD = $(LDADDS)
|
2011-07-22 11:59:37 -06:00
|
|
|
if HAVE_LIBTASN1
|
|
|
|
|
virnettlscontexttest_SOURCES += pkix_asn1_tab.c
|
|
|
|
|
virnettlscontexttest_LDADD += -ltasn1
|
|
|
|
|
else
|
|
|
|
|
EXTRA_DIST += pkix_asn1_tab.c
|
|
|
|
|
endif
|
2013-01-07 14:54:18 +00:00
|
|
|
else
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
|
virnettlscontexttest.c testutils.h testutils.c pkix_asn1_tab.c
|
|
|
|
|
endif
|
2011-07-20 19:04:18 +01:00
|
|
|
|
2011-11-29 12:11:01 +00:00
|
|
|
virtimetest_SOURCES = \
|
|
|
|
|
virtimetest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
virtimetest_LDADD = $(LDADDS)
|
2011-11-29 12:11:01 +00:00
|
|
|
|
2012-11-30 15:21:02 +00:00
|
|
|
virstringtest_SOURCES = \
|
|
|
|
|
virstringtest.c testutils.h testutils.c
|
|
|
|
|
virstringtest_LDADD = $(LDADDS)
|
|
|
|
|
|
2013-02-13 11:04:05 -07:00
|
|
|
virstoragetest_SOURCES = \
|
|
|
|
|
virstoragetest.c testutils.h testutils.c
|
|
|
|
|
virstoragetest_LDADD = $(LDADDS)
|
|
|
|
|
|
2012-01-20 17:49:32 +00:00
|
|
|
viridentitytest_SOURCES = \
|
|
|
|
|
viridentitytest.c testutils.h testutils.c
|
|
|
|
|
viridentitytest_LDADD = $(LDADDS)
|
|
|
|
|
|
2012-08-02 17:02:40 +01:00
|
|
|
virlockspacetest_SOURCES = \
|
|
|
|
|
virlockspacetest.c testutils.h testutils.c
|
|
|
|
|
virlockspacetest_LDADD = $(LDADDS)
|
|
|
|
|
|
2013-01-09 15:11:50 +00:00
|
|
|
virportallocatortest_SOURCES = \
|
|
|
|
|
virportallocatortest.c testutils.h testutils.c
|
|
|
|
|
virportallocatortest_LDADD = $(LDADDS)
|
|
|
|
|
|
|
|
|
|
libvirportallocatormock_la_SOURCES = \
|
|
|
|
|
virportallocatortest.c
|
|
|
|
|
libvirportallocatormock_la_CFLAGS = $(AM_CFLAGS) -DMOCK_HELPER=1
|
|
|
|
|
libvirportallocatormock_la_LDFLAGS = -module -avoid-version \
|
|
|
|
|
-rpath /evil/libtool/hack/to/force/shared/lib/creation
|
|
|
|
|
|
|
|
|
|
|
2012-03-20 11:55:11 +00:00
|
|
|
viruritest_SOURCES = \
|
|
|
|
|
viruritest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
viruritest_LDADD = $(LDADDS)
|
2010-12-06 17:03:22 +00:00
|
|
|
|
2012-03-16 16:29:49 +00:00
|
|
|
virkeyfiletest_SOURCES = \
|
|
|
|
|
virkeyfiletest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
virkeyfiletest_LDADD = $(LDADDS)
|
2012-03-16 16:29:49 +00:00
|
|
|
|
2012-03-20 15:40:05 +00:00
|
|
|
virauthconfigtest_SOURCES = \
|
|
|
|
|
virauthconfigtest.c testutils.h testutils.c
|
2012-04-02 16:45:01 +01:00
|
|
|
virauthconfigtest_LDADD = $(LDADDS)
|
2012-03-20 15:40:05 +00:00
|
|
|
|
2009-04-03 10:55:51 +00:00
|
|
|
seclabeltest_SOURCES = \
|
|
|
|
|
seclabeltest.c
|
2012-08-02 14:10:31 +02:00
|
|
|
seclabeltest_LDADD = $(LDADDS)
|
2009-10-08 16:34:22 +02:00
|
|
|
|
2012-08-10 14:31:14 +01:00
|
|
|
if WITH_SECDRIVER_SELINUX
|
|
|
|
|
if WITH_TESTS
|
|
|
|
|
noinst_LTLIBRARIES += libsecurityselinuxhelper.la
|
|
|
|
|
else
|
|
|
|
|
check_LTLIBRARIES += libsecurityselinuxhelper.la
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
libsecurityselinuxhelper_la_SOURCES = \
|
|
|
|
|
securityselinuxhelper.c
|
|
|
|
|
libsecurityselinuxhelper_la_LDFLAGS = -module -avoid-version \
|
|
|
|
|
-rpath /evil/libtool/hack/to/force/shared/lib/creation
|
|
|
|
|
|
|
|
|
|
securityselinuxtest_SOURCES = \
|
|
|
|
|
securityselinuxtest.c testutils.h testutils.c
|
|
|
|
|
securityselinuxtest_LDADD = $(LDADDS)
|
2012-09-19 14:00:34 +01:00
|
|
|
securityselinuxtest_DEPENDENCIES = libsecurityselinuxhelper.la ../src/libvirt.la
|
|
|
|
|
|
|
|
|
|
if WITH_QEMU
|
|
|
|
|
if WITH_ATTR
|
|
|
|
|
securityselinuxlabeltest_SOURCES = \
|
|
|
|
|
securityselinuxlabeltest.c testutils.h testutils.c \
|
|
|
|
|
testutilsqemu.h testutilsqemu.c
|
|
|
|
|
securityselinuxlabeltest_LDADD = $(qemu_LDADDS)
|
|
|
|
|
securityselinuxlabeltest_DEPENDENCIES = libsecurityselinuxhelper.la ../src/libvirt.la
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2012-08-10 14:31:14 +01:00
|
|
|
endif
|
2012-09-19 14:00:34 +01:00
|
|
|
EXTRA_DIST += securityselinuxtest.c securityselinuxlabeltest.c securityselinuxhelper.c
|
2012-08-10 14:31:14 +01:00
|
|
|
|
2010-09-01 13:51:35 -04:00
|
|
|
virbuftest_SOURCES = \
|
|
|
|
|
virbuftest.c testutils.h testutils.c
|
|
|
|
|
virbuftest_LDADD = $(LDADDS)
|
|
|
|
|
|
2012-01-25 16:13:59 +00:00
|
|
|
virhashtest_SOURCES = \
|
|
|
|
|
virhashtest.c virhashdata.h testutils.h testutils.c
|
|
|
|
|
virhashtest_LDADD = $(LDADDS)
|
2011-04-15 13:15:37 +02:00
|
|
|
|
2012-07-11 14:35:43 +01:00
|
|
|
viratomictest_SOURCES = \
|
2012-08-03 00:47:38 -04:00
|
|
|
viratomictest.c testutils.h testutils.c
|
2012-07-11 14:35:43 +01:00
|
|
|
viratomictest_LDADD = $(LDADDS)
|
|
|
|
|
|
2012-09-14 15:46:57 +08:00
|
|
|
virbitmaptest_SOURCES = \
|
|
|
|
|
virbitmaptest.c testutils.h testutils.c
|
|
|
|
|
virbitmaptest_LDADD = $(LDADDS)
|
|
|
|
|
|
2013-02-08 16:44:21 -07:00
|
|
|
virendiantest_SOURCES = \
|
|
|
|
|
virendiantest.c testutils.h testutils.c
|
|
|
|
|
virendiantest_LDADD = $(LDADDS)
|
|
|
|
|
|
2011-06-30 15:08:29 +01:00
|
|
|
jsontest_SOURCES = \
|
2011-07-01 10:16:33 +01:00
|
|
|
jsontest.c testutils.h testutils.c
|
2011-06-30 15:08:29 +01:00
|
|
|
jsontest_LDADD = $(LDADDS)
|
|
|
|
|
|
2011-07-01 19:58:15 +02:00
|
|
|
utiltest_SOURCES = \
|
|
|
|
|
utiltest.c testutils.h testutils.c
|
|
|
|
|
utiltest_LDADD = $(LDADDS)
|
|
|
|
|
|
2012-04-02 17:25:30 +01:00
|
|
|
if WITH_DRIVER_MODULES
|
|
|
|
|
virdrivermoduletest_SOURCES = \
|
|
|
|
|
virdrivermoduletest.c testutils.h testutils.c
|
|
|
|
|
virdrivermoduletest_LDADD = $(LDADDS)
|
|
|
|
|
endif
|
|
|
|
|
|
2009-05-12 16:45:14 +00:00
|
|
|
if WITH_LIBVIRTD
|
|
|
|
|
eventtest_SOURCES = \
|
2011-02-24 17:58:04 +00:00
|
|
|
eventtest.c testutils.h testutils.c
|
2009-05-12 16:45:14 +00:00
|
|
|
eventtest_LDADD = -lrt $(LDADDS)
|
|
|
|
|
endif
|
|
|
|
|
|
2011-09-01 17:57:06 +01:00
|
|
|
libshunload_la_SOURCES = shunloadhelper.c
|
|
|
|
|
libshunload_la_LIBADD = ../src/libvirt.la
|
|
|
|
|
libshunload_la_LDFLAGS = -module -avoid-version -rpath /evil/libtool/hack/to/force/shared/lib/creation
|
|
|
|
|
|
|
|
|
|
shunloadtest_SOURCES = \
|
|
|
|
|
shunloadtest.c
|
2012-05-02 12:53:04 -06:00
|
|
|
shunloadtest_LDADD = $(LIB_PTHREAD)
|
2011-09-01 17:57:06 +01:00
|
|
|
shunloadtest_DEPENDENCIES = libshunload.la
|
|
|
|
|
|
2012-12-14 16:08:25 +01:00
|
|
|
sysinfotest_SOURCES = \
|
|
|
|
|
sysinfotest.c testutils.h testutils.c
|
|
|
|
|
sysinfotest_LDADD = $(LDADDS)
|
|
|
|
|
|
2009-05-19 10:17:17 +00:00
|
|
|
if WITH_CIL
|
|
|
|
|
CILOPTFLAGS =
|
|
|
|
|
CILOPTINCS =
|
|
|
|
|
CILOPTPACKAGES = -package unix,str,cil
|
|
|
|
|
CILOPTLIBS = -linkpkg
|
|
|
|
|
|
|
|
|
|
object_locking_SOURCES = object-locking.ml
|
|
|
|
|
|
|
|
|
|
%.cmx: %.ml
|
|
|
|
|
ocamlfind ocamlopt $(CILOPTFLAGS) $(CILOPTINCS) $(CILOPTPACKAGES) -c $<
|
|
|
|
|
|
|
|
|
|
object-locking: object-locking.cmx object-locking-files.txt
|
|
|
|
|
ocamlfind ocamlopt $(CILOPTFLAGS) $(CILOPTINCS) $(CILOPTPACKAGES) $(CILOPTLIBS) $< -o $@
|
|
|
|
|
|
|
|
|
|
object-locking-files.txt:
|
|
|
|
|
find $(top_builddir)/src/ -name '*.i' > $@
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
EXTRA_DIST += object-locking.ml
|
|
|
|
|
endif
|
|
|
|
|
|
2009-05-27 12:07:43 +00:00
|
|
|
CLEANFILES = *.cov *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.cmi *.cmx object-locking-files.txt
|