diff options
author | Martin Storsjo <martin@martin.st> | 2013-06-06 15:26:53 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-06-06 23:13:52 +0200 |
commit | 6726fd437ea22b06b78a1d8d8f9b73ae3163e311 (patch) | |
tree | 200c56e87abbc20b85589be8aab77c725616255a | |
parent | 765c617e2e740a582441facb2c1dd34114047920 (diff) | |
download | gnutls-6726fd437ea22b06b78a1d8d8f9b73ae3163e311.tar.gz |
Add NETTLE_CFLAGS in makefiles
This is required for using nettle/memxor.h, which now is included
implicitly via gnutls_int.h, if the nettle include directories
aren't in one of the compiler standard paths.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | extra/Makefile.am | 2 | ||||
-rw-r--r-- | lib/Makefile.am | 2 | ||||
-rw-r--r-- | lib/accelerated/Makefile.am | 2 | ||||
-rw-r--r-- | lib/accelerated/x86/Makefile.am | 2 | ||||
-rw-r--r-- | lib/algorithms/Makefile.am | 2 | ||||
-rw-r--r-- | lib/auth/Makefile.am | 2 | ||||
-rw-r--r-- | lib/ext/Makefile.am | 2 | ||||
-rw-r--r-- | lib/extras/Makefile.am | 2 | ||||
-rw-r--r-- | lib/opencdk/Makefile.am | 2 | ||||
-rw-r--r-- | lib/openpgp/Makefile.am | 2 | ||||
-rw-r--r-- | lib/x509/Makefile.am | 2 |
11 files changed, 12 insertions, 10 deletions
diff --git a/extra/Makefile.am b/extra/Makefile.am index 8cbb4050cb..f9716e62c7 100644 --- a/extra/Makefile.am +++ b/extra/Makefile.am @@ -22,7 +22,7 @@ ACLOCAL_AMFLAGS = -I ../m4 -I ../gl/m4 -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../gl \ -I$(builddir)/../gl \ diff --git a/lib/Makefile.am b/lib/Makefile.am index 006f695995..790cdb1da1 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -27,7 +27,7 @@ endif localedir = $(datadir)/locale -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -DLOCALEDIR=\"$(localedir)\" \ -I$(srcdir)/../gl \ diff --git a/lib/accelerated/Makefile.am b/lib/accelerated/Makefile.am index 7baa9bc976..f1a1982fa0 100644 --- a/lib/accelerated/Makefile.am +++ b/lib/accelerated/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) SUBDIRS = AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ diff --git a/lib/accelerated/x86/Makefile.am b/lib/accelerated/x86/Makefile.am index 400f15dadc..8edcbbb5f0 100644 --- a/lib/accelerated/x86/Makefile.am +++ b/lib/accelerated/x86/Makefile.am @@ -19,7 +19,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/> AM_LIBTOOLFLAGS=--tag=CC -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = -I$(srcdir)/../../../gl \ -I$(builddir)/../../../gl \ -I$(srcdir)/../../includes \ diff --git a/lib/algorithms/Makefile.am b/lib/algorithms/Makefile.am index 13b287a405..328e46fb55 100644 --- a/lib/algorithms/Makefile.am +++ b/lib/algorithms/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/auth/Makefile.am b/lib/auth/Makefile.am index 966bd7ac25..e1abdc0b35 100644 --- a/lib/auth/Makefile.am +++ b/lib/auth/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/ext/Makefile.am b/lib/ext/Makefile.am index 5572430602..47e4df9450 100644 --- a/lib/ext/Makefile.am +++ b/lib/ext/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/extras/Makefile.am b/lib/extras/Makefile.am index c6afbe50da..b621de9b94 100644 --- a/lib/extras/Makefile.am +++ b/lib/extras/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/opencdk/Makefile.am b/lib/opencdk/Makefile.am index 3ceadc377c..50237959eb 100644 --- a/lib/opencdk/Makefile.am +++ b/lib/opencdk/Makefile.am @@ -18,6 +18,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> +AM_CFLAGS = $(NETTLE_CFLAGS) + AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/openpgp/Makefile.am b/lib/openpgp/Makefile.am index 6c92723564..893f5966b0 100644 --- a/lib/openpgp/Makefile.am +++ b/lib/openpgp/Makefile.am @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ diff --git a/lib/x509/Makefile.am b/lib/x509/Makefile.am index 93fbd24057..4fc657969b 100644 --- a/lib/x509/Makefile.am +++ b/lib/x509/Makefile.am @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) +AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) $(NETTLE_CFLAGS) AM_CPPFLAGS = \ -I$(srcdir)/../../gl \ -I$(builddir)/../../gl \ |