summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/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/net/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/net/Makefile.inc')
-rw-r--r--lib/libc/net/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index 6b735fb..8144f40 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -37,7 +37,9 @@ nslexer.c: nslexer.l nsparser.h
sed -e '/YY_BUF_SIZE/s/16384/1024/' >${.TARGET}
# machine-dependent net sources
+.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/net/Makefile.inc)
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/net/Makefile.inc"
+.endif
.if ${LIB} == "c"
MAN+= addr2ascii.3 byteorder.3 ethers.3 getaddrinfo.3 gethostbyname.3 \
OpenPOWER on IntegriCloud