From 7aee9f92e7c3e3eb48c0456d821125b60f8d8259 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 15 Jun 2009 16:19:19 -0400 Subject: Add exports file and abi checker for tdb This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on tdb.h contents and the gcc -aux-info option --- lib/tdb/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tdb/rules.mk') diff --git a/lib/tdb/rules.mk b/lib/tdb/rules.mk index 7b765625df..73ab771c5c 100644 --- a/lib/tdb/rules.mk +++ b/lib/tdb/rules.mk @@ -15,7 +15,7 @@ showflags:: .c.o: @echo Compiling $*.c @mkdir -p `dirname $@` - @$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@ + @$(CC) $(PICFLAG) $(CFLAGS) $(ABI_CHECK) -c $< -o $@ distclean:: rm -f *~ */*~ -- cgit