1 TESTS
=test_new test_cond_wait test_cond_wait_simple test_printf
3 jack_interposer.so
: jack_interposer.c checkers.c manual.c
4 gcc
-Wall
-fPIC
-o jack_interposer.so
-shared jack_interposer.c
-pthread
-ldl
-ljack
6 checkers.c
: functions checker_fragment.c
7 .
/generate_checkers.pl
< functions
10 rm jack_interposer.so test_cond_wait test_cond_wait_simple || true
12 test: $(TESTS
) jack_interposer.so
13 LD_PRELOAD
=.
/jack_interposer.so .
/test_cond_wait_simple
14 LD_PRELOAD
=.
/jack_interposer.so .
/test_cond_wait
15 LD_PRELOAD
=.
/jack_interposer.so .
/test_new
16 LD_PRELOAD
=.
/jack_interposer.so .
/test_printf
18 test_new
: test_new.
cpp
19 g
++ -o test_new test_new.
cpp -ljack
21 test_cond_wait_simple
: test_cond_wait_simple.c
22 gcc
-o test_cond_wait_simple test_cond_wait_simple.c
-pthread
-ldl
24 test_cond_wait
: test_cond_wait.c
25 gcc
-o test_cond_wait test_cond_wait.c
-ljack
-lpthread
27 test_printf
: test_printf.c
28 gcc
-o test_printf test_printf.c
-ljack