Debian Codegraph @

src/xtc/lang/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 #***************************************************************************
32 #
33 # This section describes the current package.
34 #
35 # o PACKAGE - The complete package name.
36 # o PACKAGE_LOC - Same as PACKAGE but with "/"s instead of "."s.
37 # o SOURCE - List of the source files. Remember extension.
38 # o JNI_SOURCE - Files from SOURCE that are to be built with the JAVAH
39 # compiler.
40 # o JAR_EXTRAS - None-class files and directories that are to be bundled
41 # into the jar archive.
42 #
43 #***************************************************************************
44
45 PACKAGE = xtc.lang
46 PACKAGE_LOC = xtc/lang
47
48 SOURCE = \
49 JavaAstSimplifier.java \
50 JavaTypeConverter.java \
51 JavaExternalAnalyzer.java \
52 JavaNoSourceAnalyzer.java \
53 JavaEntities.java \
54 JavaAnalyzer.java \
55 JavaUnitTests.java \
56 JavaPrinter.java \
57 JavaRecognizer.java \
58 JavaParser.java \
59 JavaFiveParser.java \
60 JavaReader.java \
61 JavaFiveReader.java \
62 Java.java \
63 CAnalyzer.java \
64 CCounter.java \
65 CFeatureExtractor.java \
66 CPrinter.java \
67 CParserState.java \
68 CParser.java \
69 CReader.java \
70 C.java \
71 CFactoryParser.java \
72 JavaFactoryParser.java \
73 FactoryFactory.java \
74 TypedLambdaParser.java \
75 TypedLambdaTypes.java \
76 TypedLambdaSupport.java \
77 TypedLambdaAnalyzer.java \
78 TypedLambdaPrinter.java \
79 TypedLambda.java \
80 ClassfileSourceRemapper.java \
81 SourceMapExtractor.java
82
83 JNI_SOURCE =
84
85 JAR_EXTRAS =
86
87
88 #***************************************************************************
89 #
90 # Include common part of makefile
91 #
92 #***************************************************************************
93
94 ifdef JAVA_DEV_ROOT
95 include $(JAVA_DEV_ROOT)/Makerules
96
97 parsers :
98 $(RATS) -option 'parser(xtc.lang.JavaRecognizer)' \
99 -option genericAsVoid Java.rats
100 $(RATS) -option 'parser(xtc.lang.JavaParser)' Java.rats
101 $(RATS) -option 'parser(xtc.lang.JavaReader)' \
102 -option withParseTree Java.rats
103 $(RATS) -option 'parser(xtc.lang.JavaFiveParser)' JavaFive.rats
104 $(RATS) -option 'parser(xtc.lang.JavaFiveReader)' \
105 -option withParseTree JavaFive.rats
106 $(RATS) -option 'parser(xtc.lang.CParser)' C.rats
107 $(RATS) -option 'parser(xtc.lang.CReader)' -option withParseTree C.rats
108 $(RATS) -option 'parser(xtc.lang.TypedLambdaParser)' TypedLambda.rats
109 $(RATS) -option 'parser(xtc.lang.JavaFactoryParser)' JavaFactory.rats
110 $(RATS) -option 'parser(xtc.lang.CFactoryParser)' CFactory.rats
111 $(JAVAC) $(JAVAC_OPTIONS) JavaRecognizer.java
112 $(JAVAC) $(JAVAC_OPTIONS) JavaParser.java
113 $(JAVAC) $(JAVAC_OPTIONS) JavaReader.java
114 $(JAVAC) $(JAVAC_OPTIONS) JavaFiveParser.java
115 $(JAVAC) $(JAVAC_OPTIONS) JavaFiveReader.java
116 $(JAVAC) $(JAVAC_OPTIONS) CParser.java
117 $(JAVAC) $(JAVAC_OPTIONS) CReader.java
118 $(JAVAC) $(JAVAC_OPTIONS) TypedLambdaParser.java
119 $(JAVAC) $(JAVAC_OPTIONS) JavaFactoryParser.java
120 $(JAVAC) $(JAVAC_OPTIONS) CFactoryParser.java
121
122 analyzers :
123 $(TYPICAL) -node expression -Otype -Ofold-let -Oswitch TypedLambda.tpcl
124 $(JAVAC) $(JAVAC_OPTIONS) TypedLambdaTypes.java
125 $(JAVAC) $(JAVAC_OPTIONS) TypedLambdaSupport.java
126 $(JAVAC) $(JAVAC_OPTIONS) TypedLambdaAnalyzer.java
127
128 endif