source: examples/example_scripts/java/Makefile @ accd63d

mei_rt2
Last change on this file since accd63d was 2e9455f, checked in by Mei <mei@…>, 11 years ago

1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule

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