]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src/Makefile: Fix parallel build after xen_xl_disk parser introduction
authorPavel Hrdina <phrdina@redhat.com>
Thu, 8 Jan 2015 06:54:22 +0000 (07:54 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 8 Jan 2015 13:36:49 +0000 (14:36 +0100)
commit533349ff43ddf091026fbcb0d9a714d9cc570dc7
treee587e6b6a5f040b25a1543e0de563b98622cc363
parentedacdb3d12256af4f6e31ec65c9dd4797fb3aa0d
src/Makefile: Fix parallel build after xen_xl_disk parser introduction

Well, the parallel build doesn't work as there are not dependencies
set correctly. When running 'make -j' I see this error:

make[2]: Entering directory '/home/zippy/work/libvirt/libvirt.git/src'
  GEN      util/virkeymaps.h
  GEN      locking/lock_protocol.h
make[2]: *** No rule to make target 'xenconfig/xen_xl_disk.h', needed by 'all'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  GEN      lxc/lxc_controller_dispatch.h

The fix is to correctly set dependencies by letting make know that .c
and .h are to be generated from .l. Moreover, the section is moved
closer to the other section which uses it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/Makefile.am