1 PYINCLUDE:=$(shell python2.5-config --includes)
2 PYLIB:=$(shell python2.5-config --lib)
3 CFLAGS=-Wall -g -O2 -Werror $(PYINCLUDE) -g -fPIC
7 all: bup-split bup-join bup-save bup-init bup-server bup randomgen chashsplit.so
11 chashsplit.so: chashsplitmodule.o
12 $(CC) -shared -o $@ $< $(PYLIB)
15 ./wvtest.py $(wildcard t/t*.py)
20 test: all runtests-cmdline
21 ./wvtestrun $(MAKE) runtests
24 gcc -o $@ $< $(LDFLAGS) $(LIBS)
39 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
42 rm -f *.o *.so *~ .*~ *.pyc */*.pyc */*~ \
44 out[12] out2[tc] tags[12] tags2[tc]