1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
4 # Author: Nikos Mavrogiannopoulos
6 # This file is part of GnuTLS-EXTRA.
8 # GnuTLS-extra 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 General Public License
19 # along with GnuTLS-EXTRA; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4
25 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
29 -I$(builddir)/../lib/includes \
30 -I$(srcdir)/../lib/includes \
31 -I$(srcdir)/includes \
32 -I$(builddir)/includes \
37 AM_CPPFLAGS += -I$(srcdir)/../lib/minitasn1
42 defexecdir = $(bindir)
48 libgnutls_openssl_la_LDFLAGS = -no-undefined
51 lib_LTLIBRARIES = libgnutls-openssl.la
53 libgnutls_openssl_la_SOURCES = gnutls_openssl.c openssl_compat.h \
56 libgnutls_openssl_la_LIBADD = ../gl/libgnu.la \
59 libgnutls_openssl_la_LDFLAGS += -version-info $(LT_SSL_CURRENT):$(LT_SSL_REVISION):$(LT_SSL_AGE)
62 libgnutls_openssl_la_LIBADD += ../lib/minitasn1/libminitasn1.la
64 libgnutls_openssl_la_LIBADD += $(LTLIBTASN1)
67 libgnutls_openssl_la_LIBADD += $(LIBSOCKET)
70 libgnutls_openssl_la_LDFLAGS += \
71 -Wl,--output-def,libgnutls-openssl-$(DLL_VERSION).def
72 libgnutls-openssl-$(DLL_VERSION).def: libgnutls-openssl.la
73 defexec_DATA += libgnutls-openssl-$(DLL_VERSION).def
77 DISTCLEANFILES = $(defexec_DATA)