| 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.overlog |
| 46 | PACKAGE_LOC = xtc/lang/overlog |
| 47 | |
| 48 | SOURCE = \ |
| 49 | Parser.java \ |
| 50 | Overlog.java \ |
| 51 | OverlogPrinter.java \ |
| 52 | TypeAnalyzer.java \ |
| 53 | ConcurrencyAnalyzer.java \ |
| 54 | OverlogJavaFactory.java \ |
| 55 | Normalizer.java \ |
| 56 | Transformer.java \ |
| 57 | Normalizer.java \ |
| 58 | MaterializationChecker.java |
| 59 | |
| 60 | JNI_SOURCE = |
| 61 | |
| 62 | JAR_EXTRAS = |
| 63 | |
| 64 | |
| 65 | #*************************************************************************** |
| 66 | # |
| 67 | # Include common part of makefile |
| 68 | # |
| 69 | #*************************************************************************** |
| 70 | |
| 71 | ifdef JAVA_DEV_ROOT |
| 72 | include $(JAVA_DEV_ROOT)/Makerules |
| 73 | |
| 74 | parsers : |
| 75 | $(RATS) -option 'parser(xtc.lang.overlog.Parser)' Overlog.rats |
| 76 | $(JAVAC) $(JAVAC_OPTIONS) Parser.java |
| 77 | |
| 78 | analyzers : |
| 79 | $(JAVAC) -Xlint $(JAVAC_OPTIONS) TypeAnalyzer.java |
| 80 | $(JAVAC) -Xlint $(JAVAC_OPTIONS) ConcurrencyAnalyzer.java |
| 81 | |
| 82 | factories : |
| 83 | $(FACTORY) OverlogJavaFactory.ffj |
| 84 | $(JAVAC) $(JAVAC_OPTIONS) OverlogJavaFactory.java |
| 85 | |
| 86 | endif |