summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-07-31 16:34:52 +0000
committermp <mp@FreeBSD.org>2001-07-31 16:34:52 +0000
commit815111597373d30225ba41fa23b22acbaa0a3403 (patch)
tree35ccbe1931f185c37b5f982c8567157e6f933c06 /lib/libc/string/Makefile.inc
parentbee43330be72b370afc45a2cc59ef061a16cc349 (diff)
downloadFreeBSD-src-815111597373d30225ba41fa23b22acbaa0a3403.zip
FreeBSD-src-815111597373d30225ba41fa23b22acbaa0a3403.tar.gz
Only pull in the MD files if they exist. This allows for progressive
implementation and compilation when bringing up a new architecture.
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 e75bb65..9c9f369 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 \
OpenPOWER on IntegriCloud