Debian Codegraph @

src/xtc/lang/blink/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.lang.blink
44 PACKAGE_LOC = xtc/lang/blink
45
46 GRAMMARS = Command
47 FACTORIES =
48
49 SOURCE = \
50 $(patsubst %,%Parser.java,$(GRAMMARS)) \
51 $(patsubst %,%.java,$(FACTORIES)) \
52 $(wildcard *.java)
53
54 JNI_SOURCE =
55
56 JAR_EXTRAS =
57
58
59
60 #***************************************************************************
61 #
62 # Include common part of makefile
63 #
64 #***************************************************************************
65
66
67 ifdef JAVA_DEV_ROOT
68 include $(JAVA_DEV_ROOT)/Makerules
69
70 JAVAC_OPTIONS = -Xlint:unchecked -d $(CLASS_DIR) -sourcepath $(SOURCE_DIR)
71
72 parsers :
73 $(RATS) Command.rats
74 $(JAVAC) $(JAVAC_OPTIONS) CommandParser.java
75
76 documentation : $(patsubst %,doc/xtc.lang.blink.%.html,$(GRAMMARS))
77
78 endif