summaryrefslogtreecommitdiff
path: root/third_party/build/os-auto.mak.in
blob: 66653fa1e300e45f8cef68f83d173cb0ad729113 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

ifneq (@ac_no_gsm_codec@,1)
ifeq (@ac_external_gsm@,1)
# External
else
DIRS += gsm
endif
endif

ifneq (@ac_no_ilbc_codec@,1)
DIRS += ilbc
endif

ifneq (@ac_no_speex_codec@,1)
ifeq (@ac_external_speex@,1)
# External speex
else
DIRS += speex
endif
endif

ifneq (@ac_no_g7221_codec@,1)
DIRS += g7221
endif

ifneq ($(findstring pa,@ac_pjmedia_snd@),)
ifeq (@ac_external_pa@,1)
# External PA
else
#DIRS += portaudio
endif
endif

ifeq (@ac_external_srtp@,1)
# External SRTP
else
DIRS += srtp

ifeq (@ac_ssl_has_aes_gcm@,0)
CIPHERS_SRC = crypto/cipher/aes.o crypto/cipher/aes_icm.o       \
              crypto/cipher/aes_cbc.o
HASHES_SRC  = crypto/hash/sha1.o crypto/hash/hmac.o 		\
	      # crypto/hash/tmmhv2.o
RNG_SRC     = crypto/rng/rand_source.o crypto/rng/prng.o 	\
	      crypto/rng/ctr_prng.o
else
CIPHERS_SRC = crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o
HASHES_SRC  = crypto/hash/hmac_ossl.o
RNG_SRC     = crypto/rng/rand_source_ossl.o
SRTP_OTHER_CFLAGS = -DOPENSSL
endif


endif

ifeq (@ac_pjmedia_resample@,libresample)
DIRS += resample
endif

ifneq (@ac_no_yuv@,1)
ifeq (@ac_external_yuv@,1)
# External yuv
else
DIRS += yuv
endif
endif