Makefile 852 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Asterisk -- An open source telephony toolkit.
  3. #
  4. # Makefile for PBX modules
  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 $(ASTTOPDIR)/makeopts
  12. MODULE_PREFIX=pbx
  13. MENUSELECT_CATEGORY=PBX
  14. MENUSELECT_DESCRIPTION=PBX Modules
  15. all: _all
  16. include $(ASTTOPDIR)/Makefile.moddir_rules
  17. ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
  18. LIBS+= -lres_ael_share.so -lres_monitor.so
  19. endif
  20. clean::
  21. rm -f ael/*.o ael/*.i
  22. dundi-parser.o: dundi-parser.h
  23. dundi-parser.o: _ASTCFLAGS+=-I.
  24. pbx_gtkconsole.o: _ASTCFLAGS+=-Wno-strict-prototypes
  25. $(if $(filter pbx_dundi,$(EMBEDDED_MODS)),modules.link,pbx_dundi.so): dundi-parser.o
  26. dundi-parser.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,pbx_dundi)