Developer Infos

From Netatalk Wiki
Jump to: navigation, search
(ABI checking)
(ABI checking)
Line 136: Line 136:
 
== ABI checking ==
 
== ABI checking ==
  
Since libatalk is now a shared library the autotools build system has been extended to do some ABI checking. A helper script abigen.sh is used to generate a symbol file containing all exported symbols of the dynamic libatalk library.
+
Since libatalk is now a shared library the autotools build system has been extended to do some ABI checking. A helper script abigen.sh is used to generate a symbol file containing all exported symbols of the dynamic libatalk library. These symbol files are named libatalk-VERSION.abi and are stored inside the libatalk source directory.
These symbol files are named libatalk-VERSION.abi and are stored inside the libatalk source directory. Every time make runs inside libatalk the symbol file is autogenerated and checked against the current copy of the file. If there are any differences found, make aborts and the developer must update the symbol file and libatalk/Makefile.am librariy version info accordingly.
+
 
 +
Every time make runs inside libatalk a symbol file libatalk.abi.tmp is autogenerated and checked against the current copy of the file matching the configured VERSION (as contained in the file VERSION). If there are any differences found, make aborts and the developer must update the symbol file and libatalk/Makefile.am librariy version info accordingly.
  
 
== Making a release ==
 
== Making a release ==

Revision as of 17:20, 21 January 2013

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox