aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWill Miles <wmiles@sgl.com>2015-01-22 09:43:28 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-01-24 13:48:53 -0600
commit3f80f22e22ec16ed517397fd303c3df99f9340fc (patch)
treef76bee821407e2ec9d3881a3bb6fce79364c814c /src
parent8250ac94dfc6156075081e0e2d0986cb51b3098d (diff)
Prioritize local includes and libraries
This fixes #35.
Diffstat (limited to 'src')
-rw-r--r--src/libeinfo/Makefile2
-rw-r--r--src/librc/Makefile2
-rw-r--r--src/rc/Makefile4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libeinfo/Makefile b/src/libeinfo/Makefile
index ec756b47..e6ccb650 100644
--- a/src/libeinfo/Makefile
+++ b/src/libeinfo/Makefile
@@ -4,7 +4,7 @@ SRCS= libeinfo.c
INCS= einfo.h
VERSION_MAP= einfo.map
-CPPFLAGS+= -I../includes
+LOCAL_CPPFLAGS+= -I../includes
MK= ../../mk
include ${MK}/lib.mk
diff --git a/src/librc/Makefile b/src/librc/Makefile
index 73075608..08c599ef 100644
--- a/src/librc/Makefile
+++ b/src/librc/Makefile
@@ -7,7 +7,7 @@ VERSION_MAP= rc.map
LDADD+= ${LIBKVM}
-CPPFLAGS+= -I../includes
+LOCAL_CPPFLAGS+= -I../includes
MK= ../../mk
include ${MK}/lib.mk
diff --git a/src/rc/Makefile b/src/rc/Makefile
index d2b2ac5f..fc88ff28 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -35,8 +35,8 @@ RC_SBINLINKS= mark_service_starting mark_service_started \
ALL_LINKS= ${BINLINKS} ${SBINLINKS} ${RC_BINLINKS} ${RC_SBINLINKS}
CLEANFILES+= ${ALL_LINKS}
-CPPFLAGS+= -I../includes -I../librc -I../libeinfo
-LDFLAGS+= -L../librc -L../libeinfo
+LOCAL_CPPFLAGS=-I../includes -I../librc -I../libeinfo
+LOCAL_LDFLAGS=-L../librc -L../libeinfo
LDADD+= -lutil -lrc -leinfo
include ../../Makefile.inc