1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2011-2012 Free Software Foundation, Inc.
4 # Author: Nikos Mavrogiannopoulos
6 # This file is part of GNUTLS.
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.
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.
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/>
21 AM_LIBTOOLFLAGS=--tag=CC
22 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS)
23 AM_CPPFLAGS = -I$(srcdir)/../../../gl \
24 -I$(builddir)/../../../gl \
25 -I$(srcdir)/../../includes \
26 -I$(builddir)/../../includes \
31 AM_CPPFLAGS += -I$(srcdir)/../../minitasn1
34 EXTRA_DIST = README license.txt files.mk
36 noinst_LTLIBRARIES = libx86.la
38 libx86_la_SOURCES = sha-padlock.c hmac-padlock.c aes-x86.c aes-padlock.c aes-gcm-padlock.c \
39 aes-padlock.h aes-x86.h x86.h sha-padlock.h sha-x86.c sha-x86.h hmac-x86.c
44 AM_CFLAGS += -DASM_X86_64 -DASM_X86
45 libx86_la_SOURCES += aes-gcm-x86.c
48 libx86_la_SOURCES += $(X86_64_FILES_COFF)
52 libx86_la_SOURCES += $(X86_64_FILES_MACOSX)
56 libx86_la_SOURCES += $(X86_64_FILES_ELF)
60 AM_CFLAGS += -DASM_X86_32 -DASM_X86
63 libx86_la_SOURCES += $(X86_FILES_ELF)
67 libx86_la_SOURCES += $(X86_FILES_MACOSX)
71 libx86_la_SOURCES += $(X86_FILES_ELF)