Skip to content

Commit

Permalink
BCEL as a parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Apr 17, 2008
1 parent 21ffc02 commit 5968407
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions 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)
Expand Down
10 changes: 5 additions & 5 deletions 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 -->
Expand All @@ -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" >
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 5968407

Please sign in to comment.