Skip to content
Snippets Groups Projects
Commit 7d19d556 authored by Nathan Yee's avatar Nathan Yee Committed by Danny Auble
Browse files

Changed the Makefile.ams to use the AM_CPPFLAGS instead of the

INCLUDE variable rpmlint was complaining about them
parent e8d59290
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 21 deletions
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = -fPIC AM_CPPFLAGS = -fPIC -I$(top_srcdir) -I$(top_srcdir)/src/common
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common
PLUGIN_FLAGS = -module --export-dynamic -avoid-version PLUGIN_FLAGS = -module --export-dynamic -avoid-version
pkglibdir = $(PAM_DIR) pkglibdir = $(PAM_DIR)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) $(BG_INCLUDES) AM_CPPFLAGS = -I$(top_srcdir) $(BG_INCLUDES)
if WITH_GNU_LD if WITH_GNU_LD
VERSION_SCRIPT = \ VERSION_SCRIPT = \
......
...@@ -18,7 +18,7 @@ build_unsetenv_src = unsetenv.c unsetenv.h ...@@ -18,7 +18,7 @@ build_unsetenv_src = unsetenv.c unsetenv.h
extra_unsetenv_src = extra_unsetenv_src =
endif endif
INCLUDES = -I$(top_srcdir) $(BG_INCLUDES) $(HWLOC_CPPFLAGS) AM_CPPFLAGS = -I$(top_srcdir) $(BG_INCLUDES) $(HWLOC_CPPFLAGS)
noinst_PROGRAMS = libcommon.o libeio.o libspank.o noinst_PROGRAMS = libcommon.o libeio.o libspank.o
# This is needed if compiling on windows # This is needed if compiling on windows
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
if WITH_MYSQL if WITH_MYSQL
MYSQL_LIB = libslurm_mysql.la MYSQL_LIB = libslurm_mysql.la
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) AM_CPPFLAGS = -I$(top_srcdir)
if WITH_GNU_LD if WITH_GNU_LD
VERSION_SCRIPT = \ VERSION_SCRIPT = \
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
CLEANFILES = core.* CLEANFILES = core.*
INCLUDES = -I$(top_srcdir) AM_CPPFLAGS = -I$(top_srcdir)
# making a .la # making a .la
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = accounting_storage_filetxt.la pkglib_LTLIBRARIES = accounting_storage_filetxt.la
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
AS_MYSQL_SOURCES = accounting_storage_mysql.c accounting_storage_mysql.h \ AS_MYSQL_SOURCES = accounting_storage_mysql.c accounting_storage_mysql.h \
as_mysql_acct.c as_mysql_acct.h \ as_mysql_acct.c as_mysql_acct.h \
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = accounting_storage_none.la pkglib_LTLIBRARIES = accounting_storage_none.la
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
AS_PG_SOURCES= accounting_storage_pgsql.c accounting_storage_pgsql.h \ AS_PG_SOURCES= accounting_storage_pgsql.c accounting_storage_pgsql.h \
as_pg_common.c as_pg_common.h \ as_pg_common.c as_pg_common.h \
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = accounting_storage_slurmdbd.la pkglib_LTLIBRARIES = accounting_storage_slurmdbd.la
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common $(FREEIPMI_CPPFLAGS) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(FREEIPMI_CPPFLAGS)
if BUILD_IPMI if BUILD_IPMI
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = acct_gather_energy_none.la pkglib_LTLIBRARIES = acct_gather_energy_none.la
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = acct_gather_energy_rapl.la pkglib_LTLIBRARIES = acct_gather_energy_rapl.la
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = acct_gather_filesystem_none.la pkglib_LTLIBRARIES = acct_gather_filesystem_none.la
......
...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
PLUGIN_FLAGS = -module -avoid-version --export-dynamic PLUGIN_FLAGS = -module -avoid-version --export-dynamic
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
pkglib_LTLIBRARIES = acct_gather_infiniband_none.la pkglib_LTLIBRARIES = acct_gather_infiniband_none.la
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/common AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
if BUILD_OFED if BUILD_OFED
......
...@@ -6,7 +6,7 @@ PLUGIN_FLAGS = -module -avoid-version --export-dynamic ...@@ -6,7 +6,7 @@ PLUGIN_FLAGS = -module -avoid-version --export-dynamic
# Do not put a link to common here. src/common contains an mpi.h which # Do not put a link to common here. src/common contains an mpi.h which
# hdf5 could of been installed with a link to the generic mpi.h. # hdf5 could of been installed with a link to the generic mpi.h.
INCLUDES = -I$(top_srcdir) AM_CPPFLAGS = -I$(top_srcdir)
# cpu/core energy accounting plugin. # cpu/core energy accounting plugin.
HDF5_SOURCES = acct_gather_profile_hdf5.c HDF5_SOURCES = acct_gather_profile_hdf5.c
......
...@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = foreign ...@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = foreign
# Do not put a link to common here. src/common contains an mpi.h which # Do not put a link to common here. src/common contains an mpi.h which
# hdf5 could of been installed with a link to the generic mpi.h. # hdf5 could of been installed with a link to the generic mpi.h.
INCLUDES = -I$(top_srcdir) -I../ AM_CPPFLAGS = -I$(top_srcdir) -I../
SHDF5_SOURCES = sh5util.c SHDF5_SOURCES = sh5util.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment