-clean: ; rm -rf build
-dist-clean:
- rm -rf .configure* .install* build .compile .build*
-
-sources := $(shell find src -name \*.java)
-
-.download_org.ibex.%:
- @echo -e "\033[1mfetching repository org.ibex.$*\033[0m"
- @mkdir -p upstream; cd upstream; rm -rf org.ibex.$*; rm -rf org.ibex.$*_*
- @cd upstream; darcs get --verbose --partial --repo-name=org.ibex.$* http://$*.ibex.org
- @touch $@
-
-.build_org.ibex.%:
- @echo -e "\033[1mbuilding repository org.ibex.$*\033[0m"
- @cd upstream/org.ibex.$*; make compile
- @touch $@
-
-mail.jar: $(sources)
- @make .download_org.ibex.crypto .build_org.ibex.core
- @mkdir -p build/class
- @javac -d build/class -sourcepath upstream/org.ibex.crypto/src/ -classpath upstream/org.ibex.core/build/class $^