summaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorblueswir12009-03-28 07:44:27 +0100
committerblueswir12009-03-28 07:44:27 +0100
commit5824d65122347c0dd06074eeb42a51f0643729cb (patch)
tree97a69cf04c3fe47ea91ba0b339a9ee7cb2dbf98f /Makefile.target
parentFix absolute mouse events generated by SDL frontend. (diff)
downloadqemu-5824d65122347c0dd06074eeb42a51f0643729cb.tar.gz
qemu-5824d65122347c0dd06074eeb42a51f0643729cb.tar.xz
qemu-5824d65122347c0dd06074eeb42a51f0643729cb.zip
Syncing documentation vs. -help vs. qemu_options table
Try to keep documentation about command line switches, -help text and qemu_options table synchronized. In true Qemu tradition, an include file is generated from single .hx file containing all relevant information in one place. The include file is parsed once for getting the enums, another time for getopt tables and hird time for help messages. Texi documentation for the options is generated from the same .hx file. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6884 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index 41366ee8d6..f3f4738f8c 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -729,6 +729,8 @@ LDFLAGS+=-p
main.o: CFLAGS+=-p
endif
+vl.o: qemu-options.h
+
$(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS)
$(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
@@ -744,8 +746,11 @@ else
$(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)
endif
+qemu-options.h: $(SRC_PATH)/qemu-options.hx
+ sh ../hxtool -h < $< > $@
+
clean:
- rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
+ rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h
rm -f *.d */*.d tcg/*.o
install: all