tdb: add a target "abi_checks" to tdb.
authorMichael Adam <obnox@samba.org>
Fri, 28 Aug 2009 14:03:06 +0000 (16:03 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 29 Aug 2009 22:51:54 +0000 (00:51 +0200)
Simply run "make abi_checks" to call the abi check script appropriately.

Michael

lib/tdb/tdb.mk

index b786bdbf54006a899b4cc28a35f4320584e548a1..11b1cd486deaba3122f35f8a1ea35c6522de614b 100644 (file)
@@ -29,6 +29,10 @@ bin/tdbbackup$(EXEEXT): tools/tdbbackup.o $(TDB_LIB)
 test:: bin/tdbtorture$(EXEEXT) $(TDB_SONAME)
        $(LIB_PATH_VAR)=. bin/tdbtorture$(EXEEXT)
 
+abi_checks::
+       @echo ABI checks:
+       @./script/abi_checks.sh tdb include/tdb.h
+
 clean:: 
        rm -f test.db test.tdb torture.tdb test.gdbm
        rm -f $(TDB_SONAME) $(TDB_SOLIB) $(TDB_STLIB) libtdb.$(SHLIBEXT)