... | ... |
@@ -1,7 +1,6 @@ |
1 | 1 |
# |
2 | 2 |
# textopsx example module makefile |
3 | 3 |
# |
4 |
-# |
|
5 | 4 |
# WARNING: do not run this directly, it should be run by the master Makefile |
6 | 5 |
|
7 | 6 |
include ../../Makefile.defs |
... | ... |
@@ -9,7 +8,5 @@ auto_gen= |
9 | 8 |
NAME=textopsx.so |
10 | 9 |
LIBS= |
11 | 10 |
|
12 |
-DEFS+=-DSER_MOD_INTERFACE |
|
13 |
- |
|
14 | 11 |
include ../../Makefile.modules |
15 | 12 |
|
- 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)
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,15 @@ |
1 |
+# |
|
2 |
+# textopsx example module makefile |
|
3 |
+# |
|
4 |
+# |
|
5 |
+# WARNING: do not run this directly, it should be run by the master Makefile |
|
6 |
+ |
|
7 |
+include ../../Makefile.defs |
|
8 |
+auto_gen= |
|
9 |
+NAME=textopsx.so |
|
10 |
+LIBS= |
|
11 |
+ |
|
12 |
+DEFS+=-DSER_MOD_INTERFACE |
|
13 |
+ |
|
14 |
+include ../../Makefile.modules |
|
15 |
+ |