Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| devel:create-library [2008/11/20 22:17] – created miconda | devel:create-library [2012/11/11 15:58] (current) – old revision restored oej | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How-To: Create a library in SIP Router ====== | + | ====== How-To: Create |
| ===== Create a library ===== | ===== Create a library ===== | ||
| - | * make a new directory in \'lib\' folder | + | * make a new directory in ''lib'' folder |
| - | * copy there the Makefile from lib/print/ and change the name in it | + | * copy there the Makefile from '' |
| - | * add your .c and .h files. | + | * add your '' |
| ===== Use a library from a module ===== | ===== Use a library from a module ===== | ||
| - | * add to the module\'s Makefile (replace | + | * add to the module' |
| < | < | ||
| Line 18: | Line 18: | ||
| </ | </ | ||
| - | Compiling the module will re-compile the library automatically if needed (e.g. some change in it). make install will also re-link the module (needed to change the rpath). | + | Compiling the module will re-compile the library automatically if needed (e.g. some change in it). '' |