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)
21 PATH=/bin:/usr/bin $(MAKE) test
23 test: all runtests-cmdline
24 ./wvtestrun $(MAKE) runtests
27 gcc -o $@ $< $(LDFLAGS) $(LIBS)
42 gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS)
45 rm -f *.o *.so *~ .*~ *.pyc */*.pyc */*~ \
47 out[12] out2[tc] tags[12] tags2[tc]