Browse code

db_text: Makefile comment updated to reference main Makefile

Daniel-Constantin Mierla authored on 02/11/2020 10:16:35
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 # example module makefile
3 3
 #
4 4
 #
5
-# WARNING: do not run this directly, it should be run by the master Makefile
5
+# WARNING: do not run this directly, it should be run by the main Makefile
6 6
 
7 7
 # extra debug messages
8 8
 DEFS+=-DDBT_EXTRA_DEBUG
Browse code

db_text: updated to the new mod interface

Victor Seva authored on 28/09/2018 09:09:15
Showing 1 changed files
... ...
@@ -12,8 +12,6 @@ auto_gen=
12 12
 NAME=db_text.so
13 13
 LIBS=
14 14
 
15
-DEFS+=-DKAMAILIO_MOD_INTERFACE
16
-
17 15
 SERLIBPATH=../../lib
18 16
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
19 17
 include ../../Makefile.modules
Browse code

db_text: updated the path to kamctl db files

Daniel-Constantin Mierla authored on 07/12/2016 12:20:26
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
22 22
 # extra install for kamailio
23 23
 
24 24
 install-dbtext-scripts: $(bin_prefix)/$(bin_dir)
25
-		DBTEXTON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
25
+		DBTEXTON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules
26 26
 
27 27
 install-scripts: install-dbtext-scripts
28 28
 
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,29 @@
1
+#
2
+# example module makefile
3
+#
4
+#
5
+# WARNING: do not run this directly, it should be run by the master Makefile
6
+
7
+# extra debug messages
8
+DEFS+=-DDBT_EXTRA_DEBUG
9
+
10
+include ../../Makefile.defs
11
+auto_gen=
12
+NAME=db_text.so
13
+LIBS=
14
+
15
+DEFS+=-DKAMAILIO_MOD_INTERFACE
16
+
17
+SERLIBPATH=../../lib
18
+SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
19
+include ../../Makefile.modules
20
+
21
+ifeq ($(INSTALL_FLAVOUR),kamailio)
22
+# extra install for kamailio
23
+
24
+install-dbtext-scripts: $(bin_prefix)/$(bin_dir)
25
+		DBTEXTON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
26
+
27
+install-scripts: install-dbtext-scripts
28
+
29
+endif # INSTALL_FLAVOUR