Commit <124f06534c65618b1eeeee07bb26182ab8e30119> moved remote related
build rules into separate makefile but forgot to move this part as well.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/Makefile.am | 3 ---
src/remote/Makefile.inc.am | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 56b1ed48cb..34dfeeb9f9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -529,9 +529,6 @@ if WITH_DTRACE_PROBES
libvirt_la_BUILT_LIBADD += libvirt_probes.lo
libvirt_la_DEPENDENCIES += libvirt_probes.lo libvirt_probes.o
nodist_libvirt_la_SOURCES = libvirt_probes.h
-if WITH_REMOTE
-nodist_libvirt_driver_remote_la_SOURCES = libvirt_probes.h
-endif WITH_REMOTE
DTRACE2SYSTEMTAP_FLAGS = --with-modules
BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp
diff --git a/src/remote/Makefile.inc.am b/src/remote/Makefile.inc.am
index acea567abe..5c5f5f4d2c 100644
--- a/src/remote/Makefile.inc.am
+++ b/src/remote/Makefile.inc.am
@@ -179,6 +179,10 @@ libvirt_driver_remote_la_CFLAGS = \
libvirt_driver_remote_la_LDFLAGS = $(AM_LDFLAGS)
libvirt_driver_remote_la_SOURCES = $(REMOTE_DRIVER_SOURCES)
+if WITH_DTRACE_PROBES
+nodist_libvirt_driver_remote_la_SOURCES = libvirt_probes.h
+endif WITH_DTRACE_PROBES
+
if WITH_SASL
libvirt_driver_remote_la_CFLAGS += \
$(SASL_CFLAGS) \
--
2.21.0