From e83f4b868b208724a732b45a0aa4f6ee8a08b115 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 7 Jun 2009 14:20:36 -0400 Subject: Add exports file and abi checker for talloc 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 talloc.h contents and the gcc -aux-info option --- lib/talloc/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/talloc/Makefile.in') diff --git a/lib/talloc/Makefile.in b/lib/talloc/Makefile.in index c28693e2db..a45f72bede 100644 --- a/lib/talloc/Makefile.in +++ b/lib/talloc/Makefile.in @@ -24,13 +24,17 @@ tallocdir = @tallocdir@ LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@ +SONAMEFLAG = @SONAMEFLAG@ +VERSIONSCRIPT = @VERSIONSCRIPT@ +EXPORTSFILE = @EXPORTSFILE@ + all:: showflags $(EXTRA_TARGETS) include $(tallocdir)/rules.mk include $(tallocdir)/talloc.mk $(TALLOC_SOLIB): $(LIBOBJ) - $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(TALLOC_SONAME) + $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TALLOC_SONAME) shared-build: all ${INSTALLCMD} -d $(sharedbuilddir)/lib -- cgit