ctags `find $(srcdir) -name "*.[ch]"`
%_wrap.c %.py: %.i
- $(SWIG) -python -keyword $<
+ $(SWIG) -O -Wall -python -keyword $<
# Python bindings
build-python: lib/libldb.$(SHLIBEXT) ldb_wrap.c ldb.py
rm -rf autom4te.cache
-swig -python ldb.i # Ignore errors, for now
+swig -O -Wall -python -keyword ldb.i # Ignore errors, for now
echo "Now run ./configure and then make."
exit 0
rm -f configure include/config.h.in
tdb_wrap.c tdb.py: tdb.i
- $(SWIG) -python -keyword tdb.i
+ $(SWIG) -O -Wall -python -keyword tdb.i
build-python: libtdb.$(SHLIBEXT) tdb_wrap.c tdb.py
./setup.py build
rm -rf autom4te.cache
-swig -python -keyword tdb.i # Ignore errors for now
+swig -O -Wall -python -keyword tdb.i # Ignore errors for now
echo "Now run ./configure and then make."
exit 0