diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-11 22:14:31 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-11 22:14:31 +0100 |
commit | 08b3d3ee9414446f6004085994b71551fce76f65 (patch) | |
tree | 85d79a2a055f38f9fe719248a9b928cef301cf74 /source4/lib/ldb | |
parent | 94decfc49fa58d756558c09c79482aa459db00b3 (diff) | |
download | samba-08b3d3ee9414446f6004085994b71551fce76f65.tar.gz samba-08b3d3ee9414446f6004085994b71551fce76f65.tar.bz2 samba-08b3d3ee9414446f6004085994b71551fce76f65.zip |
Move some more rules to rules.mk
(This used to be commit 2ff3f72fd2559051000c34da9fcd5602514595e4)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/Makefile.in | 12 | ||||
-rw-r--r-- | source4/lib/ldb/rules.mk | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index ceadc3d9d6..a8555d992f 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -19,6 +19,8 @@ SWIG = swig EXTRA_OBJ=@EXTRA_OBJ@ TESTS=test-tdb.sh @TESTS@ PACKAGE_VERSION = @PACKAGE_VERSION@ +tdbdir = @tdbdir@ +tallocdir = @tallocdir@ TALLOC_LIBS = @TALLOC_LIBS@ TALLOC_CFLAGS = @TALLOC_CFLAGS@ @@ -65,6 +67,8 @@ DIRS = lib bin common ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples default: all +include rules.mk + nss: nssdir all $(NSS_LIB) nssdir: @@ -108,7 +112,6 @@ clean:: rm -rf tests/schema/ distclean:: clean - rm -f *~ */*~ rm -rf bin lib rm -f config.log config.status config.cache include/config.h rm -f ldb.pc @@ -117,15 +120,15 @@ distclean:: clean realdistclean:: distclean rm -f configure.in include/config.h.in -check:: test check-soloading +check:: test check-soloading: sample_module.$(SHLIBEXT) LDB_MODULES_PATH=$(builddir) $(srcdir)/tests/test-soloading.sh -test: all check-soloading +test:: all check-soloading for t in $(TESTS); do echo STARTING $${t}; $(srcdir)/tests/$${t} || exit 1; done -valgrindtest: all +valgrindtest:: all for t in $(TESTS); do echo STARTING $${t}; VALGRIND="valgrind -q --db-attach=yes --num-callers=30" $(srcdir)/tests/$${t} || exit 1; done installcheck:: install test @@ -158,4 +161,3 @@ gcov:: $(GCOV) -po tools $(srcdir)/tools/*.c 2| tee tools.report.gcov include ldb.mk -include rules.mk diff --git a/source4/lib/ldb/rules.mk b/source4/lib/ldb/rules.mk index 3e5b3b652f..534ba016ab 100644 --- a/source4/lib/ldb/rules.mk +++ b/source4/lib/ldb/rules.mk @@ -26,4 +26,5 @@ showflags:: @echo ' CFLAGS = $(CFLAGS)' @echo ' LIBS = $(LIBS)' - +distclean:: + rm -f *~ */*~ |