From f70250359e1c46a99bd741ccb2f4b5ad66eef829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 24 Feb 2013 18:51:10 +0000 Subject: [PATCH] Use AM_CPPFLAGS instead of INCLUDES. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@620 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- bin/openpam_dump_policy/Makefile.am | 2 +- bin/pamtest/Makefile.am | 2 +- bin/su/Makefile.am | 2 +- lib/Makefile.am | 2 +- modules/pam_deny/Makefile.am | 2 +- modules/pam_permit/Makefile.am | 2 +- modules/pam_unix/Makefile.am | 2 +- t/Makefile.am | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/openpam_dump_policy/Makefile.am b/bin/openpam_dump_policy/Makefile.am index 64f795e..3c24bdb 100644 --- a/bin/openpam_dump_policy/Makefile.am +++ b/bin/openpam_dump_policy/Makefile.am @@ -1,6 +1,6 @@ # $Id$ -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib noinst_PROGRAMS = openpam_dump_policy openpam_dump_policy_SOURCES = openpam_dump_policy.c diff --git a/bin/pamtest/Makefile.am b/bin/pamtest/Makefile.am index af5f44b..95c7432 100644 --- a/bin/pamtest/Makefile.am +++ b/bin/pamtest/Makefile.am @@ -1,6 +1,6 @@ # $Id$ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include bin_PROGRAMS = pamtest pamtest_SOURCES = pamtest.c diff --git a/bin/su/Makefile.am b/bin/su/Makefile.am index 11c3f16..90ee342 100644 --- a/bin/su/Makefile.am +++ b/bin/su/Makefile.am @@ -1,6 +1,6 @@ # $Id$ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include bin_PROGRAMS = su su_SOURCES = su.c diff --git a/lib/Makefile.am b/lib/Makefile.am index aa2de00..3481c16 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2,7 +2,7 @@ NULL = -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include lib_LTLIBRARIES = libpam.la diff --git a/modules/pam_deny/Makefile.am b/modules/pam_deny/Makefile.am index 918aa95..19cd3da 100644 --- a/modules/pam_deny/Makefile.am +++ b/modules/pam_deny/Makefile.am @@ -1,7 +1,7 @@ # $Id$ pkglibdir = @OPENPAM_MODULES_DIR@ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include pkglib_LTLIBRARIES = pam_deny.la diff --git a/modules/pam_permit/Makefile.am b/modules/pam_permit/Makefile.am index ad57003..f985a73 100644 --- a/modules/pam_permit/Makefile.am +++ b/modules/pam_permit/Makefile.am @@ -1,7 +1,7 @@ # $Id$ pkglibdir = @OPENPAM_MODULES_DIR@ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include pkglib_LTLIBRARIES = pam_permit.la diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am index 5d3f0c3..8c50d3c 100644 --- a/modules/pam_unix/Makefile.am +++ b/modules/pam_unix/Makefile.am @@ -1,7 +1,7 @@ # $Id$ pkglibdir = @OPENPAM_MODULES_DIR@ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include if WITH_PAM_UNIX pkglib_LTLIBRARIES = pam_unix.la diff --git a/t/Makefile.am b/t/Makefile.am index 9c867cd..0412a53 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -1,6 +1,6 @@ # $Id$ -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib noinst_HEADERS = t.h