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
deleted file mode 100644
... ...
@@ -1,31 +0,0 @@
1
-
2
-# example library makefile
3
-#
4
-
5
-include ../../Makefile.defs
6
-auto_gen=
7
-NAME:=kamailio_ims
8
-MAJOR_VER=0
9
-MINOR_VER=1
10
-BUGFIX_VER=0
11
-DEFS+=-DSER
12
-
13
-ifeq ($(CROSS_COMPILE),)
14
-XML2CFG=$(shell which xml2-config)
15
-endif
16
-
17
-ifneq ($(XML2CFG),)
18
-	libxml2_includes = $(shell $(XML2CFG) --cflags)
19
-	libxml2_libs = $(shell $(XML2CFG) --libs)
20
-else
21
-	libxml2_includes = -I$(LOCALBASE)/include/libxml2 -I$(LOCALBASE)/include
22
-	libxml2_libs = -L$(LOCALBASE)/lib -lxml2
23
-endif
24
-
25
-INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../.. $(libxml2_includes) 
26
-LIBS=$(libxml2_libs)
27
-#SERLIBPATH=..
28
-#SER_LIBS=$(SERLIBPATH)/cds/ser_cds
29
-
30
-include ../../Makefile.libs
31
-
Browse code

lib/ims: fix cross compilation

Ovidiu Sas authored on 11/01/2013 20:59:31
Showing 1 changed files
... ...
@@ -9,9 +9,19 @@ MAJOR_VER=0
9 9
 MINOR_VER=1
10 10
 BUGFIX_VER=0
11 11
 DEFS+=-DSER
12
-libxml2_includes=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
13
-					-I$(LOCALBASE)/include
14
-libxml2_libs=-L$(LOCALBASE)/lib -lxml2
12
+
13
+ifeq ($(CROSS_COMPILE),)
14
+XML2CFG=$(shell which xml2-config)
15
+endif
16
+
17
+ifneq ($(XML2CFG),)
18
+	libxml2_includes = $(shell $(XML2CFG) --cflags)
19
+	libxml2_libs = $(shell $(XML2CFG) --libs)
20
+else
21
+	libxml2_includes = -I$(LOCALBASE)/include/libxml2 -I$(LOCALBASE)/include
22
+	libxml2_libs = -L$(LOCALBASE)/lib -lxml2
23
+endif
24
+
15 25
 INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../.. $(libxml2_includes) 
16 26
 LIBS=$(libxml2_libs)
17 27
 #SERLIBPATH=..
Browse code

Do not bind with libser_cmd, this is not required.

Carsten Bock authored on 03/01/2013 15:24:59
Showing 1 changed files
... ...
@@ -14,8 +14,8 @@ libxml2_includes=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
14 14
 libxml2_libs=-L$(LOCALBASE)/lib -lxml2
15 15
 INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../.. $(libxml2_includes) 
16 16
 LIBS=$(libxml2_libs)
17
-SERLIBPATH=..
18
-SER_LIBS=$(SERLIBPATH)/cds/ser_cds
17
+#SERLIBPATH=..
18
+#SER_LIBS=$(SERLIBPATH)/cds/ser_cds
19 19
 
20 20
 include ../../Makefile.libs
21 21
 
Browse code

IMS Internal Lib: added internal kamailio library for IMS extensions

root authored on 30/12/2012 17:38:57
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+
2
+# example library makefile
3
+#
4
+
5
+include ../../Makefile.defs
6
+auto_gen=
7
+NAME:=kamailio_ims
8
+MAJOR_VER=0
9
+MINOR_VER=1
10
+BUGFIX_VER=0
11
+DEFS+=-DSER
12
+libxml2_includes=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
13
+					-I$(LOCALBASE)/include
14
+libxml2_libs=-L$(LOCALBASE)/lib -lxml2
15
+INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../.. $(libxml2_includes) 
16
+LIBS=$(libxml2_libs)
17
+SERLIBPATH=..
18
+SER_LIBS=$(SERLIBPATH)/cds/ser_cds
19
+
20
+include ../../Makefile.libs
21
+