Allow MD standalone Makefiles overriding MI libsa settings

by SA_EXTRADIR variable passed via SAMISCMAKEFLAGS.
This commit is contained in:
tsutsui 2009-03-20 11:31:30 +00:00
parent e77db3f765
commit 9d27968892
1 changed files with 5 additions and 1 deletions

View File

@ -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