From 9d2796889267083d07084c47084fa80ec5cf71d5 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Fri, 20 Mar 2009 11:31:30 +0000 Subject: [PATCH] Allow MD standalone Makefiles overriding MI libsa settings by SA_EXTRADIR variable passed via SAMISCMAKEFLAGS. --- sys/lib/libsa/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile index 78eebb28a25c..9739919838ea 100644 --- a/sys/lib/libsa/Makefile +++ b/sys/lib/libsa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2008/08/29 00:02:24 gmcgarry Exp $ +# $NetBSD: Makefile,v 1.68 2009/03/20 11:31:30 tsutsui Exp $ LIB= sa NOPIC= # defined @@ -14,6 +14,10 @@ CPPFLAGS= -I${SADIR} ${SACPPFLAGS} ${SAMISCCPPFLAGS} \ #COPTS+= -ansi -pedantic -Wall +.if defined(SA_EXTRADIR) +.-include "${SA_EXTRADIR}/Makefile.inc" +.endif + .PATH.c: ${SADIR} ${.PARSEDIR}/../../../common/lib/libc/string # stand routines