]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix dependancies for remote generated files
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 19 Aug 2010 13:33:39 +0000 (14:33 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 10 Sep 2010 10:14:59 +0000 (11:14 +0100)
Very occasionally during a parallel make, dispatch.c would
be compiled before the generated remote headers had been
fully written. This would cause it to compile an empty
union, and result in really wierd runtime bugs that are
near impossible to diagnose.

* daemon/Makefile.am: Fix remote build deps

daemon/Makefile.am

index 45c30a96d56b8df07cec1c4c8d8bce963badb7d6..b020b770847f9fc410cf3d4817919c13dca424f4 100644 (file)
@@ -187,14 +187,17 @@ uninstall-data-polkit::
 endif
 
 
-remote.c: remote_dispatch_prototypes.h \
-         remote_dispatch_table.h \
-         remote_dispatch_args.h \
-         remote_dispatch_ret.h \
-         qemu_dispatch_prototypes.h \
-         qemu_dispatch_table.h \
-         qemu_dispatch_args.h \
-         qemu_dispatch_ret.h
+remote.c: \
+       remote_dispatch_prototypes.h \
+       remote_dispatch_table.h \
+       qemu_dispatch_prototypes.h \
+       qemu_dispatch_table.h
+
+remote.h: \
+       remote_dispatch_args.h \
+       remote_dispatch_ret.h \
+       qemu_dispatch_args.h \
+       qemu_dispatch_ret.h
 
 REMOTE_PROTOCOL = $(top_srcdir)/src/remote/remote_protocol.x
 QEMU_PROTOCOL = $(top_srcdir)/src/remote/qemu_protocol.x