3
# Uncomment this to turn on verbose mode.
7
export JAVA_HOME=/usr/lib/kaffe
8
export JAVA=/usr/lib/kaffe/bin/java
10
export CLASSPATH=/usr/share/kaffe:/usr/share/java/libgcj.jar:.
11
export LIBRARY = $(shell head -1 debian/control | sed 's/Source? lib\(.*\)-java/\1/')
12
export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)).*/\1/' )
13
export SRCDIR=$(LIBRARY)-$(VERSION)
17
configure: configure-stamp
20
# Add here commands to configure the package.
28
(cd $(SRCDIR); jikes -d ../classes -classpath ${CLASSPATH}:. `find . -name "*.java"`)
29
(cd classes ; ls ;$(JAR) cvf ../../$(LIBRARY)-$(VERSION).jar `find . -name "*.class"`)
46
install -m 644 $(SRCDIR)/$(LIBRARY)-$(VERSION).jar \
47
debian/libjcommon-java/usr/share/java/$(LIBRARY)-$(VERSION).jar
48
ln -s $(LIBRARY)-$(VERSION).jar debian/libjcommon-java/usr/share/java/$(LIBRARY).jar
52
.PHONY: binary binary-indep clean