gnutls_srtp_get_profile_by_name -> gnutls_srtp_get_profile_id
[gnutls.git] / libdane / Makefile.am
blobd880cc8aaabeaae76c850e698beeb5114b50a569
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2012 KU Leuven
4 # Author: Nikos Mavrogiannopoulos
6 # This file is part of libdane.
8 # libdane is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 3 of the
11 # License, or (at your option) any later version.
13 # GnuTLS-extra is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public License
19 # along with this program.  If not, see <http://www.gnu.org/licenses/>
21 ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4
23 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
24 AM_CPPFLAGS = \
25         -I$(srcdir)/../gl               \
26         -I$(builddir)/../gl             \
27         -I$(builddir)/../lib/includes   \
28         -I$(srcdir)/../lib/includes     \
29         -I$(srcdir)/includes            \
30         -I$(builddir)/includes          \
31         -I$(srcdir)/../lib
33 SUBDIRS = includes
35 defexecdir = $(bindir)
36 defexec_DATA = 
39 libgnutls_dane_la_LDFLAGS = -no-undefined
41 if ENABLE_DANE
42 lib_LTLIBRARIES = libgnutls-dane.la
44 libgnutls_dane_la_SOURCES = dane.c dane-params.c errors.c libdane.map
46 libgnutls_dane_la_LIBADD = ../gl/libgnu.la \
47         ../lib/libgnutls.la
49 libgnutls_dane_la_LDFLAGS += -version-info $(LT_DANE_CURRENT):$(LT_DANE_REVISION):$(LT_DANE_AGE)
51 libgnutls_dane_la_LIBADD += $(LIBSOCKET) $(UNBOUND_LIBS)
53 if HAVE_LD_VERSION_SCRIPT
54 libgnutls_dane_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libdane.map
55 else
56 libgnutls_dane_la_LDFLAGS += -export-symbols-regex '^(dane).*'
57 endif
59 if HAVE_LD_OUTPUT_DEF
60 libgnutls_dane_la_LDFLAGS += \
61         -Wl,--output-def,libgnutls-dane-$(DLL_VERSION).def
62 libgnutls_dane-$(DLL_VERSION).def: libgnutls-dane.la
63 defexec_DATA += libgnutls-dane-$(DLL_VERSION).def
64 endif
65 endif
67 pkgconfigdir = $(libdir)/pkgconfig
68 pkgconfig_DATA = gnutls-dane.pc
69 DISTCLEANFILES = $(pkgconfig_DATA)
71 DISTCLEANFILES += $(defexec_DATA)