
include ../../config

all: Policy.class webCDcreator.jar

Policy.class: Policy.java
	javac Policy.java

webCDcreator.jar:
	@echo
	@echo "webCDcreator.jar is missing"
	@echo "You can get it from webCDwriter-<version>-signed.tgz"
	@echo
	exit 1

install: all
	install -d -m 755 ${INSTDIR}/
	$(INSTALL) -m 644 \
		Policy.java java.policy jhaeger.x509 policy.html \
		Policy.class webCDcreator.jar \
		${INSTDIR}/

clean:
	rm -f *~ .nfs* core .directory

maintainer-clean: clean
	rm -f *.class webCDcreator.jar
