Makefile 829 B

123456789101112131415161718192021222324252627
  1. #
  2. # Asterisk -- An open source telephony toolkit.
  3. #
  4. # Makefile for test modules
  5. #
  6. # Copyright (C) 2008, 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=test
  13. MENUSELECT_CATEGORY=TESTS
  14. MENUSELECT_DESCRIPTION=Test Modules
  15. all: _all
  16. include $(ASTTOPDIR)/Makefile.moddir_rules
  17. test_astobj2.o: _ASTCFLAGS+=$(call get_menuselect_cflags,AO2_DEBUG)
  18. # can't use '%y' in strftime() without warnings since it's not y2k compliant
  19. test_capture.o: _ASTCFLAGS+=$(AST_NO_FORMAT_Y2K)
  20. test_crypto.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
  21. test_strings.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION) $(AST_NO_STRINGOP_TRUNCATION)
  22. test_voicemail_api.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)