Add _LIBC to the set of preprocessor symbols defined in the libc build

environment; used by source files shared with other parts of the userland
to determine whether certain conventions need to be obeyed or not.
This commit is contained in:
kleink 1998-10-14 19:19:32 +00:00
parent 886f927ec6
commit 81fe96fbf1

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.76 1998/08/04 05:55:56 perry Exp $ # $NetBSD: Makefile,v 1.77 1998/10/14 19:19:32 kleink Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94 # @(#)Makefile 8.2 (Berkeley) 2/3/94
# #
# All library objects contain sccsid strings by default; they may be # All library objects contain sccsid strings by default; they may be
@ -15,7 +15,7 @@
# actually call the YP functions, put -DYP on the CPPFLAGS line below. # actually call the YP functions, put -DYP on the CPPFLAGS line below.
LIB=c LIB=c
CPPFLAGS+=-DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT CPPFLAGS+=-D_LIBC -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
CPPFLAGS+=-I${.CURDIR}/include CPPFLAGS+=-I${.CURDIR}/include
AINC= -I${.CURDIR}/arch/${MACHINE_ARCH} AINC= -I${.CURDIR}/arch/${MACHINE_ARCH}
.if defined(DESTDIR) .if defined(DESTDIR)