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@
19 AM_LDFLAGS = @LIBGCRYPT_LIBS@
22 AM_LDFLAGS += -lpthread
25 noinst_HEADERS = srtp.h
28 noinst_LTLIBRARIES = libvlc_srtp.la
29 check_PROGRAMS = test-aes test-recv
30 TESTS = $(check_PROGRAMS)
32 libvlc_srtp_la_SOURCES = srtp.c
34 srtp_LDADD = libvlc_srtp.la
35 test_recv_LDADD = libvlc_srtp.la
39 $(MAKE) $(AM_MAKEFLAGS) check
42 lcov -c -d . -o lcov.tmp
44 lcov.out: lcov-pre.out
45 lcov -r lcov.tmp '*test*' > lcov.out
48 genhtml lcov.out -o lcov