| 1 | # |
| 2 | # example module makefile |
| 3 | # |
| 4 | # |
| 5 | # WARNING: do not run this directly, it should be run by the main 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 | include ../../Makefile.modules |
| 16 | |
| 17 | ifeq ($(INSTALL_FLAVOUR),kamailio) |
| 18 | # extra install for kamailio |
| 19 | |
| 20 | install-dbtext-scripts: $(bin_prefix)/$(bin_dir) |
| 21 | DBTEXTON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules |
| 22 | |
| 23 | install-scripts: install-dbtext-scripts |
| 24 | |
| 25 | endif # INSTALL_FLAVOUR |