Skip to content
Browse files

BCEL as a parameter.

  • Loading branch information...
1 parent 21ffc02 commit 596840728d1d96c7726c2c261f93d921d109680c @dspinellis committed Apr 17, 2008
Showing with 11 additions and 11 deletions.
  1. +6 −6 Makefile
  2. +5 −5 build.xml
View
12 Makefile
@@ -1,25 +1,25 @@
#
-# $Id: \\dds\\src\\Research\\ckjm.RCS\\Makefile,v 1.14 2007/12/27 16:14:12 dds Exp $
+# $Id: \\dds\\src\\Research\\ckjm.RCS\\Makefile,v 1.15 2008/04/17 08:44:48 dds Exp $
#
VERSION=1.9
TARBALL=ckjm-$(VERSION).tar.gz
ZIPBALL=ckjm-$(VERSION).zip
DISTDIR=ckjm-$(VERSION)
WEBDIR=$(UH)/dds/pubs/web/home/sw/ckjm
-SRCFILE=README.txt LICENSE.txt build.xml src/gr/spinellis/ckjm/*.java src/gr/spinellis/ckjm/ant/*.java xsl/*.xsl
-BCEL=bcel-5.1.jar
+SRCFILE=README.txt LICENSE.txt build.xml src/gr/spinellis/ckjm/*.java src/gr/spinellis/ckjm/ant/*.java xsl/*.xsl lib/*.txt
+BCEL=bcel-5.2.jar
EGHTML=output_simple.html output_extra.html
ART=smallpic.jpg
all: antcompile
antcompile:
- ant -Dversion=$(VERSION)
- ant -Dversion=$(VERSION) javadocs
+ ant -Dversion=$(VERSION) -Dbcel=$(BCEL)
+ ant -Dversion=$(VERSION) -Dbcel=$(BCEL) javadocs
$(EGHTML): Makefile xsl/ckjm.xsl xsl/ckjm_extra.xsl
- ant -Dversion=$(VERSION) html
+ ant -Dversion=$(VERSION) -Dbcel=$(BCEL) html
$(TARBALL): docs Makefile
-cmd /c rd /s/q $(DISTDIR)
View
10 build.xml
@@ -1,7 +1,7 @@
<project name="ckjm" default="compile" basedir=".">
<description>
The specification for all ckjm build processes.
- $Id: \\dds\\src\\Research\\ckjm.RCS\\build.xml,v 1.8 2007/12/27 16:16:32 dds Exp $
+ $Id: \\dds\\src\\Research\\ckjm.RCS\\build.xml,v 1.9 2008/04/17 08:44:11 dds Exp $
</description>
<!-- set global properties for this build -->
@@ -26,10 +26,10 @@
<target name="compile" depends="init"
description="compile the source, build library " >
- <javac srcdir="${src}" destdir="${build}/classes" classpath="lib/bcel-5.1.jar" excludes="**/RCS/*">
+ <javac srcdir="${src}" destdir="${build}/classes" classpath="lib/${bcel}" excludes="**/RCS/*">
<compilerarg value="-Xlint:unchecked"/>
</javac>
- <copy file="lib/bcel-5.1.jar"
+ <copy file="lib/${bcel}"
tofile="${jarfile}" />
<jar basedir="${build}/classes" destfile="${jarfile}"
update="true" >
@@ -68,7 +68,7 @@
<target name="javadocs" depends="compile">
<javadoc packagenames="gr.spinellis.ckjm.*" destdir="${javadoc}" package="true">
<classpath>
- <pathelement location="lib/bcel-5.1.jar"/>
+ <pathelement location="lib/${bcel}"/>
<fileset dir="${antlib}">
<include name="**/*.jar"/>
</fileset>
@@ -84,7 +84,7 @@
<property name="gifFile" location="${javadoc}/gr/spinellis/ckjm/ckjm.gif"/>
<javadoc packagenames="gr.spinellis.ckjm.*" package="true">
<classpath>
- <pathelement location="lib/bcel-5.1.jar"/>
+ <pathelement location="lib/${bcel}"/>
<fileset dir="${antlib}">
<include name="**/*.jar"/>
</fileset>

0 comments on commit 5968407

Please sign in to comment.
Something went wrong with that request. Please try again.