diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-06-07 14:10:15 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-06-15 16:31:13 -0400 |
commit | efccef09aec93180a06955b5e03f1ceb99dc39e8 (patch) | |
tree | b9ab8101b66e240c3f222cc1e94df09524894b60 /lib/tevent/Makefile.in | |
parent | e83f4b868b208724a732b45a0aa4f6ee8a08b115 (diff) | |
download | samba-efccef09aec93180a06955b5e03f1ceb99dc39e8.tar.gz samba-efccef09aec93180a06955b5e03f1ceb99dc39e8.tar.bz2 samba-efccef09aec93180a06955b5e03f1ceb99dc39e8.zip |
Add exports file and abi checker for tevent
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 tevent.h contents and the gcc -aux-info option
Diffstat (limited to 'lib/tevent/Makefile.in')
-rw-r--r-- | lib/tevent/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/tevent/Makefile.in b/lib/tevent/Makefile.in index 253b1e1d12..f3deb9df45 100644 --- a/lib/tevent/Makefile.in +++ b/lib/tevent/Makefile.in @@ -39,6 +39,10 @@ LIBS = $(TALLOC_LIBS) $(TEVENT_LIBS) @LIBS@ TEVENT_OBJ = @TEVENT_OBJ@ @LIBREPLACEOBJ@ +SONAMEFLAG = @SONAMEFLAG@ +VERSIONSCRIPT = @VERSIONSCRIPT@ +EXPORTSFILE = @EXPORTSFILE@ + default: all include $(teventdir)/tevent.mk @@ -48,7 +52,7 @@ all:: showflags dirs $(PROGS) $(TEVENT_SOLIB) libtevent.a install:: all $(TEVENT_SOLIB): $(TEVENT_OBJ) - $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) @SONAMEFLAG@$(TEVENT_SONAME) + $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TEVENT_SONAME) shared-build: all ${INSTALLCMD} -d $(sharedbuilddir)/lib @@ -65,6 +69,7 @@ installcheck:: test install clean:: rm -f *.o *.a */*.o + rm -fr abi distclean:: clean rm -f config.log config.status config.h config.cache |