diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-06 19:42:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:39 +0100 |
commit | e76e5dafc7c4a9dbe7027a9828aeab26a79a3272 (patch) | |
tree | aed0c5acfc0bad8fd820b1247d350cd1adcb4d25 | |
parent | 4347f8fc37d5dd7315113ff4b8ce80a5427b53b9 (diff) | |
download | samba-e76e5dafc7c4a9dbe7027a9828aeab26a79a3272.tar.gz samba-e76e5dafc7c4a9dbe7027a9828aeab26a79a3272.tar.bz2 samba-e76e5dafc7c4a9dbe7027a9828aeab26a79a3272.zip |
r25883: Fix tdb dependency.
(This used to be commit af99cd3e00d981e90df4bc61d498704249df1412)
-rw-r--r-- | source4/lib/tdb/Makefile.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in index fea76cfaef..298988de8e 100644 --- a/source4/lib/tdb/Makefile.in +++ b/source4/lib/tdb/Makefile.in @@ -70,22 +70,25 @@ libtdb.a: $(TDB_OBJ) libtdb.(SHLIBEXT): $(SOLIB) ln -s $< $@ +$(SONAME): $(SOLIB) + ln -s $< $@ + $(SOLIB): $(TDB_OBJ) $(CC) $(SONAMEFLAG)$(SONAME) $(SHLD_FLAGS) -o $@ $^ -bin/tdbtest$(EXEEXT): tools/tdbtest.o libtdb.$(SHLIBEXT) +bin/tdbtest$(EXEEXT): tools/tdbtest.o $(SOLIB) $(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbtest tools/tdbtest.o -L. -ltdb -lgdbm -bin/tdbtool$(EXEEXT): tools/tdbtool.o libtdb.$(SHLIBEXT) +bin/tdbtool$(EXEEXT): tools/tdbtool.o $(SOLIB) $(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbtool tools/tdbtool.o -L. -ltdb -bin/tdbtorture$(EXEEXT): tools/tdbtorture.o libtdb.$(SHLIBEXT) +bin/tdbtorture$(EXEEXT): tools/tdbtorture.o $(SOLIB) $(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbtorture tools/tdbtorture.o -L. -ltdb -bin/tdbdump$(EXEEXT): tools/tdbdump.o libtdb.$(SHLIBEXT) +bin/tdbdump$(EXEEXT): tools/tdbdump.o $(SOLIB) $(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbdump tools/tdbdump.o -L. -ltdb -bin/tdbbackup$(EXEEXT): tools/tdbbackup.o libtdb.$(SHLIBEXT) +bin/tdbbackup$(EXEEXT): tools/tdbbackup.o $(SOLIB) $(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb test: bin/tdbtorture$(EXEEXT) @@ -96,6 +99,7 @@ installcheck: test install clean: rm -f $(ALL_PROGS) *.o *.a common/*.o tools/*.o tdb.pc rm -f test.db test.tdb torture.tdb test.gdbm + rm -f $(SONAME) $(SOLIB) distclean: clean rm -f *~ */*~ |