diff --git a/src/Makefile.am b/src/Makefile.am index 56b1ed48cb3d49f3a3f00183e652da58144860a7..34dfeeb9f9d423a5aac51d7820102d8854db68ee 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 071d19d26a901297fd18710d2ab9ce647d3f1c5b..00f2212909660b7b5f2c17733b5de8c1974c2f4e 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) \