Makefile.inc.am 1.6 KB
Newer Older
1 2
# vim: filetype=automake

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
VBOX_DRIVER_SOURCES = \
	vbox/vbox_glue.c \
	vbox/vbox_glue.h \
	vbox/vbox_driver.c \
	vbox/vbox_driver.h \
	vbox/vbox_snapshot_conf.c \
	vbox/vbox_snapshot_conf.h \
	vbox/vbox_CAPI_v4_1.h \
	vbox/vbox_CAPI_v4_2.h \
	vbox/vbox_CAPI_v4_2_20.h \
	vbox/vbox_CAPI_v4_3.h \
	vbox/vbox_CAPI_v4_3_4.h \
	vbox/vbox_V5_0.c \
	vbox/vbox_CAPI_v5_0.h \
	vbox/vbox_V5_1.c \
	vbox/vbox_CAPI_v5_1.h \
	vbox/vbox_V5_2.c \
	vbox/vbox_CAPI_v5_2.h \
	vbox/vbox_common.c \
	vbox/vbox_common.h \
	vbox/vbox_uniformed_api.h \
	vbox/vbox_get_driver.h \
	vbox/vbox_network.c \
	vbox/vbox_storage.c \
	$(NULL)

VBOX_DRIVER_EXTRA_DIST = \
	vbox/vbox_tmpl.c \
	vbox/README \
	vbox/vbox_MSCOMGlue.c \
	vbox/vbox_MSCOMGlue.h \
	vbox/vbox_XPCOMCGlue.c \
	vbox/vbox_XPCOMCGlue.h \
	$(NULL)

DRIVER_SOURCE_FILES += \
	$(VBOX_DRIVER_SOURCES) \
	vbox/vbox_tmpl.c \
	$(NULL)

EXTRA_DIST += \
	$(VBOX_DRIVER_SOURCES) \
	$(VBOX_DRIVER_EXTRA_DIST) \
	$(NULL)

if WITH_VBOX
noinst_LTLIBRARIES += libvirt_driver_vbox_impl.la
libvirt_driver_vbox_la_SOURCES =
libvirt_driver_vbox_la_LIBADD = \
	libvirt_driver_vbox_impl.la \
	libvirt.la \
	../gnulib/lib/libgnu.la \
	$(NULL)
mod_LTLIBRARIES += libvirt_driver_vbox.la
libvirt_driver_vbox_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)

libvirt_driver_vbox_impl_la_CFLAGS = \
	-I$(srcdir)/conf \
	$(AM_CFLAGS) \
	-DVBOX_DRIVER \
	$(NULL)
libvirt_driver_vbox_impl_la_LDFLAGS = $(AM_LDFLAGS)
libvirt_driver_vbox_impl_la_LIBADD = \
	$(DLOPEN_LIBS) \
	$(WIN32_EXTRA_LIBS) \
	$(LIBXML_LIBS) \
	$(NULL)
libvirt_driver_vbox_impl_la_SOURCES = $(VBOX_DRIVER_SOURCES)
endif WITH_VBOX