1 CFLAGS=-Wall -g -O2 -Werror -I/usr/include/python2.5 -g -fPIC
5 all: bup-split bup-join bup-save bup randomgen chashsplit.so
9 chashsplit.so: chashsplitmodule.o
10 $(CC) -shared -o $@ $<
13 ./wvtest.py $(wildcard t/t*.py)
16 @echo "Testing \"$@\" in Makefile:"
17 ./bup split --bench -b <testfile1 >tags1
18 ./bup split -vvvv -b testfile2 >tags2
19 ./bup split -t testfile2 >tags2t
20 ./bup split -c testfile2 >tags2c
21 diff -u tags1 tags2 || true
22 wc -c testfile1 testfile2
24 ./bup join $$(cat tags1) >out1
25 ./bup join <tags2 >out2
26 ./bup join <tags2t >out2t
27 ./bup join <tags2c >out2c
28 diff -u testfile1 out1
29 diff -u testfile2 out2
30 diff -u testfile2 out2t
31 diff -u testfile2 out2c
33 test: all runtests-cmdline
34 ./wvtestrun $(MAKE) runtests
37 gcc -o $@ $< $(LDFLAGS) $(LIBS)
52 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
55 rm -f *.o *.so *~ .*~ *.pyc */*.pyc */*~ \
56 bup bup-split bup-join bup-save randomgen \