# vim: filetype=automake

VMX_SOURCES = \
	vmx/vmx.c \
	vmx/vmx.h \
	$(NULL)

EXTRA_DIST += $(VMX_SOURCES)

if WITH_VMX
noinst_LTLIBRARIES += libvirt_vmx.la
libvirt_la_BUILT_LIBADD += libvirt_vmx.la
libvirt_vmx_la_CFLAGS = \
	-I$(srcdir)/conf \
	$(AM_CFLAGS) \
	$(NULL)
libvirt_vmx_la_SOURCES = $(VMX_SOURCES)
endif WITH_VMX

if WITH_VMX
USED_SYM_FILES += $(srcdir)/libvirt_vmx.syms
else ! WITH_VMX
SYM_FILES += $(srcdir)/libvirt_vmx.syms
endif ! WITH_VMX
