Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Asterisk -- An open source telephony toolkit.
  3. #
  4. # Makefile for PBX applications
  5. #
  6. # Copyright (C) 1999-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=app
  13. MENUSELECT_CATEGORY=APPS
  14. MENUSELECT_DESCRIPTION=Applications
  15. MENUSELECT_OPTS_app_directory:=$(MENUSELECT_OPTS_app_voicemail)
  16. ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
  17. MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
  18. endif
  19. ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
  20. MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
  21. endif
  22. all: _all
  23. include $(ASTTOPDIR)/Makefile.moddir_rules
  24. clean::
  25. rm -f confbridge/*.o confbridge/*.i
  26. $(if $(filter app_confbridge,$(EMBEDDED_MODS)),modules.link,app_confbridge.so): $(subst .c,.o,$(wildcard confbridge/*.c))
  27. $(subst .c,.o,$(wildcard confbridge/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,app_confbridge)
  28. ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
  29. LIBS+= -lres_ael_share.so -lres_monitor.so -lres_speech.so
  30. LIBS+= -lres_smdi.so
  31. endif