summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/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/gen/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/gen/Makefile.inc')
-rw-r--r--lib/libc/gen/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 47a137f..4d2806b 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -32,7 +32,9 @@ SRCS+= __xuname.c _pthread_stubs.c _rand48.c _spinlock_stub.c _thread_init.c \
wait.c wait3.c waitpid.c
# machine-dependent gen sources
+.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/gen/Makefile.inc)
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/gen/Makefile.inc"
+.endif
.if ${LIB} == "c"
MAN+= alarm.3 arc4random.3 clock.3 \
OpenPOWER on IntegriCloud