diff options
author | gdt <gdt> | 2004-07-23 16:23:56 +0000 |
---|---|---|
committer | gdt <gdt> | 2004-07-23 16:23:56 +0000 |
commit | b7a97f825768bb3e617cb115540c74b65914e628 (patch) | |
tree | 7614897d5d668291f854b5283daf424b55a12853 /HACKING | |
parent | 33f92320e8a6b078a5972d05c8f49487d8edf19c (diff) |
(somewhat unrelated cleanups, but all are very minor)
2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
* */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir
-lfoo", to avoid linking against installed libraries from a
previous version.
* {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared
library version number to be 0.0
* configure.ac: remove spurious , so extract.pl is chmod'd +x.
* HACKING: explain shared library versioning rules
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -1,6 +1,6 @@ -*- mode: text; -*- -$Id: HACKING,v 1.6 2004/05/13 13:38:06 paul Exp $ +$Id: HACKING,v 1.7 2004/07/23 16:23:56 gdt Exp $ GUIDELINES FOR HACKING ON QUAGGA @@ -29,6 +29,28 @@ level. [TBD: resolve per-dir vs top-level, perhaps by reading GNU coding standards] +SHARED LIBRARY VERSIONING + +[this section is at the moment just gdt's opinion] + +Quagga builds several shared libaries (lib/libzebra, ospfd/libospf, +ospfclient/libsopfapiclient). These may be used by external programs, +e.g. a new routing protocol that works with the zebra daemon, or +ospfapi clients. The libtool info pages (node Versioning) explain +when major and minor version numbers should be changed. These values +are set in Makefile.am near the definition of the library. If you +make a change that requires changing the shared library version, +please update Makefile.am. + +libospf exports far more than it should, and is needed by ospfapi +clients. Only bump libospf for changes to functions for which it is +reasonable for a user of ospfapi to call, and please err on the side +of not bumping. + +There is no support intended for installing part of zebra. The core +library libzebra and the included daemons should always be built and +installed together. + PATCH SUBMISSION * Send a clean diff against the head of CVS in unified diff format, eg by: |