summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-16 23:58:46 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-11-17 15:15:31 -0200
commit611b727374ad76fb0078ea65bc1387194913980e (patch)
treeee86d1dbf47823ca2d924c689db26ff989ff99d6 /Makefile
parent54d50be688aba80e0fd5ba53f23a074a0ce2e381 (diff)
downloadqemu-611b727374ad76fb0078ea65bc1387194913980e.tar.gz
qemu-611b727374ad76fb0078ea65bc1387194913980e.tar.bz2
qemu-611b727374ad76fb0078ea65bc1387194913980e.zip
Makefile: remove more generated files on clean
make clean missed the source qmp files generated by python. Fix that. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 168093c6cf..b335f2a1ec 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ ifeq ($(TRACE_BACKEND),dtrace)
GENERATED_HEADERS += trace-dtrace.h
endif
GENERATED_HEADERS += qmp-commands.h qapi-types.h qapi-visit.h
+GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c
ifneq ($(wildcard config-host.mak),)
# Put the all: rule here so that config-host.mak can contain dependencies.
@@ -227,6 +228,7 @@ clean:
rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp
rm -f trace-dtrace.dtrace trace-dtrace.dtrace-timestamp
rm -f trace-dtrace.h trace-dtrace.h-timestamp
+ rm -f $(GENERATED_SOURCES)
rm -rf $(qapi-dir)
$(MAKE) -C tests clean
for d in $(ALL_SUBDIRS) $(QEMULIBS) libcacard; do \