5 # Copyright (C) 1997-2014 by Dimitri van Heesch.
7 # Permission to use, copy, modify, and distribute this software and its
8 # documentation under the terms of the GNU General Public License is hereby
9 # granted. No representations are made about the suitability of this software
10 # for any purpose. It is provided "as is" without express or implied warranty.
11 # See the GNU General Public License for more details.
13 # Documents produced by Doxygen are derivative works derived from the
14 # input used in their production; they are not affected by this license.
17 GENERATED_SRC = ../generated_src/doxygen
19 all: Makefile.libdoxygen Makefile.libdoxycfg Makefile.doxygen Makefile
20 $(MAKE) -f Makefile.libdoxycfg $@
21 $(MAKE) -f Makefile.libdoxygen $@
22 $(MAKE) -f Makefile.doxygen $@
24 Makefile.libdoxygen: libdoxygen.pro libdoxygen.t
25 $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen
26 echo 'HEADERS += ' `ls -1 translator_??.h` >>Makefile.libdoxygen
28 Makefile.libdoxycfg: libdoxycfg.pro libdoxycfg.t
29 $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg
31 Makefile.doxygen: doxygen.pro
32 $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen
35 $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen
36 $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg
37 $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen
40 clean: Makefile.libdoxygen Makefile.libdoxycfg Makefile.doxygen
41 $(MAKE) -f Makefile.libdoxygen clean
42 $(MAKE) -f Makefile.libdoxycfg clean
43 $(MAKE) -f Makefile.doxygen clean
45 # also clean flex/bison generated files
47 -cd $(GENERATED_SRC) && $(RM) scanner.cpp code.cpp config.cpp pre.cpp constexp.cpp \
48 ce_parse.cpp ce_parse.h tag.cpp commentscan.cpp \
49 declinfo.cpp defargs.cpp commentcnv.cpp doctokenizer.cpp \
50 pycode.cpp pyscanner.cpp fortrancode.cpp fortranscanner.cpp \
51 vhdlscanner.cpp vhdlcode.cpp tclscanner.cpp vhdlparser.h \