1 # vim: filetype=automake
3 QEMU_DRIVER_SOURCES = \
10 qemu/qemu_blockjob.c \
11 qemu/qemu_blockjob.h \
12 qemu/qemu_capabilities.c \
13 qemu/qemu_capabilities.h \
16 qemu/qemu_parse_command.c \
17 qemu/qemu_parse_command.h \
20 qemu/qemu_domain_address.c \
21 qemu/qemu_domain_address.h \
24 qemu/qemu_extdevice.c \
25 qemu/qemu_extdevice.h \
26 qemu/qemu_firmware.c \
27 qemu/qemu_firmware.h \
32 qemu/qemu_hotplugpriv.h \
37 qemu/qemu_processpriv.h \
38 qemu/qemu_migration.c \
39 qemu/qemu_migration.h \
40 qemu/qemu_migration_cookie.c \
41 qemu/qemu_migration_cookie.h \
42 qemu/qemu_migration_params.c \
43 qemu/qemu_migration_params.h \
44 qemu/qemu_migration_paramspriv.h \
47 qemu/qemu_monitor_priv.h \
48 qemu/qemu_monitor_text.c \
49 qemu/qemu_monitor_text.h \
50 qemu/qemu_monitor_json.c \
51 qemu/qemu_monitor_json.h \
54 qemu/qemu_interface.c \
55 qemu/qemu_interface.h \
56 qemu/qemu_capspriv.h \
57 qemu/qemu_security.c \
58 qemu/qemu_security.h \
66 DRIVER_SOURCE_FILES += $(QEMU_DRIVER_SOURCES)
67 STATEFUL_DRIVER_SOURCE_FILES += $(QEMU_DRIVER_SOURCES)
68 EXTRA_DIST += $(QEMU_DRIVER_SOURCES)
71 noinst_LTLIBRARIES += libvirt_driver_qemu_impl.la
72 libvirt_driver_qemu_la_SOURCES =
73 libvirt_driver_qemu_la_LIBADD = \
74 libvirt_driver_qemu_impl.la \
76 ../gnulib/lib/libgnu.la \
78 mod_LTLIBRARIES += libvirt_driver_qemu.la
79 libvirt_driver_qemu_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
81 libvirt_driver_qemu_impl_la_CFLAGS = \
91 libvirt_driver_qemu_impl_la_LDFLAGS = $(AM_LDFLAGS)
92 libvirt_driver_qemu_impl_la_LIBADD = \
99 libvirt_driver_qemu_impl_la_SOURCES = $(QEMU_DRIVER_SOURCES)
101 if WITH_DTRACE_PROBES
102 libvirt_driver_qemu_la_LIBADD += libvirt_qemu_probes.lo
103 nodist_libvirt_driver_qemu_la_SOURCES = libvirt_qemu_probes.h
104 BUILT_SOURCES += libvirt_qemu_probes.h
106 tapset_DATA += libvirt_qemu_probes.stp
109 libvirt_qemu_probes.h \
110 libvirt_qemu_probes.o \
111 libvirt_qemu_probes.lo \
112 libvirt_qemu_probes.stp \
115 endif WITH_DTRACE_PROBES
117 conf_DATA += qemu/qemu.conf
119 augeas_DATA += qemu/libvirtd_qemu.aug
120 augeastest_DATA += test_libvirtd_qemu.aug
121 CLEANFILES += test_libvirtd_qemu.aug
125 test_libvirtd_qemu.aug: qemu/test_libvirtd_qemu.aug.in \
126 $(srcdir)/qemu/qemu.conf $(AUG_GENTEST)
127 $(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/qemu/qemu.conf $< $@
129 check-augeas-qemu: test_libvirtd_qemu.aug
130 $(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
131 '$(AUGPARSE)' -I $(srcdir)/qemu test_libvirtd_qemu.aug; \
134 INSTALL_DATA_DIRS += qemu
137 $(MKDIR_P) -m 0751 "$(DESTDIR)$(localstatedir)/lib/libvirt/qemu"
138 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/qemu"
139 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/libvirt/qemu"
140 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/log/libvirt/qemu"
141 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/swtpm"
142 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/qemu/swtpm"
143 $(MKDIR_P) "$(DESTDIR)$(localstatedir)/log/swtpm/libvirt/qemu"
146 rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/qemu" ||:
147 rmdir "$(DESTDIR)$(localstatedir)/run/libvirt/qemu" ||:
148 rmdir "$(DESTDIR)$(localstatedir)/cache/libvirt/qemu" ||:
149 rmdir "$(DESTDIR)$(localstatedir)/log/libvirt/qemu" ||:
150 rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/swtpm"
151 rmdir "$(DESTDIR)$(localstatedir)/run/libvirt/qemu/swtpm" ||:
152 rmdir "$(DESTDIR)$(localstatedir)/log/swtpm/libvirt/qemu" ||:
159 uninstall-data-qemu \
164 qemu/libvirtd_qemu.aug \
165 qemu/test_libvirtd_qemu.aug.in \
167 libvirt_qemu_probes.d \