Debian Codegraph @

src/xtc/typical/Makefile

raw symbols SCIP
1 # Makefile 2
2 #***************************************************************************
3 #
4 # Java development root directory.
5 #
6 # (C) 1999 Jacob Dreyer - Geotechnical Software Services
7 # [email protected] - http://geosoft.no
8 #
9 # Modifications Copyright (C) 2001, 2004 Robert Grimm
10 # [email protected]
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #
26 #***************************************************************************
27
28
29 #***************************************************************************
30 #
31 # This section describes the current package.
32 #
33 # o PACKAGE - The complete package name.
34 # o PACKAGE_LOC - Same as PACKAGE but with "/"s instead of "."s.
35 # o SOURCE - List of the source files. Remember extension.
36 # o JNI_SOURCE - Files from SOURCE that are to be built with the JAVAH
37 # compiler.
38 # o JAR_EXTRAS - None-class files and directories that are to be bundled
39 # into the jar archive.
40 #
41 #***************************************************************************
42
43 PACKAGE = xtc.typical
44 PACKAGE_LOC = xtc/typical
45
46 SOURCE = \
47 Name.java \
48 ScopeKind.java \
49 Scope.java \
50 TypicalParser.java \
51 Tuple.java \
52 Primitives.java \
53 Record.java \
54 Reduction.java \
55 Analyzer.java \
56 TypicalTypes.java \
57 TypicalSupport.java \
58 TypicalAnalyzer.java \
59 TypeMapper.java \
60 TreeFactory.java \
61 TypeCollector.java \
62 FreeVariableCollector.java \
63 FlagSetter.java \
64 LetFolder.java \
65 Transformer.java \
66 Typical.java
67
68 JNI_SOURCE =
69
70 JAR_EXTRAS =
71
72
73
74 #***************************************************************************
75 #
76 # Include common part of makefile
77 #
78 #***************************************************************************
79
80 ifdef JAVA_DEV_ROOT
81 include $(JAVA_DEV_ROOT)/Makerules
82
83 JAVAC_OPTIONS = -Xlint:unchecked -d $(CLASS_DIR) -sourcepath $(SOURCE_DIR)
84
85 parsers :
86 $(RATS) Typical.rats
87 $(JAVAC) $(JAVAC_OPTIONS) TypicalParser.java
88
89 analyzers :
90 $(TYPICAL) -Otype -Ofold-let -Oswitch Typical.tpcl
91 $(JAVAC) $(JAVAC_OPTIONS) TypicalTypes.java
92 $(JAVAC) $(JAVAC_OPTIONS) TypicalSupport.java
93 $(JAVAC) $(JAVAC_OPTIONS) TypicalAnalyzer.java
94 $(TYPICAL) -checkOnly Typical.tpcl # Sanity check
95
96 factories :
97 $(FACTORY) TreeFactory.ffj
98 $(JAVAC) $(JAVAC_OPTIONS) TreeFactory.java
99
100 .PHONY : check check-typical
101
102
103 endif