1 PYINCLUDE:=$(shell python2.5-config --includes)
2 CFLAGS=-Wall -g -O2 -Werror $(PYINCLUDE) -g -fPIC
6 all: bup-split bup-join bup-save bup-init bup-server bup randomgen chashsplit.so
10 chashsplit.so: chashsplitmodule.o
11 $(CC) -shared -o $@ $<
14 ./wvtest.py $(wildcard t/t*.py)
19 test: all runtests-cmdline
20 ./wvtestrun $(MAKE) runtests
23 gcc -o $@ $< $(LDFLAGS) $(LIBS)
38 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
41 rm -f *.o *.so *~ .*~ *.pyc */*.pyc */*~ \
43 out[12] out2[tc] tags[12] tags2[tc]