Revision df2943ba Makefile

b/Makefile
1 1
# Makefile for QEMU.
2 2

  
3
GENERATED_HEADERS = config-host.h trace.h
3
GENERATED_HEADERS = config-host.h trace.h qemu-options.def
4 4

  
5 5
ifneq ($(wildcard config-host.mak),)
6 6
# Put the all: rule here so that config-host.mak can contain dependencies.
......
71 71

  
72 72
config-host.h: config-host.h-timestamp
73 73
config-host.h-timestamp: config-host.mak
74
qemu-options.def: qemu-options.hx
75
	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $@")
74 76

  
75 77
SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
76 78

  
......
150 152
clean:
151 153
# avoid old build problems by removing potentially incorrect old files
152 154
	rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
155
	rm -f qemu-options.def
153 156
	rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~
154 157
	rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d
155 158
	rm -f qemu-img-cmds.h
......
157 160
	$(MAKE) -C tests clean
158 161
	for d in $(ALL_SUBDIRS) libhw32 libhw64 libuser libdis libdis-user; do \
159 162
	if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
163
	rm -f $$d/qemu-options.def; \
160 164
        done
161 165

  
162 166
distclean: clean
163 167
	rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi
164
	rm -f qemu-options.def
165 168
	rm -f config-all-devices.mak
166 169
	rm -f roms/seabios/config.mak roms/vgabios/config.mak
167 170
	rm -f qemu-doc.info qemu-doc.aux qemu-doc.cp qemu-doc.dvi qemu-doc.fn qemu-doc.info qemu-doc.ky qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp qemu-doc.vr

Also available in: Unified diff