]> git.proxmox.com Git - qemu.git/commit
qemu-options.def: add to generated header list
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Oct 2010 15:53:41 +0000 (17:53 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Oct 2010 16:54:02 +0000 (18:54 +0200)
commitdf2943ba3c73ca21dbda063f15fa3e80064af864
treef2d1791e49848dccbcdf2d681c948a8a7efaf135
parentf7c31d6381f2cbac03e82fc23133f6863606edd8
qemu-options.def: add to generated header list

All files include qemu-options.h which pulls in qemu-options.def from
the root directory.  Thus generating qemu-options.def from Makefile.objs
under the target directory is not effective.

Further, people expect .def file to get cleaned with make clean:
it does not have state so no reason to defer removing it
until distclean. Also add a rule to remove old files that might
be around.

This fixes the error: ‘QEMU_OPTION_spice’ undeclared
(first use in this function) error that some people reported
which is really down to an out of date .def file.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Makefile
Makefile.objs