1 # Secure RTP with libgcrypt
2 # Copyright (C) 2007 RĂ©mi Denis-Courmont <rdenis # simphalempin , com>
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 AM_CPPFLAGS = @LIBGCRYPT_CFLAGS@
20 noinst_HEADERS = srtp.h
23 noinst_LTLIBRARIES = libvlc_srtp.la
24 check_PROGRAMS = test-aes test-recv
25 TESTS = $(check_PROGRAMS)
27 libvlc_srtp_la_SOURCES = srtp.c
28 libvlc_srtp_la_LIBADD = @LIBGCRYPT_LIBS@
31 srtp_LDADD = libvlc_srtp.la
32 test_recv_LDADD = libvlc_srtp.la
33 test_aes_LDADD = @LIBGCRYPT_LIBS@
36 libvlc_srtp_la_LIBADD += -lpthread
37 test_aes_LDADD += -lpthread
42 $(MAKE) $(AM_MAKEFLAGS) check
45 lcov -c -d . -o lcov.tmp
47 lcov.out: lcov-pre.out
48 lcov -r lcov.tmp '*test*' > lcov.out
51 genhtml lcov.out -o lcov