|
Packit Service |
4684c1 |
## Process this file with automake to produce Makefile.in
|
|
Packit Service |
4684c1 |
# Copyright (C) 2012 KU Leuven
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# Author: Nikos Mavrogiannopoulos
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# This file is part of libdane.
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# libdane is free software; you can redistribute it and/or
|
|
Packit Service |
4684c1 |
# modify it under the terms of the GNU General Public License as
|
|
Packit Service |
4684c1 |
# published by the Free Software Foundation; either version 3 of the
|
|
Packit Service |
4684c1 |
# License, or (at your option) any later version.
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# GnuTLS-extra is distributed in the hope that it will be useful, but
|
|
Packit Service |
4684c1 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
4684c1 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
4684c1 |
# General Public License for more details.
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# You should have received a copy of the GNU Lesser General Public License
|
|
Packit Service |
4684c1 |
# along with this program. If not, see <https://www.gnu.org/licenses/>
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
include $(top_srcdir)/lib/common.mk
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
AM_CPPFLAGS = \
|
|
Packit Service |
4684c1 |
-I$(srcdir)/../gl \
|
|
Packit Service |
4684c1 |
-I$(builddir)/../gl \
|
|
Packit Service |
4684c1 |
-I$(builddir)/../lib/includes \
|
|
Packit Service |
4684c1 |
-I$(srcdir)/../lib/includes \
|
|
Packit Service |
4684c1 |
-I$(srcdir)/includes \
|
|
Packit Service |
4684c1 |
-I$(builddir)/includes \
|
|
Packit Service |
4684c1 |
-I$(srcdir)/../lib/minitasn1 \
|
|
Packit Service |
4684c1 |
-I$(srcdir)/../lib
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
SUBDIRS = includes
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LDFLAGS = -no-undefined $(COMMON_LINK_FLAGS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
lib_LTLIBRARIES = libgnutls-dane.la
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_SOURCES = dane.c dane-params.c errors.c libdane.map
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LIBADD = ../gl/libgnu.la \
|
|
Packit Service |
4684c1 |
../lib/libgnutls.la
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LDFLAGS += -version-info $(LT_DANE_CURRENT):$(LT_DANE_REVISION):$(LT_DANE_AGE)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LIBADD += $(LIBSOCKET) $(UNBOUND_LIBS)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
if HAVE_LD_VERSION_SCRIPT
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libdane.map
|
|
Packit Service |
4684c1 |
else
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LDFLAGS += -export-symbols-regex '^(dane).*'
|
|
Packit Service |
4684c1 |
endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
pkgconfigdir = $(libdir)/pkgconfig
|
|
Packit Service |
4684c1 |
pkgconfig_DATA = gnutls-dane.pc
|
|
Packit Service |
4684c1 |
DISTCLEANFILES = $(pkgconfig_DATA)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
if HAVE_LD_OUTPUT_DEF
|
|
Packit Service |
4684c1 |
libgnutls_dane_la_LDFLAGS += \
|
|
Packit Service |
4684c1 |
-Wl,--output-def,libgnutls-dane-$(DLL_VERSION).def
|
|
Packit Service |
4684c1 |
libgnutls_dane-$(DLL_VERSION).def: libgnutls-dane.la
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
defexecdir = $(bindir)
|
|
Packit Service |
4684c1 |
defexec_DATA = libgnutls-dane-$(DLL_VERSION).def
|
|
Packit Service |
4684c1 |
DISTCLEANFILES += $(defexec_DATA)
|
|
Packit Service |
4684c1 |
endif
|