Makefile.rules 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # We switched download locations so Asterisk users don't bombard the Teluu
  2. # site with download requests.
  3. #
  4. # For future reference when upgrading bundled PJPROJECT the next time
  5. # PJPROJECT is released.
  6. # Teluu's download URL.
  7. # PACKAGE_URL ?= http://www.pjsip.org/release/$(PJPROJECT_VERSION)
  8. PACKAGE_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
  9. TARBALL_FILE = pjproject-$(PJPROJECT_VERSION).tar.bz2
  10. # PJPROJECT_CONFIGURE_OPTS could come from the command line or could be
  11. # set/modified by configure.m4 if the build or host tuples aren't the same
  12. # as the current build environment (cross-compile).
  13. # Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
  14. PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
  15. --disable-speex-codec \
  16. --disable-speex-aec \
  17. --disable-bcg729 \
  18. --disable-gsm-codec \
  19. --disable-ilbc-codec \
  20. --disable-l16-codec \
  21. --disable-g722-codec \
  22. --disable-g7221-codec \
  23. --disable-opencore-amr \
  24. --disable-silk \
  25. --disable-opus \
  26. --disable-video \
  27. --disable-v4l2 \
  28. --disable-sound \
  29. --disable-ext-sound \
  30. --disable-sdl \
  31. --disable-libyuv \
  32. --disable-ffmpeg \
  33. --disable-openh264 \
  34. --disable-ipp \
  35. --disable-libwebrtc \
  36. --without-external-pa \
  37. --without-external-srtp
  38. ifneq ($(AST_DEVMODE),yes)
  39. PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
  40. endif
  41. ifeq ($(shell uname -s),Linux)
  42. PJPROJECT_CONFIG_OPTS += --enable-epoll
  43. endif