Added Mike Hamburg's SSSE3 AES implementation.
[gnutls:gnutls.git] / lib / accelerated / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2011-2012 Free Software Foundation, Inc.
3 #
4 # Author: Nikos Mavrogiannopoulos
5 #
6 # This file is part of GNUTLS.
7 #
8 # The GNUTLS library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public License
10 # as published by the Free Software Foundation; either version 3 of
11 # the License, or (at your option) any later version.
12 #
13 # The GNUTLS library is distributed in the hope that it will be
14 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # Lesser General Public License for more details.
17 #
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/>
20
21 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS)
22 SUBDIRS = 
23 AM_CPPFLAGS = \
24         -I$(srcdir)/../../gl            \
25         -I$(builddir)/../../gl          \
26         -I$(srcdir)/../includes         \
27         -I$(builddir)/../../gl          \
28         -I$(builddir)/../includes       \
29         -I$(srcdir)/..
30
31 if ENABLE_MINITASN1
32 AM_CPPFLAGS += -I$(srcdir)/../minitasn1
33 endif
34
35 noinst_LTLIBRARIES = libaccelerated.la
36
37 EXTRA_DIST = accelerated.h cryptodev.h
38 libaccelerated_la_SOURCES = accelerated.c cryptodev.c cryptodev-gcm.c
39 libaccelerated_la_LIBADD =
40
41 if ASM_X86
42 SUBDIRS += x86
43 AM_CFLAGS += -DASM_X86
44 libaccelerated_la_LIBADD += x86/libx86.la
45 endif
46
47 if ASM_X86_32
48 AM_CFLAGS += -DASM_X86_32
49 endif
50
51 if ASM_X86_64
52 AM_CFLAGS += -DASM_X86_64
53 endif