root/juggler/tags/1.0.5/Doc/makefile

Revision 7539, 3.1 kB (checked in by anonymous, 7 years ago)

This commit was manufactured by cvs2svn to create tag
'RELENG_1_0_5_RELEASE'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
2 #
3 # VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University
4 #
5 # Original Authors:
6 #   Allen Bierbaum, Christopher Just,
7 #   Patrick Hartling, Kevin Meinert,
8 #   Carolina Cruz-Neira, Albert Baker
9 #
10 # This library is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU Library General Public
12 # License as published by the Free Software Foundation; either
13 # version 2 of the License, or (at your option) any later version.
14 #
15 # This library is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 # Library General Public License for more details.
19 #
20 # You should have received a copy of the GNU Library General Public
21 # License along with this library; if not, write to the
22 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
24 #
25 # -----------------------------------------------------------------
26 # File:          $RCSfile$
27 # Date modified: $Date$
28 # Version:       $Revision$
29 # -----------------------------------------------------------------
30 #
31 # *************** <auto-copyright.pl END do not edit this line> ***************
32
33 include subdirs.mk
34
35 top_srcdir = ..
36
37 PERCEPS_DIR = .
38 PERCEPS= perl $(PERCEPS_DIR)/bin/perceps
39 FILTERS = ./filters
40 TEMPLATES_INT = ./templates/internal
41 TEMPLATES_PUB = ./templates/public
42
43 SRC_EX = ExampleClass.h ExampleClass.C
44 OUT_INT = ./internal_doc
45 OUT_PUB = ./public_doc
46 OUT_EX = ./ex_html
47 JAVA_CLASS = $(PERCEPS_DIR)/classes
48
49 docs: doc-internal doc-public
50
51 doc-internal:
52         $(PERCEPS) -a -b -c -h -f -d $(OUT_INT) -F $(FILTERS)           \
53           -t $(TEMPLATES_INT) $(SUBDIRS)
54         cp $(JAVA_CLASS)/*.class $(OUT_INT)
55
56 doc-public:
57         $(MAKE) BASE_OUT="$(OUT_PUB)" TEMPLATES="$(TEMPLATES_PUB)"      \
58           all-doc $(GROUPS)
59
60 all-doc:
61         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT) -F $(FILTERS)          \
62           -t $(TEMPLATES) $(SUBDIRS)
63         cp $(JAVA_CLASS)/*.class $(BASE_OUT)
64
65 Config:
66         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
67           -t $(TEMPLATES)_xml $(CONFIG_GROUP_DIRS)
68
69 Input:
70         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
71           -t $(TEMPLATES)_xml $(INPUT_GROUP_DIRS)
72
73 Kernel:
74         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
75           -t $(TEMPLATES)_xml $(KERNEL_GROUP_DIRS)
76
77 Math:
78         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
79           -t $(TEMPLATES)_xml $(MATH_GROUP_DIRS)
80
81 Primitives:
82         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
83           -t $(TEMPLATES)_xml $(PRIMITIVES_GROUP_DIRS)
84
85 Sound:
86         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
87           -t $(TEMPLATES)_xml $(SOUND_GROUP_DIRS)
88
89 Utils:
90         $(PERCEPS) -a -b -c -h -f -d $(BASE_OUT)/$@ -F $(FILTERS)       \
91           -t $(TEMPLATES)_xml $(UTILS_GROUP_DIRS)
92
93 example:
94         $(PERCEPS) -a -b -c -h -d $(OUT_EX) -t $(TEMPLATES) $(SRC_EX)
95         cp $(JAVA_CLASS)/*.class $(OUT_EX)
96
97 clean:
98         @ if [ -f $(OUT_PUB)/* ]; then rm $(OUT_PUB)/*; fi
99         @ if [ -f $(OUT_INT)/* ]; then rm $(OUT_INT)/*; fi
Note: See TracBrowser for help on using the browser.