Browse code

ims_charging: converted to the new module interface

Federico Cabiddu authored on 27/09/2018 16:22:33 • Victor Seva committed on 28/09/2018 11:03:26
Showing 1 changed files
... ...
@@ -8,8 +8,6 @@ auto_gen=
8 8
 NAME=ims_charging.so
9 9
 LIBS=
10 10
 
11
-DEFS+=-DKAMAILIO_MOD_INTERFACE
12
-
13 11
 SERLIBPATH=../../lib
14 12
 SER_LIBS+=$(SERLIBPATH)/ims/kamailio_ims
15 13
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
Browse code

modules/ims*: Makefile updates

- use KAMAILIO mod interface define
- bits of updates in the comments

Daniel-Constantin Mierla authored on 29/01/2018 08:14:40
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@ auto_gen=
8 8
 NAME=ims_charging.so
9 9
 LIBS=
10 10
 
11
-DEFS+=-DOPENSER_MOD_INTERFACE
11
+DEFS+=-DKAMAILIO_MOD_INTERFACE
12 12
 
13 13
 SERLIBPATH=../../lib
14 14
 SER_LIBS+=$(SERLIBPATH)/ims/kamailio_ims
Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+#
2
+# ims_charging make file
3
+#
4
+#
5
+
6
+include ../../Makefile.defs
7
+auto_gen=
8
+NAME=ims_charging.so
9
+LIBS=
10
+
11
+DEFS+=-DOPENSER_MOD_INTERFACE
12
+
13
+SERLIBPATH=../../lib
14
+SER_LIBS+=$(SERLIBPATH)/ims/kamailio_ims
15
+SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
16
+LIBS+=-lm
17
+
18
+ifneq ($(OS),darwin)
19
+	LIBS += -lrt
20
+endif
21
+
22
+include ../../Makefile.modules