Makefile 912 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # Asterisk -- An open source telephony toolkit.
  3. #
  4. # Makefile for dialplan functions
  5. #
  6. # Copyright (C) 2005-2006, Digium, Inc.
  7. #
  8. # This program is free software, distributed under the terms of
  9. # the GNU General Public License
  10. #
  11. -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
  12. MODULE_PREFIX=func
  13. MENUSELECT_CATEGORY=FUNCS
  14. MENUSELECT_DESCRIPTION=Dialplan Functions
  15. all: _all
  16. include $(ASTTOPDIR)/Makefile.moddir_rules
  17. # the SPRINTF() function in func_sprintf accepts format specifiers
  18. # and thus passes them to snprintf() as non-literal strings; the compiler
  19. # can't check the string and arguments to ensure they match, so this
  20. # warning must be disabled; for safety reasons, SPRINTF() is kept in
  21. # a separate module so that as little code as possible is left unchecked
  22. func_sprintf.o: _ASTCFLAGS+=-Wno-format-nonliteral
  23. func_groupcount.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)