source: examples/example_scripts/java/Makefile @ d34f7ef

mei_rt2_fix_1
Last change on this file since d34f7ef was 91ecdfa, checked in by Mei <mei@…>, 11 years ago

1) fixed the java's LD_LIBRARY_PATH
2) move the inserting of id_credential into abac_id's constructor

instead of _load_id (some of the verification got jump over)

3) found couple of inconsistency -- sha changed when cert got

moved in and out of filesystem - trailing it.

  • Property mode set to 100644
File size: 1014 bytes
Line 
1
2.PHONY : tt tchunk run_threaded
3all: run_attr run_prove run_threaded
4
5clean:
6        @rm -f *.pem *.der *.log pfile
7        @rm -rf build *.class tt rr
8        @rm -rf lib; mkdir lib
9
10
11run_attr: 
12        make clean
13        rm -rf attr.log
14        ant
15        javac -classpath ./build/classes abac_attr.java
16        java -classpath ./build/classes:. abac_attr 1 >attr.log 2>&1
17
18run_prove:
19        rm -rf prover.log
20        make run_attr
21        ./run_prover 1 >prover.log 2>& 1
22
23run_threaded:
24        rm -rf threaded.log
25        make run_attr
26        ./run_thread 1 >threaded.log 2>& 1
27
28tchunk:
29        make clean
30        javac -classpath ./build/classes tchunk.java
31        java -classpath ./build/classes:. tchunk 1 IceCream_ID.pem IceCream_private.pem
32        java -classpath ./build/classes:. tchunk 0 IceCream_ID.pem IceCream_private.pem
33
34tt:
35        @make clean
36        @ant
37        @javac -classpath ./build/classes tbasic.java
38        @echo 'java -XX:+PrintGCDetails -XX:+DisableExplicitGC  -classpath ./build/classes:. tbasic' > rr
39        @echo 'jdb -launch -classpath ./build/classes:.  -sourcepath ../../../swig/java tbasic' > tt
40        @chmod +x tt
41        @chmod +x rr
Note: See TracBrowser for help on using the repository browser.