Browse code

Update module to use cmpapi files from libkcore

This patch does two things:
* It links them modules with shared library libkcore which contains
files cmpapi.[ch] originally present in kamailio core and missing in
the sip-router core.
* it fixes the path to cmpapi.h to point to the header in the shared
library.

Jan Janak authored on 03/03/2009 15:34:22
Showing 2 changed files
... ...
@@ -12,4 +12,6 @@ LIBS=
12 12
 
13 13
 DEFS+=-DOPENSER_MOD_INTERFACE
14 14
 
15
+SERLIBPATH=../../lib
16
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
15 17
 include ../../Makefile.modules
... ...
@@ -30,7 +30,7 @@
30 30
 #include <ctype.h>
31 31
 #include <string.h>
32 32
 
33
-#include "../../cmpapi.h"
33
+#include "../../lib/kcore/cmpapi.h"
34 34
 #include "../../dprint.h"
35 35
 #include "../../pvar.h"
36 36
 #include "../../data_lump.h"