875cf1df64a62bb4bc1ec0b31e30818fc97d73e7
[platform/upstream/doxygen.git] / src / Makefile.in
1
2 #
3 #
4 #
5 # Copyright (C) 1997-2014 by Dimitri van Heesch.
6 #
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.
12 #
13 # Documents produced by Doxygen are derivative works derived from the
14 # input used in their production; they are not affected by this license.
15 #
16
17 GENERATED_SRC = ../generated_src/doxygen
18
19 all: Makefile.libdoxygen Makefile.libdoxycfg Makefile.doxygen Makefile
20         $(MAKE) -f Makefile.libdoxycfg $@
21         $(MAKE) -f Makefile.libdoxygen $@
22         $(MAKE) -f Makefile.doxygen    $@
23
24 Makefile.libdoxygen: libdoxygen.pro libdoxygen.t
25         $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen
26         echo 'HEADERS += ' `ls -1 translator_??.h`  >>Makefile.libdoxygen
27
28 Makefile.libdoxycfg: libdoxycfg.pro libdoxycfg.t
29         $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg
30
31 Makefile.doxygen: doxygen.pro
32         $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen
33
34 tmake:
35         $(ENV) $(PERL) "$(TMAKE)" libdoxygen.pro >Makefile.libdoxygen
36         $(ENV) $(PERL) "$(TMAKE)" libdoxycfg.pro >Makefile.libdoxycfg
37         $(ENV) $(PERL) "$(TMAKE)" doxygen.pro >Makefile.doxygen
38
39 # clean objects
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
44
45 # also clean flex/bison generated files
46 distclean: clean
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 \
52                vhdlparser.cpp
53
54 FORCE: