OCAMLPACKS = oUnit sexpr xcp xmlm stunnel xml-light2 http-svr uuid	\
             netdev tapctl xenctrl xenctrlext xenstore-compat cpuid	\
             pciutil oclock gzip sha1 xcp.network xcp.rrd xcp.storage	\
             xcp.xen xcp.memory tar tar.unix oPasswd xcp-inventory \
             rrdd-plugin

OCAMLINCLUDES = \
	../database \
	../xapi \
	../idl \
	../idl/ocaml_backend \
	../autogen \
	../license \

OCAML_LIBS = \
	../util/version \
	../idl/ocaml_backend/common \
	../idl/ocaml_backend/client \
	../idl/ocaml_backend/server \
	../auth/pam \
	../util/stats \
	../util/sanitycheck \
	../xapi/xapi \

OCAML_OBJS = \
	../idl/api_lowlevel \
	mock \
	test_highlevel \
	test_common \
	test_basic \
	test_helpers \
	test_db_lowlevel \
	test_http \
	test_pool_db_backup \
	test_xapi_db_upgrade \
	test_ca91480 \
	test_vdi_allowed_operations \
	test_pool_apply_edition \
	test_pool_license \
	test_platformdata \
	test_sm_features \
	test_gpu_group \
	test_pci_db \
	test_pci_helpers \
	test_vgpu_type \
	test_vgpu_common \
	test_pgpu \
	test_pgpu_helpers \
	test_vm_helpers \
	test_xenopsd_metadata \
	test_ca121350 \

OCamlProgram(suite, suite $(OCAML_OBJS) )

.PHONY: clean
clean:
	rm -f $(CLEAN_OBJS) suite

.DEFAULT: suite
