summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
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/stdlib
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/stdlib')
-rw-r--r--lib/libc/stdlib/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index 9a96360..e38704a 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -21,7 +21,9 @@ SRCS+= strtod.c
.endif
# machine-dependent stdlib sources
+.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc)
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc"
+.endif
.if ${LIB} == "c"
MAN+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
OpenPOWER on IntegriCloud