Revision 250b086e Makefile

b/Makefile
3 3
# Always point to the root of the build tree (needs GNU make).
4 4
BUILD_DIR=$(CURDIR)
5 5

  
6
GENERATED_HEADERS = config-host.h trace.h qemu-options.def
7
ifeq ($(TRACE_BACKEND),dtrace)
8
GENERATED_HEADERS += trace-dtrace.h
9
endif
10
GENERATED_HEADERS += qmp-commands.h qapi-types.h qapi-visit.h
11
GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c
12

  
6
# All following code might depend on configuration variables
13 7
ifneq ($(wildcard config-host.mak),)
14 8
# Put the all: rule here so that config-host.mak can contain dependencies.
15 9
all: build-all
......
24 18
	@exit 1
25 19
endif
26 20

  
21
GENERATED_HEADERS = config-host.h trace.h qemu-options.def
22
ifeq ($(TRACE_BACKEND),dtrace)
23
GENERATED_HEADERS += trace-dtrace.h
24
endif
25
GENERATED_HEADERS += qmp-commands.h qapi-types.h qapi-visit.h
26
GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c
27

  
27 28
# Don't try to regenerate Makefile or configure
28 29
# We don't generate any of them
29 30
Makefile: ;

Also available in: Unified diff