summaryrefslogtreecommitdiff
path: root/third-party/pjproject/Makefile.rules
blob: e8eb46643e4ed2ccd29d6ecd91805df7a2fe7c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)

# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe

PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
	--disable-speex-codec \
	--disable-speex-aec \
	--disable-speex-aec \
	--disable-gsm-codec \
	--disable-ilbc-codec \
	--disable-l16-codec \
	--disable-g722-codec \
	--disable-g7221-codec \
	--disable-opencore-amr \
	--disable-silk \
	--disable-opus \
	--disable-video \
	--disable-v4l2 \
	--disable-sound \
	--disable-ext-sound \
	--disable-oss \
	--disable-sdl \
	--disable-libyuv \
	--disable-ffmpeg \
	--disable-openh264 \
	--disable-ipp \
	--without-external-pa \
	--without-external-srtp \
	--without-external-webrtc

ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
    PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
endif

ifeq ($(shell uname -s),Linux)
    PJPROJECT_CONFIG_OPTS +=  --enable-epoll
endif