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,19 @@
1
+# Kamailio build system
2
+# path config makefile
3
+#
4
+ifneq ($(makefile_dirs_included),1)
5
+
6
+override makefile_dirs_included:=1
7
+
8
+# modules directories
9
+# WARNING: - names must not conflict with any makefile variable or 
10
+#            target name
11
+#          - they should not contain '-' in them (portability: some exported
12
+#            var names might be derived from them and some shell do not 
13
+#            support '-' in variables)
14
+# makefile module related targets will be defined based on them:
15
+# install-$(1), install-$(1)-doc, $(1) a.s.o.
16
+# - old: modules_dirs?= modules modules_s modules_k
17
+modules_dirs?= modules
18
+
19
+endif