summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: 49bcf0de1fc4f3f3b25fce983bd4c3ab6ca7894e (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
all: connectivity amrwb init rtp srtp opus raw

connectivity:
	g++ -g test_$@.cc -L../src/.libs -llrtp -I../src -o test_$@
	LD_LIBRARY_PATH=../src/.libs ./test_$@

amrwb:
	g++ -g test_$@.cc -L../src/.libs -llrtp -lm -I../src -o test_$@
	LD_LIBRARY_PATH=../src/.libs ./test_$@

opus:
	g++ -g test_$@.cc -L../src/.libs -llrtp -lm -I../src -lopus -lao -o test_$@
	LD_LIBRARY_PATH=../src/.libs ./test_$@

init:
	g++ -g test_$@.cc -L../src/.libs -llrtp -I../src -o test_$@
	LD_LIBRARY_PATH=../src/.libs ./test_$@

raw:
	g++ -g test_$@.cc -L../src/.libs -llrtp -I../src -o test_$@
	LD_LIBRARY_PATH=../src/.libs ./test_$@

rtp:
	g++ -g test_$@.cc ../src/rtp.cc -o test_$@
	./test_$@

srtp:
	g++ -g -DUSE_CRYPTO test_$@.cc ../src/rtp.cc ../src/srtp.cc ../src/asc2bin.cc -lsrtp -o test_$@
	./test_$@