Add a Doxygen config file and a Makefile target 'doxy' or 'doxygen' which

generate API documentation (HTML) for libpayload in a 'doxygen' subdirectory.

A 'make clean' will remove this directory again.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann 2008-08-27 12:53:47 +00:00
parent 3b9d1b83ab
commit 3b6412985b
2 changed files with 1426 additions and 1 deletions

1417
payloads/libpayload/Doxyfile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -56,6 +56,9 @@ HOSTCXXFLAGS := -I$(srck) -I$(objk)
DESTDIR = /opt DESTDIR = /opt
DOXYGEN := doxygen
DOXYGEN_OUTPUT_DIR := doxygen
ifeq ($(strip $(HAVE_DOTCONFIG)),) ifeq ($(strip $(HAVE_DOTCONFIG)),)
all: config all: config
@ -137,10 +140,15 @@ prepare:
$(Q)mkdir -p $(obj)/i386 $(obj)/lib/$(ARCHDIR-y) $(obj)/libc $(Q)mkdir -p $(obj)/i386 $(obj)/lib/$(ARCHDIR-y) $(obj)/libc
$(Q)mkdir -p $(src)/lib/$(ARCHDIR-y) $(Q)mkdir -p $(src)/lib/$(ARCHDIR-y)
doxy: doxygen
doxygen:
$(Q)$(DOXYGEN) Doxyfile
clean: clean:
$(Q)rm -rf $(obj)/crypto $(obj)/curses $(obj)/drivers $(Q)rm -rf $(obj)/crypto $(obj)/curses $(obj)/drivers
$(Q)rm -rf $(obj)/i386 $(obj)/lib $(obj)/libc $(Q)rm -rf $(obj)/i386 $(obj)/lib $(obj)/libc
$(Q)rm -rf $(src)/lib/i386 $(src)/lib/libpayload.a $(Q)rm -rf $(src)/lib/i386 $(src)/lib/libpayload.a
$(Q)rm -rf $(DOXYGEN_OUTPUT_DIR)
distclean: clean distclean: clean
$(Q)rm -rf build $(Q)rm -rf build
@ -148,5 +156,5 @@ distclean: clean
include util/kconfig/Makefile include util/kconfig/Makefile
.PHONY: $(PHONY) prepare clean distclean .PHONY: $(PHONY) prepare clean distclean doxygen doxy