#
# 
#
# Copyright (C) 1997-2013 by Dimitri van Heesch.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby 
# granted. No representations are made about the suitability of this software 
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
#
# Documents produced by Doxygen are derivative works derived from the
# input used in their production; they are not affected by this license.
#
# TMake project file for doxygen

TEMPLATE     =	libdoxygen.t
CONFIG       =	console warn_on staticlib $extraopts
HEADERS      =	arguments.h \
                bib2xhtml.pl.h \
                bufstr.h \
		cite.h \
		clangparser.h \
                classdef.h \
                classlist.h \
                cmdmapper.h \
                code.h \
		commentcnv.h \
		commentscan.h \
                compound.xsd.h \
		condparser.h \
                config.h \
		context.h \
		constexp.h \
		cppvalue.h \
		debug.h \
                declinfo.h \
                defargs.h \
                defgen.h \
                define.h \
                definition.h \
                diagram.h \
                dirdef.h \
                docparser.h \
		docsets.h \
                doctokenizer.h \
                docvisitor.h \
		dot.h \
		doxygen.h \
		doxygen.bst.h \
		doxygen.css.h \
		doxygen.sty.h \
		eclipsehelp.h \
		entry.h \
		example.h \
		filedef.h \
		filename.h \
		footer.html.h \
		formula.h \
		ftextstream.h \
		ftvhelp.h \
		groupdef.h \
		header.html.h \
		htags.h \
		htmlattrib.h \
                htmldocvisitor.h \
		htmlgen.h \
		htmlhelp.h \
		image.h \
		index.h \
                index.xsd.h \
		jquery_p1.js.h \
		jquery_p2.js.h \
		jquery_p3.js.h \
		jquery_ui.js.h \
		jquery_fx.js.h \
		jquery_pt.js.h \
		svgpan.js.h \
		dynsections.js.h \
		language.h \
                latexdocvisitor.h \
		latexgen.h \
                layout.h \
                layout_default.xml.h \
		logos.h \
		mandocvisitor.h \
		mangen.h \
		sqlite3gen.h \
		markdown.h \
                marshal.h \
		memberdef.h \
		membergroup.h \
		memberlist.h \
		membername.h \
		message.h \
                msc.h \
                dia.h \
		namespacedef.h \
		navtree.css.h \
		navtree.js.h \
                objcache.h \
		outputgen.h \
		outputlist.h \
		pagedef.h \
		perlmodgen.h \
		lodepng.h \
		pre.h \
                printdocvisitor.h \
                pycode.h \
                pyscanner.h \
                fortrancode.h \
                fortranscanner.h \
                dbusxmlscanner.h \
		qhp.h \
		qhpxmlwriter.h \
		reflist.h \
		resize.js.h \
                rtfdocvisitor.h \
		rtfgen.h \
		rtfstyle.h \
		scanner.h \
		searchindex.h \
		search.css.h \
		search.js.h \
		extsearch.js.h \
		search_functions.php.h \
		search_opensearch.php.h \
		section.h \
		sortdict.h \
                store.h \
		tagreader.h \
		tclscanner.h \
		template.h \
                textdocvisitor.h \
		tooltip.h \
		translator.h \
		translator_adapter.h \
		util.h \
		version.h \
		vhdlcode.h \
		vhdldocgen.h \
		vhdlscanner.h \
		xmldocvisitor.h \
                xmlgen.h \
                docbookvisitor.h \
                docbookgen.h

SOURCES      =	arguments.cpp \
                constexp.cpp \
                ce_parse.cpp \
		cite.cpp \
		clangparser.cpp \
		classdef.cpp \
		classlist.cpp \
                cmdmapper.cpp \
		code.cpp \
		commentcnv.cpp \
		commentscan.cpp \
		condparser.cpp \
		context.cpp \
		cppvalue.cpp \
                dbusxmlscanner.cpp \
		debug.cpp \
                defgen.cpp \
		declinfo.cpp \
		defargs.cpp \
		define.cpp \
		definition.cpp \
		diagram.cpp \
                dirdef.cpp \
                docparser.cpp \
		docsets.cpp \
                doctokenizer.cpp \
		dot.cpp \
		doxygen.cpp \
		eclipsehelp.cpp \
		entry.cpp \
		filedef.cpp \
		filename.cpp \
		formula.cpp \
		ftextstream.cpp \
		ftvhelp.cpp \
		fortrancode.cpp \
		fortranscanner.cpp \    
		groupdef.cpp \
		htags.cpp \
                htmldocvisitor.cpp \
		htmlgen.cpp \
		htmlhelp.cpp \
		image.cpp \
		index.cpp \
		language.cpp \
                latexdocvisitor.cpp \
		latexgen.cpp \
                layout.cpp \
		lodepng.cpp \
		logos.cpp \
		mandocvisitor.cpp \
		mangen.cpp \
		sqlite3gen.cpp \
		markdown.cpp \
                marshal.cpp \
		memberdef.cpp \
		membergroup.cpp \
		memberlist.cpp \
		membername.cpp \
		message.cpp \
                msc.cpp \
                dia.cpp \
		namespacedef.cpp \
                objcache.cpp \
		outputgen.cpp \
		outputlist.cpp \
		pagedef.cpp \
		perlmodgen.cpp \
		pre.cpp \
		pycode.cpp \
		pyscanner.cpp \    
		qhp.cpp \
		qhpxmlwriter.cpp \
		reflist.cpp \
                rtfdocvisitor.cpp \
		rtfgen.cpp \
		rtfstyle.cpp \
		scanner.cpp \
		searchindex.cpp \
                store.cpp \
		tagreader.cpp \
                tclscanner.cpp \
		template.cpp \
                textdocvisitor.cpp \
                tooltip.cpp \
		util.cpp \
		version.cpp \
		vhdlcode.cpp \
		vhdldocgen.cpp \
		vhdlparser.cpp \
		vhdlscanner.cpp \
		xmldocvisitor.cpp \
                xmlgen.cpp \
                docbookvisitor.cpp \
                docbookgen.cpp

win32:TMAKE_CXXFLAGS       += -DQT_NODLL 
win32-msvc:TMAKE_CXXFLAGS  += -Zm200
win32-g++:TMAKE_CXXFLAGS   += -fno-exceptions
linux-g++:TMAKE_CXXFLAGS    += -fno-exceptions
INCLUDEPATH                += ../qtools
#INCLUDEPATH                += ../libpng
INCLUDEPATH                += ../libmd5
INCLUDEPATH                += %%SQLITE3_INC%%
win32:INCLUDEPATH          += .
#win32-g++:INCLUDEPATH      = ../qtools /usr/include/libpng12 ../libmd5
win32-g++:INCLUDEPATH      = ../qtools ../libmd5
DESTDIR                    =  ../lib
TARGET                     =  doxygen
OBJECTS_DIR                =  ../objects