1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3 # Free Software Foundation, Inc.
5 # Author: Nikos Mavrogiannopoulos
7 # This file is part of GnuTLS-EXTRA.
9 # GnuTLS-extra is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as
11 # published by the Free Software Foundation; either version 3 of the
12 # License, or (at your option) any later version.
14 # GnuTLS-extra is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with GnuTLS-EXTRA; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4
26 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
30 -I$(builddir)/../lib/includes \
31 -I$(srcdir)/../lib/includes \
32 -I$(srcdir)/includes \
33 -I$(builddir)/includes \
38 AM_CPPFLAGS += -I$(srcdir)/../lib/minitasn1
43 defexecdir = $(bindir)
49 libgnutls_openssl_la_LDFLAGS = -no-undefined
52 lib_LTLIBRARIES = libgnutls-openssl.la
54 libgnutls_openssl_la_SOURCES = gnutls_openssl.c openssl_compat.h \
57 libgnutls_openssl_la_LIBADD = ../gl/libgnu.la $(LIBSOCKET) \
60 libgnutls_openssl_la_LDFLAGS += -version-info $(LT_SSL_CURRENT):$(LT_SSL_REVISION):$(LT_SSL_AGE)
63 libgnutls_openssl_la_LIBADD += ../lib/minitasn1/libminitasn1.la
65 libgnutls_openssl_la_LDFLAGS += $(LTLIBTASN1)
69 libgnutls_openssl_la_LDFLAGS += \
70 -Wl,--output-def,libgnutls-openssl-$(DLL_VERSION).def
71 defexec_DATA += libgnutls-openssl-$(DLL_VERSION).def
75 DISTCLEANFILES = $(defexec_DATA)