summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--lib/tdb/tdb.mk8
2 files changed, 9 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 1dca1faf21..773165afb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -351,3 +351,8 @@ lib/tevent/Makefile
lib/tevent/tevent.so
lib/tevent/libtevent.so*
lib/tevent/libtevent.a
+lib/tdb/libtdb.so
+lib/tdb/tdb.so
+lib/tdb/libtdb.a
+lib/tdb/Makefile
+lib/tdb/bin
diff --git a/lib/tdb/tdb.mk b/lib/tdb/tdb.mk
index 0254575039..72f44e7211 100644
--- a/lib/tdb/tdb.mk
+++ b/lib/tdb/tdb.mk
@@ -35,11 +35,11 @@ clean::
build-python:: tdb.$(SHLIBEXT)
-tdb_wrap.o: $(tdbdir)/tdb_wrap.c
- $(CC) $(PICFLAG) -c $(tdbdir)/tdb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
+pytdb.o: $(tdbdir)/pytdb.c
+ $(CC) $(PICFLAG) -c $(tdbdir)/pytdb.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
-tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) tdb_wrap.o
- $(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags`
+tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) pytdb.o
+ $(SHLD) $(SHLD_FLAGS) -o $@ pytdb.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags`
install:: installdirs installbin installheaders installlibs \
$(PYTHON_INSTALL_TARGET)