Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
if WITH_LOGIN_SHELL
conf_DATA += virt-login-shell.conf
-libexec_PROGRAMS = virt-login-shell-helper
endif WITH_LOGIN_SHELL
virt-xml-validate: virt-xml-validate.in Makefile
noinst_LTLIBRARIES =
-virt_login_shell_helper_SOURCES = \
- virt-login-shell-helper.c
-
-virt_login_shell_helper_LDFLAGS = \
- $(AM_LDFLAGS) \
- $(COVERAGE_LDFLAGS) \
- $(NULL)
-virt_login_shell_helper_LDADD = \
- ../src/libvirt.la \
- ../src/libvirt-lxc.la \
- $(GLIB_LIBS) \
- $(NULL)
-
-virt_login_shell_helper_CFLAGS = \
- $(AM_CFLAGS) \
- $(NULL)
-
virsh_SOURCES = \
virsh.c virsh.h \
virsh-backup.c virsh-backup.h \
install: true,
install_dir: bindir,
)
+
+ executable(
+ 'virt-login-shell-helper',
+ [
+ 'virt-login-shell-helper.c',
+ ],
+ dependencies: [
+ tools_dep,
+ ],
+ link_args: [
+ coverage_flags,
+ ],
+ link_with: [
+ libvirt_lib,
+ libvirt_lxc_lib,
+ ],
+ install: true,
+ install_dir: libexecdir,
+ install_rpath: libdir,
+ )
endif