Makefile.am 13.8 KB
Newer Older
D
Daniel P. Berrange 已提交
1 2
## Process this file with automake to produce Makefile.in

3
## Copyright (C) 2005-2014 Red Hat, Inc.
E
Eric Blake 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with this library.  If not, see
## <http://www.gnu.org/licenses/>.
18

19
INCLUDES = \
20
	-I$(top_builddir)/gnulib/lib -I$(top_srcdir)/gnulib/lib \
21
	-I$(top_srcdir) \
22 23
	-I$(top_builddir)/include -I$(top_srcdir)/include \
	-I$(top_builddir)/src -I$(top_srcdir)/src \
24 25 26 27
	-I$(top_srcdir)/src/util \
	-I$(top_srcdir)/src/conf \
	-I$(top_srcdir)/src/rpc \
	-I$(top_srcdir)/src/remote \
28
	-I$(top_srcdir)/src/access \
29 30
	$(GETTEXT_CPPFLAGS)

31 32
CLEANFILES =

E
Eric Blake 已提交
33 34 35 36
DAEMON_GENERATED =			\
		remote_dispatch.h	\
		lxc_dispatch.h		\
		qemu_dispatch.h		\
37
		$(NULL)
38 39 40 41 42 43

DAEMON_SOURCES =					\
		libvirtd.c libvirtd.h			\
		remote.c remote.h			\
		stream.c stream.h			\
		$(DAEMON_GENERATED)
44

45 46
LIBVIRTD_CONF_SOURCES = libvirtd-config.c libvirtd-config.h

47
DISTCLEANFILES =
48
EXTRA_DIST =						\
49
	remote_dispatch.h				\
50
	lxc_dispatch.h					\
51
	qemu_dispatch.h					\
52 53
	libvirtd.conf					\
	libvirtd.init.in				\
A
Alan Pevec 已提交
54
	libvirtd.upstart				\
C
Cole Robinson 已提交
55
	libvirtd.policy.in				\
56
	libvirtd.sasl					\
57
	libvirtd.service.in				\
58
	libvirtd.socket.in				\
59
	libvirtd.sysconf				\
E
Eric Blake 已提交
60
	libvirtd.sysctl					\
61
	libvirtd.aug                                    \
62
	libvirtd.logrotate.in                           \
63 64 65
	libvirtd.qemu.logrotate.in                      \
	libvirtd.lxc.logrotate.in                       \
	libvirtd.uml.logrotate.in                       \
66
	test_libvirtd.aug.in                             \
67
	THREADS.txt					\
68
	libvirtd.pod.in					\
69
	libvirtd.8.in					\
70 71 72
	$(DAEMON_SOURCES)				\
	$(LIBVIRTD_CONF_SOURCES)			\
	$(NULL)
73

74
BUILT_SOURCES =
75

76
REMOTE_PROTOCOL = $(top_srcdir)/src/remote/remote_protocol.x
77
LXC_PROTOCOL = $(top_srcdir)/src/remote/lxc_protocol.x
78 79
QEMU_PROTOCOL = $(top_srcdir)/src/remote/qemu_protocol.x

E
Eric Blake 已提交
80
remote_dispatch.h: $(srcdir)/../src/rpc/gendispatch.pl \
81
		$(REMOTE_PROTOCOL)
82
	$(AM_V_GEN)$(PERL) -w $(srcdir)/../src/rpc/gendispatch.pl \
E
Eric Blake 已提交
83 84
	  --mode=server remote REMOTE $(REMOTE_PROTOCOL) \
	  > $(srcdir)/remote_dispatch.h
85

E
Eric Blake 已提交
86
lxc_dispatch.h: $(srcdir)/../src/rpc/gendispatch.pl \
87
		$(LXC_PROTOCOL)
88
	$(AM_V_GEN)$(PERL) -w $(srcdir)/../src/rpc/gendispatch.pl \
E
Eric Blake 已提交
89 90
	  --mode=server lxc LXC $(LXC_PROTOCOL) \
	  > $(srcdir)/lxc_dispatch.h
91

E
Eric Blake 已提交
92
qemu_dispatch.h: $(srcdir)/../src/rpc/gendispatch.pl \
93
		$(QEMU_PROTOCOL)
94
	$(AM_V_GEN)$(PERL) -w $(srcdir)/../src/rpc/gendispatch.pl \
E
Eric Blake 已提交
95 96
	  --mode=server qemu QEMU $(QEMU_PROTOCOL) \
	  > $(srcdir)/qemu_dispatch.h
97

98 99
if WITH_LIBVIRTD

100 101 102 103 104
# Build a convenience library, for reuse in tests/libvirtdconftest
noinst_LTLIBRARIES = libvirtd_conf.la
libvirtd_conf_la_SOURCES = $(LIBVIRTD_CONF_SOURCES)
libvirtd_conf_la_CFLAGS = \
	$(LIBXML_CFLAGS) \
E
Eric Blake 已提交
105
	$(XDR_CFLAGS) \
106 107 108 109 110 111 112 113 114 115 116
	$(WARN_CFLAGS) $(PIE_CFLAGS) \
	$(COVERAGE_CFLAGS) \
	$(NULL)
libvirtd_conf_la_LDFLAGS =				\
	$(RELRO_LDFLAGS)				\
	$(PIE_LDFLAGS)					\
	$(COVERAGE_LDFLAGS)				\
	$(NO_INDIRECT_LDFLAGS)				\
	$(NULL)
libvirtd_conf_la_LIBADD = $(LIBXML_LIBS)

117
man8_MANS = libvirtd.8
118

119 120 121 122
sbin_PROGRAMS = libvirtd

confdir = $(sysconfdir)/libvirt/
conf_DATA = libvirtd.conf
123

124
augeasdir = $(datadir)/augeas/lenses
125
augeas_DATA = libvirtd.aug
126 127

augeastestsdir = $(datadir)/augeas/lenses/tests
128
augeastests_DATA = test_libvirtd.aug
129

130 131
CLEANFILES += test_libvirtd.aug

132
libvirtd.8: $(srcdir)/libvirtd.8.in
133
	$(AM_V_GEN)sed \
134 135
	    -e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g' \
136
	    < $< > $@-t && \
137 138
	mv $@-t $@

139
libvirtd_SOURCES = $(DAEMON_SOURCES)
140

D
Daniel P. Berrange 已提交
141
#-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L
142
libvirtd_CFLAGS = \
143
	$(LIBXML_CFLAGS) $(GNUTLS_CFLAGS) $(SASL_CFLAGS) \
D
Doug Goldstein 已提交
144
	$(XDR_CFLAGS) $(POLKIT_CFLAGS) $(DBUS_CFLAGS) $(LIBNL_CFLAGS) \
D
Daniel P. Berrange 已提交
145
	$(WARN_CFLAGS) $(PIE_CFLAGS) \
146
	$(COVERAGE_CFLAGS) \
147
	-DQEMUD_PID_FILE="\"$(QEMUD_PID_FILE)\""
148

E
Eric Blake 已提交
149
libvirtd_LDFLAGS =					\
G
Guido Günther 已提交
150
	$(RELRO_LDFLAGS)				\
D
Daniel P. Berrange 已提交
151
	$(PIE_LDFLAGS)					\
G
Guido Günther 已提交
152
	$(COVERAGE_LDFLAGS)				\
153
	$(NO_INDIRECT_LDFLAGS)				\
G
Guido Günther 已提交
154
	$(NULL)
155

156
libvirtd_LDADD =					\
157 158 159
	$(LIBXML_LIBS)					\
	$(GNUTLS_LIBS)					\
	$(SASL_LIBS)					\
160
	$(DBUS_LIBS)					\
D
Doug Goldstein 已提交
161 162
	$(POLKIT_LIBS)					\
	$(LIBNL_LIBS)
163

164
if WITH_DTRACE_PROBES
165
libvirtd_LDADD += ../src/libvirt_probes.lo
166
endif WITH_DTRACE_PROBES
167

168
libvirtd_LDADD += \
169
	libvirtd_conf.la \
170
	../src/libvirt-lxc.la \
171 172 173
	../src/libvirt-qemu.la \
	../src/libvirt_driver_remote.la \
	$(NULL)
C
Chris Lalancette 已提交
174

175
if ! WITH_DRIVER_MODULES
176
if WITH_QEMU
177
    libvirtd_LDADD += ../src/libvirt_driver_qemu.la
178
if WITH_DTRACE_PROBES
179
    libvirtd_LDADD += ../src/libvirt_qemu_probes.lo
180 181
endif WITH_DTRACE_PROBES
endif WITH_QEMU
182

183
if WITH_LXC
184
    libvirtd_LDADD += ../src/libvirt_driver_lxc.la
185
endif WITH_LXC
186

187 188
if WITH_XEN
    libvirtd_LDADD += ../src/libvirt_driver_xen.la
189
endif WITH_XEN
190

J
Jim Fehlig 已提交
191 192
if WITH_LIBXL
    libvirtd_LDADD += ../src/libvirt_driver_libxl.la
193
endif WITH_LIBXL
J
Jim Fehlig 已提交
194

195
if WITH_UML
196
    libvirtd_LDADD += ../src/libvirt_driver_uml.la
197
endif WITH_UML
198

J
Jiri Denemark 已提交
199 200
if WITH_VBOX
    libvirtd_LDADD += ../src/libvirt_driver_vbox.la
201
endif WITH_VBOX
J
Jiri Denemark 已提交
202

203
if WITH_STORAGE
204
    libvirtd_LDADD += ../src/libvirt_driver_storage.la
205
endif WITH_STORAGE
206

207
if WITH_NETWORK
208
    libvirtd_LDADD += ../src/libvirt_driver_network.la
209
endif WITH_NETWORK
210

211
if WITH_INTERFACE
212
    libvirtd_LDADD += ../src/libvirt_driver_interface.la
213
endif WITH_INTERFACE
214

215
if WITH_NODE_DEVICES
216
    libvirtd_LDADD += ../src/libvirt_driver_nodedev.la
217
endif WITH_NODE_DEVICES
218 219 220

if WITH_SECRETS
    libvirtd_LDADD += ../src/libvirt_driver_secret.la
221
endif WITH_SECRETS
222 223 224

if WITH_NWFILTER
    libvirtd_LDADD += ../src/libvirt_driver_nwfilter.la
225 226
endif WITH_NWFILTER
endif ! WITH_DRIVER_MODULES
227 228

libvirtd_LDADD += ../src/libvirt.la
D
Daniel P. Berrange 已提交
229

230 231
if WITH_POLKIT
if WITH_POLKIT0
232
policydir = $(datadir)/PolicyKit/policy
C
Cole Robinson 已提交
233
policyauth = auth_admin_keep_session
234
else ! WITH_POLKIT0
235
policydir = $(datadir)/polkit-1/actions
C
Cole Robinson 已提交
236
policyauth = auth_admin_keep
237 238
endif ! WITH_POLKIT0
endif WITH_POLKIT
239

C
Cole Robinson 已提交
240 241
libvirtd.policy: libvirtd.policy.in $(top_builddir)/config.status
	$(AM_V_GEN) sed \
242
	    -e 's|[@]authaction[@]|$(policyauth)|g' \
C
Cole Robinson 已提交
243 244 245 246
	    < $< > $@-t && \
	mv $@-t $@
BUILT_SOURCES += libvirtd.policy

247 248
install-data-local: install-init-redhat install-init-systemd \
		install-init-upstart \
249 250
		install-data-sasl install-data-polkit \
		install-logrotate install-sysctl
251 252 253
	$(MKDIR_P) $(DESTDIR)$(localstatedir)/log/libvirt \
		   $(DESTDIR)$(localstatedir)/run/libvirt \
		   $(DESTDIR)$(localstatedir)/lib/libvirt
254

255 256
uninstall-local:: uninstall-init-redhat uninstall-init-systemd \
		uninstall-init-upstart \
257
		uninstall-data-sasl uninstall-data-polkit \
258
		uninstall-logrotate uninstall-sysctl
259
	rmdir $(DESTDIR)$(localstatedir)/log/libvirt || :
260
	rmdir $(DESTDIR)$(localstatedir)/run/libvirt || :
261
	rmdir $(DESTDIR)$(localstatedir)/lib/libvirt || :
262

263
if WITH_POLKIT
264
install-data-polkit::
265
	$(MKDIR_P) $(DESTDIR)$(policydir)
C
Cole Robinson 已提交
266
	$(INSTALL_DATA) libvirtd.policy $(DESTDIR)$(policydir)/org.libvirt.unix.policy
267
uninstall-data-polkit::
268
	rm -f $(DESTDIR)$(policydir)/org.libvirt.unix.policy
269
	rmdir $(DESTDIR)$(policydir) || :
270
else ! WITH_POLKIT
271 272
install-data-polkit::
uninstall-data-polkit::
273
endif ! WITH_POLKIT
274

275 276
remote.c: $(DAEMON_GENERATED)
remote.h: $(DAEMON_GENERATED)
277

278
LOGROTATE_CONFS = libvirtd.qemu.logrotate libvirtd.lxc.logrotate \
279
		  libvirtd.uml.logrotate libvirtd.logrotate
280

281 282
BUILT_SOURCES += $(LOGROTATE_CONFS)

283
libvirtd.logrotate: libvirtd.logrotate.in
284
	$(AM_V_GEN)sed						\
285
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
286
	    < $< > $@-t && \
287 288
	mv $@-t $@

289
libvirtd.qemu.logrotate: libvirtd.qemu.logrotate.in
290
	$(AM_V_GEN)sed						\
291
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
292
	    < $< > $@-t && \
293 294 295
	mv $@-t $@

libvirtd.lxc.logrotate: libvirtd.lxc.logrotate.in
296
	$(AM_V_GEN)sed						\
297
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
298 299
	    < $< > $@-t &&					\
	    mv $@-t $@
300 301

libvirtd.uml.logrotate: libvirtd.uml.logrotate.in
302
	$(AM_V_GEN)sed						\
303
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
304 305
	    < $< > $@-t &&					\
	    mv $@-t $@
G
Guido Günther 已提交
306

307
install-logrotate: $(LOGROTATE_CONFS)
308 309 310 311
	$(MKDIR_P) $(DESTDIR)$(localstatedir)/log/libvirt/qemu/ \
		   $(DESTDIR)$(localstatedir)/log/libvirt/lxc/ \
		   $(DESTDIR)$(localstatedir)/log/libvirt/uml/ \
		   $(DESTDIR)$(sysconfdir)/logrotate.d/
312 313 314 315 316 317 318 319
	$(INSTALL_DATA) libvirtd.logrotate \
		$(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd
	$(INSTALL_DATA) libvirtd.qemu.logrotate \
		$(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.qemu
	$(INSTALL_DATA) libvirtd.lxc.logrotate \
		$(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.lxc
	$(INSTALL_DATA) libvirtd.uml.logrotate \
		$(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.uml
G
Guido Günther 已提交
320

321 322 323 324 325 326 327 328 329 330
uninstall-logrotate:
	rm -f $(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd \
	      $(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.qemu \
	      $(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.lxc \
	      $(DESTDIR)$(sysconfdir)/logrotate.d/libvirtd.uml
	rmdir $(DESTDIR)$(localstatedir)/log/libvirt/qemu || :
	rmdir $(DESTDIR)$(localstatedir)/log/libvirt/lxc || :
	rmdir $(DESTDIR)$(localstatedir)/log/libvirt/uml || :
	rmdir $(DESTDIR)$(sysconfdir)/logrotate.d || :

331
install-sysconfig:
332
	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
333
	$(INSTALL_DATA) $(srcdir)/libvirtd.sysconf \
J
Jim Meyering 已提交
334
	  $(DESTDIR)$(sysconfdir)/sysconfig/libvirtd
335 336
uninstall-sysconfig:
	rm -f $(DESTDIR)$(sysconfdir)/sysconfig/libvirtd
337
	rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
338

339
if WITH_SYSCTL
340 341
# Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
# /usr/lib/sysctl.d/ even when libdir is /usr/lib64
342
install-sysctl:
343
	$(MKDIR_P) $(DESTDIR)$(prefix)/lib/sysctl.d
E
Eric Blake 已提交
344
	$(INSTALL_DATA) $(srcdir)/libvirtd.sysctl \
345
	  $(DESTDIR)$(prefix)/lib/sysctl.d/libvirtd.conf
346

347
uninstall-sysctl:
348 349
	rm -f $(DESTDIR)$(prefix)/lib/sysctl.d/libvirtd.conf
	rmdir $(DESTDIR)$(prefix)/lib/sysctl.d || :
350
else ! WITH_SYSCTL
351 352
install-sysctl:
uninstall-sysctl:
353
endif ! WITH_SYSCTL
354 355

if LIBVIRT_INIT_SCRIPT_RED_HAT
D
Daniel P. Berrange 已提交
356

357
BUILT_SOURCES += libvirtd.init
358

359
install-init-redhat: install-sysconfig libvirtd.init
360
	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
361 362 363 364 365
	$(INSTALL_SCRIPT) libvirtd.init \
	  $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirtd

uninstall-init-redhat: uninstall-sysconfig
	rm -f $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirtd
366
	rmdir $(DESTDIR)$(sysconfdir)/rc.d/init.d || :
367
else ! LIBVIRT_INIT_SCRIPT_RED_HAT
368 369
install-init-redhat:
uninstall-init-redhat:
370
endif ! LIBVIRT_INIT_SCRIPT_RED_HAT
371 372 373 374 375


if LIBVIRT_INIT_SCRIPT_UPSTART

install-init-upstart: install-sysconfig
376
	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/event.d
377 378 379 380 381
	$(INSTALL_SCRIPT) libvirtd.upstart \
	  $(DESTDIR)$(sysconfdir)/event.d/libvirtd

uninstall-init-upstart: uninstall-sysconfig
	rm -f $(DESTDIR)$(sysconfdir)/event.d/libvirtd
382
	rmdir $(DESTDIR)$(sysconfdir)/event.d || :
383
else ! LIBVIRT_INIT_SCRIPT_UPSTART
384 385
install-init-upstart:
uninstall-init-upstart:
386
endif ! LIBVIRT_INIT_SCRIPT_UPSTART
387 388 389 390


if LIBVIRT_INIT_SCRIPT_SYSTEMD

391
SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system
392
BUILT_SOURCES += libvirtd.service libvirtd.socket
393

394
install-init-systemd: install-sysconfig libvirtd.service libvirtd.socket
395
	$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
396
	$(INSTALL_DATA) libvirtd.service \
397
	  $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirtd.service
398 399
	$(INSTALL_DATA) libvirtd.socket \
	  $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirtd.socket
400 401 402

uninstall-init-systemd: uninstall-sysconfig
	rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirtd.service
403
	rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirtd.socket
404
	rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) || :
405
else ! LIBVIRT_INIT_SCRIPT_SYSTEMD
406 407
install-init-systemd:
uninstall-init-systemd:
408
endif ! LIBVIRT_INIT_SCRIPT_SYSTEMD
409

410
libvirtd.init: libvirtd.init.in $(top_builddir)/config.status
411 412 413 414 415 416
	$(AM_V_GEN)sed						\
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
	    -e 's|[@]sbindir[@]|$(sbindir)|g'			\
	    -e 's|[@]sysconfdir[@]|$(sysconfdir)|g'		\
	    < $< > $@-t &&					\
	    chmod a+x $@-t &&					\
417
	    mv $@-t $@
D
Daniel P. Berrange 已提交
418

419
libvirtd.service: libvirtd.service.in $(top_builddir)/config.status
420 421 422 423 424
	$(AM_V_GEN)sed						\
	    -e 's|[@]localstatedir[@]|$(localstatedir)|g'	\
	    -e 's|[@]sbindir[@]|$(sbindir)|g'			\
	    -e 's|[@]sysconfdir[@]|$(sysconfdir)|g'		\
	    < $< > $@-t &&					\
425 426
	    mv $@-t $@

427 428 429 430 431 432
libvirtd.socket: libvirtd.socket.in $(top_builddir)/config.status
	$(AM_V_GEN)sed						\
	    -e 's|[@]runstatedir[@]|$(runstatedir)|g'		\
	    < $< > $@-t &&					\
	    mv $@-t $@

433

434 435
check-local: check-augeas

436 437 438 439
AUG_GENTEST = $(PERL) $(top_srcdir)/build-aux/augeas-gentest.pl

test_libvirtd.aug: test_libvirtd.aug.in $(srcdir)/libvirtd.conf
	$(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/libvirtd.conf $< $@
440 441

check-augeas: test_libvirtd.aug
442
	$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
443
	  '$(AUGPARSE)' -I $(srcdir) test_libvirtd.aug; \
444
	fi
445

446

447 448
# This must be added last, since functions it provides/replaces
# are used by nearly every other library.
J
John Levon 已提交
449
libvirtd_LDADD += ../gnulib/lib/libgnu.la $(LIBSOCKET)
450

451
else ! WITH_LIBVIRTD
452 453
install-data-local: install-data-sasl
uninstall-local:: uninstall-data-sasl
454
endif ! WITH_LIBVIRTD
455

456 457 458
POD2MAN = pod2man -c "Virtualization Support" \
			-r "$(PACKAGE)-$(VERSION)" -s 8

459
$(srcdir)/libvirtd.8.in: libvirtd.pod.in $(top_srcdir)/configure.ac
E
Eric Blake 已提交
460 461
	$(AM_V_GEN)$(POD2MAN) --name LIBVIRTD $< $@ \
	    && if grep 'POD ERROR' $@ ; then rm $@; exit 1; fi
462

463 464
# This is needed for clients too, so can't wrap in
# the WITH_LIBVIRTD conditional
465
if WITH_SASL
466
install-data-sasl:
467
	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sasl2/
468 469
	$(INSTALL_DATA) $(srcdir)/libvirtd.sasl \
		$(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
470 471 472

uninstall-data-sasl:
	rm -f $(DESTDIR)$(sysconfdir)/sasl2/libvirt.conf
D
Dave Allan 已提交
473
	rmdir $(DESTDIR)$(sysconfdir)/sasl2/ || :
474
else ! WITH_SASL
D
Daniel P. Berrange 已提交
475 476
install-data-sasl:
uninstall-data-sasl:
477
endif ! WITH_SASL
478 479


480
CLEANFILES += $(BUILT_SOURCES) $(man8_MANS)
481
CLEANFILES += *.cov *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda
482
MAINTAINERCLEANFILES = $(srcdir)/libvirtd.8.in $(DAEMON_GENERATED)