summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-11-20 12:57:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-11-20 12:57:17 +0100
commit60f60cc76e43197a0825ffac9aff0b7007a94175 (patch)
tree9a35ef295e84dc8555eb7e361062d0aedeae8edd /test/Makefile
parent6a9ad0e4234b47982b82b30e8774dcc311f43cd2 (diff)
Framework API now complete in its first iteration. So far with support for raw, opus and amrwb.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..49bcf0d
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,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_$@