|
Packit |
549fdc |
## Process this file with automake to produce Makefile.in
|
|
Packit |
549fdc |
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
|
|
Packit |
549fdc |
#
|
|
Packit |
549fdc |
# Author: Nikos Mavroyanopoulos
|
|
Packit |
549fdc |
#
|
|
Packit |
549fdc |
# This file is part of GNUTLS.
|
|
Packit |
549fdc |
#
|
|
Packit |
549fdc |
# The GNUTLS library is free software; you can redistribute it and/or
|
|
Packit |
549fdc |
# modify it under the terms of the GNU Lesser General Public License
|
|
Packit |
549fdc |
# as published by the Free Software Foundation; either version 3 of
|
|
Packit |
549fdc |
# the License, or (at your option) any later version.
|
|
Packit |
549fdc |
#
|
|
Packit |
549fdc |
# The GNUTLS library is distributed in the hope that it will be
|
|
Packit |
549fdc |
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
Packit |
549fdc |
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
549fdc |
# Lesser General Public License for more details.
|
|
Packit |
549fdc |
#
|
|
Packit |
549fdc |
# You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
549fdc |
# along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
include $(top_srcdir)/lib/common.mk
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
AM_CFLAGS += $(HOGWEED_CFLAGS) $(GMP_CFLAGS)
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
AM_CPPFLAGS = \
|
|
Packit |
549fdc |
-I$(srcdir)/int \
|
|
Packit |
549fdc |
-I$(srcdir)/../../gl \
|
|
Packit |
549fdc |
-I$(builddir)/../../gl \
|
|
Packit |
549fdc |
-I$(srcdir)/../includes \
|
|
Packit |
549fdc |
-I$(builddir)/../includes \
|
|
Packit |
549fdc |
-I$(builddir)/../../gl \
|
|
Packit |
549fdc |
-I$(srcdir)/..
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
if ENABLE_MINITASN1
|
|
Packit |
549fdc |
AM_CPPFLAGS += -I$(srcdir)/../minitasn1
|
|
Packit |
549fdc |
endif
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
noinst_LTLIBRARIES = libcrypto.la
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
libcrypto_la_SOURCES = pk.c mpi.c mac.c cipher.c init.c \
|
|
Packit |
549fdc |
gnettle.h rnd-common.h prf.c \
|
|
Packit |
549fdc |
rnd.c int/rsa-fips.h int/rsa-keygen-fips186.c int/provable-prime.c \
|
|
Packit |
549fdc |
int/dsa-fips.h int/dsa-keygen-fips186.c int/dsa-validate.c \
|
|
Packit |
549fdc |
int/tls1-prf.c int/tls1-prf.h
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
if WINDOWS
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += sysrng-windows.c
|
|
Packit |
549fdc |
else
|
|
Packit |
549fdc |
if HAVE_GETENTROPY
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += sysrng-getentropy.c
|
|
Packit |
549fdc |
else
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += sysrng-linux.c
|
|
Packit |
549fdc |
endif
|
|
Packit |
549fdc |
endif
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += rnd-fuzzer.c
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
if ENABLE_FIPS140
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += rnd-fips.c int/drbg-aes-self-test.c \
|
|
Packit |
549fdc |
int/drbg-aes.c int/drbg-aes.h
|
|
Packit |
549fdc |
endif
|
|
Packit |
549fdc |
|
|
Packit |
549fdc |
if !HAVE_NETTLE_RSA_PSS
|
|
Packit |
549fdc |
libcrypto_la_SOURCES += int/pss-mgf1.c int/pss-mgf1.h int/pss.c int/pss.h \
|
|
Packit |
549fdc |
int/rsa-pss.c int/rsa-pss.h \
|
|
Packit |
549fdc |
int/rsa-pss-sha256-sign-tr.c int/rsa-pss-sha256-verify.c \
|
|
Packit |
549fdc |
int/rsa-pss-sha512-sign-tr.c int/rsa-pss-sha512-verify.c
|
|
Packit |
549fdc |
endif
|