diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-05-17 09:58:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-05-17 09:58:27 (GMT) |
commit | 7bcf8e9a379ec0599160e5562f07b93f8fb9557a (patch) | |
tree | 6b8eea084053c1d891b3c9a5c1e993203902718a /src | |
parent | 2e39e5c7c1427ac6b24c64b7ef01be8d5a20092b (diff) | |
download | Doxygen-7bcf8e9a379ec0599160e5562f07b93f8fb9557a.zip Doxygen-7bcf8e9a379ec0599160e5562f07b93f8fb9557a.tar.gz Doxygen-7bcf8e9a379ec0599160e5562f07b93f8fb9557a.tar.bz2 |
Removed old build files, added install targets and other options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/Makefile.in | 53 | ||||
-rw-r--r-- | src/doxygen.pro.in | 40 | ||||
-rw-r--r-- | src/libdoxycfg.pro.in | 27 | ||||
-rw-r--r-- | src/libdoxycfg.t.in | 53 | ||||
-rw-r--r-- | src/libdoxygen.pro.in | 243 | ||||
-rw-r--r-- | src/libdoxygen.t.in | 129 |
7 files changed, 5 insertions, 545 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61f83c0..1ca6d43 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,6 +5,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/libmd5 ${CMAKE_SOURCE_DIR}/vhdlparser/ ${CMAKE_SOURCE_DIR}/src + ${CLANG_INCLUDEDIR} ${GENERATED_SRC} ) @@ -233,4 +234,8 @@ target_link_libraries(doxygen ${ICONV_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_LIBS} + ${CLANG_LIBS} ) + +install(TARGETS doxygen DESTINATION bin) + diff --git a/src/Makefile.in b/src/Makefile.in deleted file mode 100644 index ac7efaa..0000000 --- a/src/Makefile.in +++ /dev/null @@ -1,53 +0,0 @@ - -# -# -# -# Copyright (C) 1997-2015 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. -# - -GENERATED_SRC = ../generated_src/doxygen - -all: Makefile.libdoxygen Makefile.libdoxycfg Makefile.doxygen Makefile - $(MAKE) -f Makefile.libdoxycfg $@ - $(MAKE) -f Makefile.libdoxygen $@ - $(MAKE) -f Makefile.doxygen $@ - -Makefile.libdoxygen: libdoxygen.pro libdoxygen.t - $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen - echo 'HEADERS += ' `ls -1 translator_??.h` >>Makefile.libdoxygen - -Makefile.libdoxycfg: libdoxycfg.pro libdoxycfg.t - $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg - -Makefile.doxygen: doxygen.pro - $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen - -tmake: - $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen - $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg - $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen - -# clean objects -clean: Makefile.libdoxygen Makefile.libdoxycfg Makefile.doxygen - $(MAKE) -f Makefile.libdoxygen clean - $(MAKE) -f Makefile.libdoxycfg clean - $(MAKE) -f Makefile.doxygen clean - -# also clean flex/bison generated files -distclean: clean - -cd $(GENERATED_SRC) && $(RM) scanner.cpp code.cpp config.cpp pre.cpp constexp.cpp \ - ce_parse.cpp ce_parse.h tag.cpp commentscan.cpp \ - declinfo.cpp defargs.cpp commentcnv.cpp doctokenizer.cpp \ - pycode.cpp pyscanner.cpp fortrancode.cpp fortranscanner.cpp \ - xmlcode.cpp vhdlscanner.cpp vhdlcode.cpp tclscanner.cpp - -FORCE: diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in deleted file mode 100644 index 72410a6..0000000 --- a/src/doxygen.pro.in +++ /dev/null @@ -1,40 +0,0 @@ -# -# -# -# Copyright (C) 1997-2015 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 = app.t -CONFIG = console warn_on $extraopts -HEADERS = doxygen.h -SOURCES = main.cpp -unix:LIBS += -L../lib -ldoxygen -lvhdlparser -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% -win32:INCLUDEPATH += . -win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lvhdlparser -lqtools -lmd5 -lpthread -llibiconv -lole32 %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% -win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib vhdlparser.lib shell32.lib iconv.lib -win32-msvc:TMAKE_LFLAGS += /LIBPATH:..\lib -win32-borland:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib vhdlparser.lib shell32.lib iconv.lib -win32-borland:TMAKE_LFLAGS += -L..\lib -L$(BCB)\lib\psdk -win32:TMAKE_CXXFLAGS += -DQT_NODLL -win32-g++:LIBS = -L../lib -ldoxygen -ldoxycfg -lvhdlparser -lqtools -lmd5 -liconv -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% -Wl,--as-needed -lole32 -win32-g++:TMAKE_CXXFLAGS += -fno-exceptions -fno-rtti -DEPENDPATH += ../generated_src/doxygen -INCLUDEPATH += ../qtools ../libmd5 . ../vhdlparser -DESTDIR = ../bin -TARGET = doxygen -unix:TARGETDEPS = ../lib/libdoxygen.a ../lib/libdoxycfg.a -win32:TARGETDEPS = ..\lib\doxygen.lib ..\lib\doxycfg.lib -win32-g++:TARGETDEPS = ../lib/libdoxygen.a ../lib/libdoxycfg.a -win32-mingw:TARGETDEPS = ../lib/libdoxygen.a ../lib/libdoxycfg.a -OBJECTS_DIR = ../objects/doxygen - diff --git a/src/libdoxycfg.pro.in b/src/libdoxycfg.pro.in deleted file mode 100644 index 2812cd2..0000000 --- a/src/libdoxycfg.pro.in +++ /dev/null @@ -1,27 +0,0 @@ -# -# -# -# Copyright (C) 1997-2015 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 = libdoxycfg.t -CONFIG = console warn_on staticlib $extraopts -HEADERS = config.h configoptions.h portable.h -SOURCES = ../generated_src/doxygen/config.cpp ../generated_src/doxygen/configoptions.cpp portable.cpp portable_c.c -win32:TMAKE_CXXFLAGS += -DQT_NODLL -win32-g++:TMAKE_CXXFLAGS += -fno-exceptions -fno-rtti -DEPENDPATH += ../generated_src/doxygen -INCLUDEPATH += ../generated_src/doxygen . ../qtools -DESTDIR = ../lib -TARGET = doxycfg -OBJECTS_DIR = ../objects/doxygen diff --git a/src/libdoxycfg.t.in b/src/libdoxycfg.t.in deleted file mode 100644 index 33dd0d4..0000000 --- a/src/libdoxycfg.t.in +++ /dev/null @@ -1,53 +0,0 @@ -# -# -# -# Copyright (C) 1997-2015 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. -#! -#! doxygen.t: This is a custom template for building Doxygen -#! -#$ IncludeTemplate("lib.t"); - -LEX = %%FLEX%% -YACC = %%BISON%% -PYTHON = %%PYTHON%% - -#${ -sub GenerateDep { - my($obj,$src,$dep) = @_; - my(@objv,$srcv,$i,$s,$o,$d,$c); - @objv = split(/\s+/,$obj); - @srcv = split(/\s+/,$src); - for $i ( 0..$#objv ) { - $s = $srcv[$i]; - $o = $objv[$i]; - next if $s eq ""; - $text .= $o . ": " . $s; - $text .= " ${linebreak}\n\t\t" . $dep if $dep ne ""; - if ( $moc_output{$s} ne "" ) { - $text .= " ${linebreak}\n\t\t" . $moc_output{$s}; - } - $d = &make_depend($s); - $text .= " ${linebreak}\n\t\t" . $d if $d ne ""; - $text .= "\n"; - } - chop $text; -} -#$} - -#################### - -#$ GenerateDep("../generated_src/doxygen/config.cpp","config.l"); - $(LEX) -PconfigYY -t config.l >../generated_src/doxygen/config.cpp - -../generated_src/doxygen/configoptions.cpp: config.xml configgen.py - $(PYTHON) configgen.py -cpp config.xml >../generated_src/doxygen/configoptions.cpp - diff --git a/src/libdoxygen.pro.in b/src/libdoxygen.pro.in deleted file mode 100644 index 3680f97..0000000 --- a/src/libdoxygen.pro.in +++ /dev/null @@ -1,243 +0,0 @@ -# -# -# -# Copyright (C) 1997-2015 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 \ - bufstr.h \ - cite.h \ - clangparser.h \ - classdef.h \ - classlist.h \ - cmdmapper.h \ - code.h \ - commentcnv.h \ - commentscan.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 \ - eclipsehelp.h \ - entry.h \ - example.h \ - filedef.h \ - filename.h \ - fileparser.h \ - formula.h \ - ftextstream.h \ - ftvhelp.h \ - groupdef.h \ - htags.h \ - htmlattrib.h \ - htmldocvisitor.h \ - htmlgen.h \ - htmlhelp.h \ - htmlentity.h \ - image.h \ - index.h \ - language.h \ - latexdocvisitor.h \ - latexgen.h \ - layout.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 \ - objcache.h \ - outputgen.h \ - outputlist.h \ - pagedef.h \ - perlmodgen.h \ - lodepng.h \ - plantuml.h \ - pre.h \ - printdocvisitor.h \ - pycode.h \ - pyscanner.h \ - fortrancode.h \ - fortranscanner.h \ - xmlscanner.h \ - qhp.h \ - qhpxmlwriter.h \ - reflist.h \ - resourcemgr.h \ - rtfdocvisitor.h \ - rtfgen.h \ - rtfstyle.h \ - scanner.h \ - searchindex.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 \ - xmldocvisitor.h \ - xmlgen.h \ - docbookvisitor.h \ - docbookgen.h \ - xmlcode.h \ - vhdljjparser.h - - -SOURCES = arguments.cpp \ - cite.cpp \ - clangparser.cpp \ - classdef.cpp \ - classlist.cpp \ - cmdmapper.cpp \ - condparser.cpp \ - context.cpp \ - cppvalue.cpp \ - debug.cpp \ - defgen.cpp \ - define.cpp \ - definition.cpp \ - diagram.cpp \ - dirdef.cpp \ - docparser.cpp \ - docsets.cpp \ - dot.cpp \ - doxygen.cpp \ - eclipsehelp.cpp \ - entry.cpp \ - filedef.cpp \ - filename.cpp \ - fileparser.cpp \ - formula.cpp \ - ftextstream.cpp \ - ftvhelp.cpp \ - groupdef.cpp \ - htags.cpp \ - htmldocvisitor.cpp \ - htmlgen.cpp \ - htmlhelp.cpp \ - htmlentity.cpp \ - image.cpp \ - index.cpp \ - language.cpp \ - latexdocvisitor.cpp \ - latexgen.cpp \ - layout.cpp \ - lodepng.cpp \ - logos.cpp \ - plantuml.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 \ - qhp.cpp \ - qhpxmlwriter.cpp \ - reflist.cpp \ - resourcemgr.cpp \ - rtfdocvisitor.cpp \ - rtfgen.cpp \ - rtfstyle.cpp \ - searchindex.cpp \ - store.cpp \ - tagreader.cpp \ - template.cpp \ - textdocvisitor.cpp \ - tooltip.cpp \ - util.cpp \ - vhdldocgen.cpp \ - xmldocvisitor.cpp \ - xmlgen.cpp \ - docbookvisitor.cpp \ - docbookgen.cpp \ - vhdljjparser.cpp \ - ../generated_src/doxygen/ce_parse.cpp \ - ../generated_src/doxygen/constexp.cpp \ - ../generated_src/doxygen/vhdlcode.cpp \ - ../generated_src/doxygen/code.cpp \ - ../generated_src/doxygen/commentcnv.cpp \ - ../generated_src/doxygen/commentscan.cpp \ - ../generated_src/doxygen/declinfo.cpp \ - ../generated_src/doxygen/defargs.cpp \ - ../generated_src/doxygen/doctokenizer.cpp \ - ../generated_src/doxygen/pre.cpp \ - ../generated_src/doxygen/pycode.cpp \ - ../generated_src/doxygen/xmlcode.cpp \ - ../generated_src/doxygen/pyscanner.cpp \ - ../generated_src/doxygen/scanner.cpp \ - ../generated_src/doxygen/tclscanner.cpp \ - ../generated_src/doxygen/fortrancode.cpp \ - ../generated_src/doxygen/fortranscanner.cpp \ - ../generated_src/doxygen/version.cpp \ - ../generated_src/doxygen/resources.cpp - - - -win32:TMAKE_CXXFLAGS += -DQT_NODLL -win32-msvc:TMAKE_CXXFLAGS += -Zm200 -win32-g++:TMAKE_CXXFLAGS += -fno-exceptions -linux-g++:TMAKE_CXXFLAGS += -fno-exceptions -INCLUDEPATH += ../generated_src/doxygen ../src ../qtools ../libmd5 ../vhdlparser -INCLUDEPATH += %%SQLITE3_INC%% -INCLUDEPATH += %%LIBCLANG_INC%% -DEPENDPATH += ../generated_src/doxygen ../qtools ../libmd5 ../vhdlparser -win32:INCLUDEPATH += . -DESTDIR = ../lib -TARGET = doxygen -OBJECTS_DIR = ../objects/doxygen - diff --git a/src/libdoxygen.t.in b/src/libdoxygen.t.in deleted file mode 100644 index a9195bc..0000000 --- a/src/libdoxygen.t.in +++ /dev/null @@ -1,129 +0,0 @@ -# -# -# -# Copyright (C) 1997-2015 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. -#! -#! doxygen.t: This is a custom template for building Doxygen -#! -#$ IncludeTemplate("lib.t"); - -LEX = %%FLEX%% -YACC = %%BISON%% -PYTHON = %%PYTHON%% -PERL = %%PERL%% -INCBUFSIZE = $(PYTHON) increasebuffer.py -GENERATED_SRC = ../generated_src/doxygen -GENERATED_OBJ = ../objects/doxygen - -#${ -sub GenerateDep { - my($obj,$src,@deps) = @_; - my(@objv,$srcv,$i,$s,$o,$d,$c); - @objv = split(/\s+/,$obj); - @srcv = split(/\s+/,$src); - for $i ( 0..$#objv ) { - $s = $srcv[$i]; - $o = $objv[$i]; - next if $s eq ""; - $text .= $o . ": " . $s; - foreach my $dep (@deps) { - $text .= " ${linebreak}\n\t\t" . $dep if $dep ne ""; - } - if ( $moc_output{$s} ne "" ) { - $text .= " ${linebreak}\n\t\t" . $moc_output{$s}; - } - $d = &make_depend($s); - $text .= " ${linebreak}\n\t\t" . $d if $d ne ""; - $text .= "\n"; - } - chop $text; -} -sub GenerateLex { - my($name,$caseOpt) = @_; - $text = "\t\$(LEX) "; - if ($caseOpt) { - $text .= "-i "; - } - $text .= "-P".$name."YY -t ".$name.".l | \$(INCBUFSIZE) > \$(GENERATED_SRC)/".$name.".cpp"; -} -#$} - -#################### - -#$ GenerateDep("\$(GENERATED_SRC)/scanner.cpp","scanner.l"); -#$ GenerateLex("scanner",0); - -#$ GenerateDep("\$(GENERATED_SRC)/code.cpp","code.l"); -#$ GenerateLex("code",0); - -#$ GenerateDep("\$(GENERATED_SRC)/pyscanner.cpp","pyscanner.l"); -#$ GenerateLex("pyscanner",0); - -#$ GenerateDep("\$(GENERATED_SRC)/pycode.cpp","pycode.l"); -#$ GenerateLex("pycode",0); - -#$ GenerateDep("\$(GENERATED_SRC)/xmlcode.cpp","xmlcode.l"); -#$ GenerateLex("xmlcode",0); - -#$ GenerateDep("\$(GENERATED_SRC)/fortranscanner.cpp","fortranscanner.l"); -#$ GenerateLex("fortranscanner",1); - -#$ GenerateDep("\$(GENERATED_SRC)/fortrancode.cpp","fortrancode.l"); -#$ GenerateLex("fortrancode",1); - -#$ GenerateDep("\$(GENERATED_SRC)/vhdlcode.cpp","vhdlcode.l"); -#$ GenerateLex("vhdlcode",1); - -#$ GenerateDep("\$(GENERATED_SRC)/tclscanner.cpp","tclscanner.l"); -#$ GenerateLex("tclscanner",1); - -#$ GenerateDep("\$(GENERATED_SRC)/pre.cpp","pre.l"); -#$ GenerateLex("pre",0); - -#$ GenerateDep("\$(GENERATED_SRC)/declinfo.cpp","declinfo.l"); -#$ GenerateLex("declinfo",0); - -#$ GenerateDep("\$(GENERATED_SRC)/defargs.cpp","defargs.l"); -#$ GenerateLex("defargs",0); - -#$ GenerateDep("\$(GENERATED_SRC)/doctokenizer.cpp","doctokenizer.l"); -#$ GenerateLex("doctokenizer",0); - -#$ GenerateDep("\$(GENERATED_SRC)/commentcnv.cpp","commentcnv.l"); -#$ GenerateLex("commentcnv",0); - -#$ GenerateDep("\$(GENERATED_SRC)/commentscan.cpp","commentscan.l"); -#$ GenerateLex("commentscan",0); - -#$ GenerateDep("\$(GENERATED_SRC)/constexp.cpp","constexp.l","\$(GENERATED_SRC)/ce_parse.h"); -#$ GenerateLex("constexp",0); - -#$ GenerateDep("\$(GENERATED_SRC)/ce_parse.cpp","constexp.y"); - $(YACC) -l -p constexpYY constexp.y -o \$(GENERATED_SRC)/ce_parse.cpp - -#$ GenerateDep("\$(GENERATED_SRC)/ce_parse.h","constexp.y"); - $(YACC) -l -d -p ce_parsexpYY constexp.y -o \$(GENERATED_SRC)/ce_parse.c - -rm $(GENERATED_SRC)/ce_parse.c - -#$ GenerateDep("layout.cpp","\$(GENERATED_SRC)/layout_default.xml.h"); - -$(GENERATED_SRC)/version.cpp: ../configure - $(PYTHON) version.py $(GENERATED_SRC) - -TO_C_CMD=$(PYTHON) to_c_cmd.py < $< > $@ - -$(GENERATED_SRC)/layout_default.xml.h: layout_default.xml - $(TO_C_CMD) - -../generated_src/doxygen/resources.cpp: res2cc_cmd.py $(wildcard ../templates/html/*) $(wildcard ../templates/xml) $(wildcard ../templates/latex) - $(PYTHON) res2cc_cmd.py ../templates ../generated_src/doxygen/resources.cpp - |