File: Makebase

package info (click to toggle)
libxtc-rats-java 1.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 18,580 kB
  • sloc: java: 288,962; ansic: 20,406; ml: 14,775; makefile: 1,358; cpp: 621; sh: 352; xml: 259; perl: 123
file content (94 lines) | stat: -rw-r--r-- 3,102 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Makebase
#***************************************************************************
#
# Java Project Makefile base environment
#
# (C) 1999 Jacob Dreyer - Geotechnical Software Services
# jacob.dreyer@geosoft.no - http://geosoft.no
#
# Modifications Copyright (C) 2001-2007 Robert Grimm 
# rgrimm@alum.mit.edu
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
#***************************************************************************

#***************************************************************************
#
# Directories.
# 
# This section describes the directory structure of the development area.
# The convention is to use a common root directory for development which
# includes sub directories for source, classes and documentation.
#
#***************************************************************************

# Set the JAVA_HOME environment variable to point to the root of the
# JDK installation.

# Set the JAVA_DEV_ROOT environment variable to point to the root of the
# Java development tree, that is, the directory that contains the src,
# classes, and doc directories.

# Set PATH_SEP to a semicolon for Windows and a colon for Unix.

THE_ROOT     = $(subst \,/,$(JAVA_DEV_ROOT))

SOURCE_DIR   = $(THE_ROOT)/src
CLASS_DIR    = $(THE_ROOT)/classes
DOC_DIR      = $(THE_ROOT)/doc
BIN_DIR      = $(THE_ROOT)/bin
TOOLS_DIR    = $(THE_ROOT)/tools
GLR_DIR      = $(THE_ROOT)/glr
DATA_DIR     = $(THE_ROOT)/data
FONDA_DIR    = $(THE_ROOT)/fonda

JAR_TMP      = $(THE_ROOT)/jar.tmp
DIST_TMP     = $(THE_ROOT)/xtc

#***************************************************************************
#
# Tools.
#
# This section list the tools required to build the java classes and 
# packages.
#
#***************************************************************************

CP       = cp
RM       = rm -f
MKDIR    = mkdir
CPDIR    = cp -R
RMDIR    = rm -rf
FIND     = find
JAR      = jar
ZIP      = zip
JAVA     = java -ea
JAVAC    = javac
JAVAH    = javah
JAVANCSS = $(JAVA) -jar $(BIN_DIR)/javancss.jar
JUNIT    = $(JAVA) junit.textui.TestRunner
RATS     = $(JAVA) xtc.parser.Rats -in $(SOURCE_DIR)
TYPICAL  = $(JAVA) xtc.typical.Typical
FACTORY  = $(JAVA) xtc.lang.FactoryFactory

ifeq ($(JAVAC),jikes)
JAVAC_OPTIONS     = -d $(CLASS_DIR) -sourcepath $(SOURCE_DIR) \
		    -classpath $(CLASS_DIR)$(PATH_SEP)$(JAVA_RUNTIME)
else
JAVAC_OPTIONS     = --release 8 -d $(CLASS_DIR) -sourcepath $(SOURCE_DIR)
endif

JAVAH_OPTIONS     =