mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
locking: separate lock driver code into libvirt_driver_lock.la
Follow the same pattern as for other sub-directories where we create a static library that is linked into libvirt.so. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5f92046b77
commit
f5cf2f7566
@ -1,6 +1,6 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
DRIVER_SOURCES += \
|
LOCK_DRIVER_SOURCES = \
|
||||||
locking/lock_manager.c \
|
locking/lock_manager.c \
|
||||||
locking/lock_manager.h \
|
locking/lock_manager.h \
|
||||||
locking/lock_driver.h \
|
locking/lock_driver.h \
|
||||||
@ -47,6 +47,7 @@ EXTRA_DIST += \
|
|||||||
$(LOCK_DAEMON_GENERATED) \
|
$(LOCK_DAEMON_GENERATED) \
|
||||||
$(LOCK_DAEMON_SOURCES) \
|
$(LOCK_DAEMON_SOURCES) \
|
||||||
$(LOCK_DRIVER_LOCKD_SOURCES) \
|
$(LOCK_DRIVER_LOCKD_SOURCES) \
|
||||||
|
$(LOCK_DRIVER_SOURCES) \
|
||||||
locking/sanlock.conf \
|
locking/sanlock.conf \
|
||||||
locking/libvirt_sanlock.aug \
|
locking/libvirt_sanlock.aug \
|
||||||
locking/test_libvirt_sanlock.aug.in \
|
locking/test_libvirt_sanlock.aug.in \
|
||||||
@ -86,6 +87,17 @@ VIRTLOCKD_UNIT_FILES_IN = \
|
|||||||
SYSTEMD_UNIT_FILES += $(notdir $(VIRTLOCKD_UNIT_FILES_IN:%.in=%))
|
SYSTEMD_UNIT_FILES += $(notdir $(VIRTLOCKD_UNIT_FILES_IN:%.in=%))
|
||||||
SYSTEMD_UNIT_FILES_IN += $(VIRTLOCKD_UNIT_FILES_IN)
|
SYSTEMD_UNIT_FILES_IN += $(VIRTLOCKD_UNIT_FILES_IN)
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES += libvirt_driver_lock.la
|
||||||
|
|
||||||
|
libvirt_la_BUILT_LIBADD += libvirt_driver_lock.la
|
||||||
|
libvirt_driver_lock_la_SOURCES = \
|
||||||
|
$(LOCK_DRIVER_SOURCES) \
|
||||||
|
$(NULL)
|
||||||
|
libvirt_driver_lock_la_CFLAGS = \
|
||||||
|
$(AM_CFLAGS) \
|
||||||
|
-I$(srcdir)/conf \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
lockdriverdir = $(libdir)/libvirt/lock-driver
|
lockdriverdir = $(libdir)/libvirt/lock-driver
|
||||||
lockdriver_LTLIBRARIES =
|
lockdriver_LTLIBRARIES =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user