Module: sip-router Branch: master Commit: 6fb2e27d0f9db5191b8939df69e23ef12f3b6d1d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6fb2e27d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Nov 25 18:38:24 2011 +0100
Makefile.modules: printmiface - new target to print module interface define
---
Makefile.modules | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Makefile.modules b/Makefile.modules index 1e198d6..303a7af 100644 --- a/Makefile.modules +++ b/Makefile.modules @@ -75,6 +75,14 @@ override static_modules_path= # temporary def (visible only in the module, not exported) DEFS += -DMOD_NAME='"$(MOD_NAME)"'
+ +ifeq (,$(findstring -DSER_MOD_INTERFACE, $(DEFS))) + MODIFACE=-DOPENSER_MOD_INTERFACE +else + MODIFACE=-DSER_MOD_INTERFACE +endif + + ifneq ($(makefile_defs_included),1) $(error "the local makefile does not include Makefile.defs!") endif @@ -297,6 +305,10 @@ man:
endif
+ +printmiface: + @echo $(MODIFACE) + endif # ifeq($(makefile_defs),1)
include $(COREPATH)/Makefile.cfg