]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: don't lose probes.o files
authorEric Blake <eblake@redhat.com>
Tue, 29 May 2012 20:58:56 +0000 (14:58 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 29 May 2012 21:09:01 +0000 (15:09 -0600)
The previous patch fixed an incremental build, but missed that on
a fresh checkout, we now have nothing left that stops make from
nuking libvirt_qemu_probes.o.

* src/Makefile.am ($(libvirt_driver_qemu_la_SOURCES)): Delete,
since this variable is empty.
(.PRECIOUS): Add %_probes.o, so they don't get nuked as an
intermediate by-product after creating %_probes.lo.

src/Makefile.am

index 533e78ae0721dadb2c181c89665dbd3ef08d4c92..c8efa5b20a332ae153886c9bf3805d676576e1ee 100644 (file)
@@ -1294,8 +1294,6 @@ BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp
 if WITH_QEMU
 libvirt_driver_qemu_la_LIBADD += libvirt_qemu_probes.lo
 nodist_libvirt_driver_qemu_la_SOURCES = libvirt_qemu_probes.h
-
-$(libvirt_driver_qemu_la_SOURCES): libvirt_qemu_probes.h
 endif
 
 tapsetdir = $(datadir)/systemtap/tapset
@@ -1304,6 +1302,7 @@ tapset_DATA = libvirt_probes.stp libvirt_qemu_probes.stp libvirt_functions.stp
 %_probes.h: %_probes.d
        $(AM_V_GEN)$(DTRACE) -o $@ -h -s $<
 
+.PRECIOUS: %_probes.o
 %_probes.o: %_probes.d
        $(AM_V_GEN)$(DTRACE) -o $@ -G -s $<