version 1.6, 2010/05/30 08:28:53 |
version 1.6.6.2, 2012/04/17 00:05:12 |
|
|
|
|
USE_SHLIBDIR= yes |
USE_SHLIBDIR= yes |
|
|
CITRUS?= yes |
|
|
|
.include <bsd.own.mk> |
.include <bsd.own.mk> |
|
|
WARNS=4 |
WARNS=5 |
CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT |
CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT |
|
CPPFLAGS+= -D_DIAGNOSTIC |
|
|
.if (${USE_HESIOD} != "no") |
.if (${USE_HESIOD} != "no") |
CPPFLAGS+= -DHESIOD |
CPPFLAGS+= -DHESIOD |
|
|
CPPFLAGS+= -DYP |
CPPFLAGS+= -DYP |
.endif |
.endif |
|
|
.if ${MACHINE_ARCH} == "i386" |
|
# Set lint to exit on warnings |
# Set lint to exit on warnings |
LINTFLAGS+= -w |
LINTFLAGS+= -w |
.endif |
|
# ignore 'empty translation unit' warnings. |
# ignore 'empty translation unit' warnings. |
LINTFLAGS+= -X 272 |
LINTFLAGS+= -X 272 |
|
|
Line 53 LINTFLAGS+= -X 272 |
|
Line 50 LINTFLAGS+= -X 272 |
|
|
|
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR} |
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR} |
AFLAGS+= -I${ARCHDIR} |
AFLAGS+= -I${ARCHDIR} |
.if defined(DESTDIR) |
|
AFLAGS+= -nostdinc -isystem ${DESTDIR}/usr/include |
|
.endif |
|
CLEANFILES+= tags |
CLEANFILES+= tags |
|
|
# Don't try to lint the C library against itself when creating llib-lc.ln |
# Don't try to lint the C library against itself when creating llib-lc.ln |