2 # $Id: libdoxycfg.t,v 1.1 2001/03/19 19:27:41 root Exp $
4 # Copyright (C) 1997-2012 by Dimitri van Heesch.
6 # Permission to use, copy, modify, and distribute this software and its
7 # documentation under the terms of the GNU General Public License is hereby
8 # granted. No representations are made about the suitability of this software
9 # for any purpose. It is provided "as is" without express or implied warranty.
10 # See the GNU General Public License for more details.
12 # Documents produced by Doxygen are derivative works derived from the
13 # input used in their production; they are not affected by this license.
15 #! doxygen.t: This is a custom template for building Doxygen
17 #$ IncludeTemplate("lib.t");
24 my($obj,$src,$dep) = @_;
25 my(@objv,$srcv,$i,$s,$o,$d,$c);
26 @objv = split(/\s+/,$obj);
27 @srcv = split(/\s+/,$src);
28 for $i ( 0..$#objv ) {
32 $text .= $o . ": " . $s;
33 $text .= " ${linebreak}\n\t\t" . $dep if $dep ne "";
34 if ( $moc_output{$s} ne "" ) {
35 $text .= " ${linebreak}\n\t\t" . $moc_output{$s};
37 $d = &make_depend($s);
38 $text .= " ${linebreak}\n\t\t" . $d if $d ne "";
47 #$ GenerateDep("config.cpp","config.l");
48 $(LEX) -PconfigYY -t config.l >config.cpp
50 configoptions.cpp: config.xml
51 python configgen.py config.xml >configoptions.cpp