aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2001-07-31 16:34:52 +0000
committerMark Peek <mp@FreeBSD.org>2001-07-31 16:34:52 +0000
commit545d32087be62906a7ba21a71bb3ea5be6e78346 (patch)
tree35ccbe1931f185c37b5f982c8567157e6f933c06 /lib/libc/string/Makefile.inc
parent904cc0c45ce86e540d26fe47c7067176306aa912 (diff)
Only pull in the MD files if they exist. This allows for progressive
implementation and compilation when bringing up a new architecture.
Notes
svn path=/head/; revision=80743
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r--lib/libc/string/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index e75bb6593387..9c9f369825db 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -18,7 +18,9 @@ MISRCS+=bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \
# machine-dependent string sources
+.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/string/Makefile.inc)
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/string/Makefile.inc"
+.endif
.if ${LIB} == "c"
MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \