X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=formal-model%2Furcu%2FMakefile;h=498241b2e0ed64e8071dfeea2d274ecbb0b29e27;hp=c52c4badaf93e2dcbcbd96ae1b22e014e4fcaf09;hb=06d6106d9482f3a2805a2512ef0cda203088f2f5;hpb=89674313b5ff1209dc090e3b2c48680d222e81cd diff --git a/formal-model/urcu/Makefile b/formal-model/urcu/Makefile index c52c4ba..498241b 100644 --- a/formal-model/urcu/Makefile +++ b/formal-model/urcu/Makefile @@ -23,6 +23,7 @@ SPINFILE=urcu.spin default: make urcu_free | tee urcu_free.log + make urcu_free_nested | tee urcu_free_nested.log make urcu_free_no_rmb | tee urcu_free_no_rmb.log make urcu_free_no_wmb | tee urcu_free_no_wmb.log make urcu_free_no_mb | tee urcu_free_no_mb.log @@ -55,6 +56,13 @@ urcu_free: clean urcu_free_ltl run cp .input.spin $@.spin.input -cp .input.spin.trail $@.spin.input.trail +urcu_free_nested: clean urcu_free_ltl urcu_free_nested_define run + cp .input.spin $@.spin.input + -cp .input.spin.trail $@.spin.input.trail + +urcu_free_nested_define: + cp urcu_free_nested.define .input.define + urcu_free_no_rmb: clean urcu_free_ltl urcu_free_no_rmb_define run cp .input.spin $@.spin.input -cp .input.spin.trail $@.spin.input.trail @@ -129,8 +137,8 @@ urcu_progress_writer_error_define: urcu_progress_writer_error_ltl: touch .input.define - cat DEFINES > pan.ltl cat .input.define >> pan.ltl + cat DEFINES > pan.ltl spin -f "!(`cat urcu_progress.ltl | grep -v ^//`)" >> pan.ltl @@ -144,8 +152,8 @@ pan: pan.c gcc -w ${CFLAGS} -o pan pan.c pan.c: pan.ltl ${SPINFILE} - cat DEFINES > .input.spin cat .input.define >> .input.spin + cat DEFINES > .input.spin cat ${SPINFILE} >> .input.spin rm -f .input.spin.trail spin -a -X -N pan.ltl .input.spin