diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-08-27 12:53:47 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-08-27 12:53:47 +0000 |
commit | 3b6412985b397a51f6640eb57b2152fdc4174251 (patch) | |
tree | d42b9cbb20148e65a79b7f360ccc5247e72e3ce2 /payloads/libpayload/Makefile | |
parent | 3b9d1b83ab792b0e0b574069924287364e91a723 (diff) |
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
Diffstat (limited to 'payloads/libpayload/Makefile')
-rw-r--r-- | payloads/libpayload/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index 1c3a461d2d..af4080fef9 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -56,6 +56,9 @@ HOSTCXXFLAGS := -I$(srck) -I$(objk) DESTDIR = /opt +DOXYGEN := doxygen +DOXYGEN_OUTPUT_DIR := doxygen + ifeq ($(strip $(HAVE_DOTCONFIG)),) all: config @@ -137,10 +140,15 @@ prepare: $(Q)mkdir -p $(obj)/i386 $(obj)/lib/$(ARCHDIR-y) $(obj)/libc $(Q)mkdir -p $(src)/lib/$(ARCHDIR-y) +doxy: doxygen +doxygen: + $(Q)$(DOXYGEN) Doxyfile + clean: $(Q)rm -rf $(obj)/crypto $(obj)/curses $(obj)/drivers $(Q)rm -rf $(obj)/i386 $(obj)/lib $(obj)/libc $(Q)rm -rf $(src)/lib/i386 $(src)/lib/libpayload.a + $(Q)rm -rf $(DOXYGEN_OUTPUT_DIR) distclean: clean $(Q)rm -rf build @@ -148,5 +156,5 @@ distclean: clean include util/kconfig/Makefile -.PHONY: $(PHONY) prepare clean distclean +.PHONY: $(PHONY) prepare clean distclean doxygen doxy |