Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:create-library [2012/03/15 14:50] 91.224.161.250 cdVevmpHmesayVKRBU |
devel:create-library [2012/11/11 16:58] (current) oej old revision restored |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | I intended to put you a bit of ramrek just to thank you yet again over the beautiful principles you have discussed on this page. It' | + | ====== How-To: Create and use a library in SIP Router ====== |
+ | |||
+ | ===== Create a library ===== | ||
+ | |||
+ | * make a new directory in '' | ||
+ | * copy there the Makefile from '' | ||
+ | * add your '' | ||
+ | |||
+ | ===== Use a library from a module ===== | ||
+ | |||
+ | * add to the module' | ||
+ | |||
+ | < | ||
+ | SERLIBPATH=../../lib | ||
+ | # libraries, | ||
+ | # what will be used for -l | ||
+ | SER_LIBS=$(SERLIBPATH)/ | ||
+ | </ | ||
+ | |||
+ | Compiling |