You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@locus.apache.org on 2000/03/01 19:54:30 UTC
cvs commit: xml-xalan make.include
curcuru 00/03/01 10:54:30
Modified: . make.include
Log:
Add JAVADEBUG flag to JAVACFLAGS; neaten some comments
Revision Changes Path
1.6 +19 -8 xml-xalan/make.include
Index: make.include
===================================================================
RCS file: /home/cvs/xml-xalan/make.include,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- make.include 2000/02/28 19:22:57 1.5
+++ make.include 2000/03/01 18:54:30 1.6
@@ -32,18 +32,29 @@
# You may need to edit these if you're not using
# a standard JDK or the tools aren't on the path.
###########################################################
+# References to default tools
JAVA = java
JAVAC = javac
-JAVACFLAGS = -g -d $(CLASS_DIR)
-# JAVACFLAGS = -g:none -O -d $(CLASS_DIR)
-JAR = jar
-JARFLAGS = cf0
JAVADOC = javadoc
-# Note that the xdocs subdir requires the use of at least JDK 1.2,
-# even though the src code will compile with JDK 1.1.8 (or equivalent)
-JAVA12 = java
-JAVAC12 = javac
+JAR = jar
+# References to JDK 1.2-only tools; required for xdocs build
+# While the code compiles under 1.1.8 or 1.2.2, the docs require 1.2.2
+# Thus, you can install both JDK's, set 1.1.8 up as default,
+# then call us like 'make -f Makefile JAVAC12=c:/jdk122/bin/javac.exe ...'
+# This should compile the sources with 1.1.8, but the doc with 1.2.2
+JAVA12 = java
+JAVAC12 = javac
JAVADOC12 = javadoc
+
+# Setting flags for various tools
+# You can override these on the make command line as well
+# Call us like 'make -f Makefile JAVADEBUG=-g:none ...'
+JAVADEBUG = -g
+JAVADESTDIR = -d $(CLASS_DIR)
+JAVACFLAGS = $(JAVADEBUG) $(JAVADESTDIR)
+JARFLAGS = cf0
+
+# References to other tools
RM = rm -f
CP = cp -f
UPDIR := ..