
PROJECT_DIR	=	..
TOPPERS_DIR	=	$(PROJECT_DIR)/toppers

TEXT_PAGES	=	\
	mainpage	\
	tutorial

TOPPERS_HEADERS	=	\
	$(TOPPERS_DIR)/alarmhandler.hpp	\
	$(TOPPERS_DIR)/allocator.hpp	\
	$(TOPPERS_DIR)/assert.hpp	\
	$(TOPPERS_DIR)/complement.hpp	\
	$(TOPPERS_DIR)/config.hpp	\
	$(TOPPERS_DIR)/context.hpp	\
	$(TOPPERS_DIR)/cpuexception.hpp	\
	$(TOPPERS_DIR)/cyclichandler.hpp	\
	$(TOPPERS_DIR)/dataqueue.hpp	\
	$(TOPPERS_DIR)/diagnostics.hpp	\
	$(TOPPERS_DIR)/eventflag.hpp	\
	$(TOPPERS_DIR)/fmempool.hpp	\
	$(TOPPERS_DIR)/fncode_stub.hpp	\
	$(TOPPERS_DIR)/interrupt.hpp	\
	$(TOPPERS_DIR)/kernel.hpp	\
	$(TOPPERS_DIR)/kernelstatus.hpp	\
	$(TOPPERS_DIR)/mailbox.hpp	\
	$(TOPPERS_DIR)/messagebuffer.hpp	\
	$(TOPPERS_DIR)/mutex.hpp	\
	$(TOPPERS_DIR)/object.hpp	\
	$(TOPPERS_DIR)/outline_stub.hpp	\
	$(TOPPERS_DIR)/overrunhandler.hpp	\
	$(TOPPERS_DIR)/raw_stub.hpp	\
	$(TOPPERS_DIR)/rendezvous.hpp	\
	$(TOPPERS_DIR)/semaphore.hpp	\
	$(TOPPERS_DIR)/sync.hpp	\
	$(TOPPERS_DIR)/task.hpp	\
	$(TOPPERS_DIR)/taskexception.hpp	\
	$(TOPPERS_DIR)/trace.hpp	\
	$(TOPPERS_DIR)/vmempool.hpp


all:	html/index.html

html/index.html:	doxyfile $(TEXT_PAGES) $(TOPPERS_HEADERS)
	-rm html/*
	doxygen

clean:
	-rm html/*
	-rmdir html

