From: Linus Nordberg Date: Thu, 19 Dec 2013 14:37:58 +0000 (+0100) Subject: Don't use deprecated 'INCLUDES' variable in Makefile.am files. X-Git-Tag: libradsec-0.0.5~4 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libradsec.git;a=commitdiff_plain;h=5871418432e1b127c760cd42a50f781d95d245fd Don't use deprecated 'INCLUDES' variable in Makefile.am files. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 320218c..84f7491 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = radius radsecproxy include . examples DIST_SUBDIRS = $(SUBDIRS) tests -INCLUDES = -I$(srcdir)/include +AM_CPPFLAGS = -I$(srcdir)/include AM_CFLAGS = -Wall -Werror -g lib_LTLIBRARIES = libradsec.la diff --git a/lib/examples/Makefile.am b/lib/examples/Makefile.am index f300627..fa1c835 100644 --- a/lib/examples/Makefile.am +++ b/lib/examples/Makefile.am @@ -1,5 +1,5 @@ AUTOMAKE_OPTIONS = foreign -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) AM_CFLAGS = -Wall -Werror -g noinst_PROGRAMS = client diff --git a/lib/radius/Makefile.am b/lib/radius/Makefile.am index c827465..462a1e0 100644 --- a/lib/radius/Makefile.am +++ b/lib/radius/Makefile.am @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) AM_CFLAGS = -Wall -g noinst_LTLIBRARIES = libradsec-radius.la diff --git a/lib/radsecproxy/Makefile.am b/lib/radsecproxy/Makefile.am index 962f367..dc5ffc4 100644 --- a/lib/radsecproxy/Makefile.am +++ b/lib/radsecproxy/Makefile.am @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) AM_CFLAGS = -Wall -Werror -g noinst_LTLIBRARIES = libradsec-radsecproxy.la diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index dc15264..09f9d28 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am @@ -1,5 +1,5 @@ AUTOMAKE_OPTIONS = foreign -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) AM_CFLAGS = -Wall -Werror -g TESTS = test-udp