summaryrefslogtreecommitdiff
path: root/lib/libc/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-04 22:52:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-04 22:52:12 +0000
commitc16bf4a0396a8172d77e060332139043e4035240 (patch)
tree3e0826cfc227cdb2fbd0a56945da60b8afbe51a1 /lib/libc/Makefile
parent06bac5bee8932a6ff7b0f4046144858d434d8526 (diff)
permit YP to be compiled out using flag in bsd.own.mk; pr#15, peter@demon.net
Diffstat (limited to 'lib/libc/Makefile')
-rw-r--r--lib/libc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index f1b82451542..3f0342d7744 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1996/08/19 08:10:10 tholo Exp $
+# $OpenBSD: Makefile,v 1.7 1996/09/04 22:52:00 deraadt Exp $
#
# All library objects contain sccsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@@ -14,7 +14,10 @@
# actually call the YP functions, put -DYP on the CFLAGS line below.
LIB=c
-CFLAGS+=-DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/include
+CFLAGS+=-DNLS -DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/include
+.if defined(YP)
+CFLAGS+=-DYP
+.endif
LINTFLAGS=-z
LLIBS=
AINC= -I${.CURDIR}/arch/${MACHINE_ARCH}
@@ -48,7 +51,9 @@ CLEANFILES+=tags
.include "${.CURDIR}/termios/Makefile.inc"
.include "${.CURDIR}/time/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
+.if defined(YP)
.include "${.CURDIR}/yp/Makefile.inc"
+.endif
NLS= C.msg Pig.msg de.msg es.msg fr.msg