From 33bce9b4ff25cb6e607466f727d54be1a5858d6c Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Fri, 3 Dec 2010 22:08:56 +0000
Subject: [PATCH] added bg_includes to the makefile for compiling on a real
 bluegene system

---
 src/slurmctld/Makefile.am | 2 +-
 src/slurmctld/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/slurmctld/Makefile.am b/src/slurmctld/Makefile.am
index eb85a759a40..79a6375eb42 100644
--- a/src/slurmctld/Makefile.am
+++ b/src/slurmctld/Makefile.am
@@ -4,7 +4,7 @@
 AUTOMAKE_OPTIONS = foreign
 CLEANFILES = core.*
 
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir) $(BG_INCLUDES)
 
 sbin_PROGRAMS = slurmctld
 
diff --git a/src/slurmctld/Makefile.in b/src/slurmctld/Makefile.in
index f2b830e557a..75d9d02c7a4 100644
--- a/src/slurmctld/Makefile.in
+++ b/src/slurmctld/Makefile.in
@@ -313,7 +313,7 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = foreign
 CLEANFILES = core.*
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir) $(BG_INCLUDES)
 slurmctld_LDADD = \
 	$(top_builddir)/src/common/libdaemonize.la  \
 	$(top_builddir)/src/api/libslurm.o -ldl
-- 
GitLab