version 1.98.2.5, 2002/03/08 21:34:43 |
version 1.98.2.6, 2002/03/22 20:41:49 |
|
|
# The Hesiod functions are always in libc. To choose that getpwent() and friends |
# The Hesiod functions are always in libc. To choose that getpwent() and friends |
# actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below. |
# actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below. |
|
|
|
.include <bsd.own.mk> |
|
|
LIB= c |
LIB= c |
USE_SHLIBDIR= yes |
USE_SHLIBDIR= yes |
CPPFLAGS+= -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS \ |
CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT |
-D_REENTRANT -I${.CURDIR}/include |
CPPFLAGS+= -I${.CURDIR}/include |
|
|
|
.if (${USE_HESIOD} != "no") |
|
CPPFLAGS+= -DHESIOD |
|
.endif |
|
|
CPPFLAGS+= -DINET6 |
CPPFLAGS+= -DINET6 |
|
CPPFLAGS+= -DNLS |
|
|
LDADD+= -lsyscall |
.if (${USE_YP} != "no") |
|
CPPFLAGS+= -DYP |
|
.endif |
|
|
.include <bsd.own.mk> |
LDADD+= -lsyscall |
|
|
.if ${MACHINE_ARCH} == "i386" |
.if ${MACHINE_ARCH} == "i386" |
# Set lint to exit on warnings |
# Set lint to exit on warnings |
Line 67 INCSDIR= /usr/include |
|
Line 77 INCSDIR= /usr/include |
|
.include "${.CURDIR}/gen/Makefile.inc" |
.include "${.CURDIR}/gen/Makefile.inc" |
.include "${.CURDIR}/gmon/Makefile.inc" |
.include "${.CURDIR}/gmon/Makefile.inc" |
.include "${.CURDIR}/hash/Makefile.inc" |
.include "${.CURDIR}/hash/Makefile.inc" |
|
.include "${.CURDIR}/citrus/Makefile.inc" |
.include "${.CURDIR}/locale/Makefile.inc" |
.include "${.CURDIR}/locale/Makefile.inc" |
.include "${.CURDIR}/md/Makefile.inc" |
.include "${.CURDIR}/md/Makefile.inc" |
.include "${.CURDIR}/net/Makefile.inc" |
.include "${.CURDIR}/net/Makefile.inc" |
Line 83 INCSDIR= /usr/include |
|
Line 94 INCSDIR= /usr/include |
|
.include "${.CURDIR}/thread-stub/Makefile.inc" |
.include "${.CURDIR}/thread-stub/Makefile.inc" |
.include "${.CURDIR}/time/Makefile.inc" |
.include "${.CURDIR}/time/Makefile.inc" |
.include "${.CURDIR}/sys/Makefile.inc" |
.include "${.CURDIR}/sys/Makefile.inc" |
|
.if (${MKYP} != "no") |
.include "${.CURDIR}/yp/Makefile.inc" |
.include "${.CURDIR}/yp/Makefile.inc" |
|
.endif |
|
|
NLS= C.msg Pig.msg cs.msg de.msg es.msg fi.msg fr.msg nl.msg no.msg \ |
NLS= C.msg Pig.msg cs.msg de.msg es.msg fi.msg fr.msg nl.msg no.msg \ |
sv.msg pl.msg |
sv.msg pl.msg |
Line 140 FILESDIR= /var/db |
|
Line 153 FILESDIR= /var/db |
|
|
|
.include <bsd.lib.mk> |
.include <bsd.lib.mk> |
|
|
# workaround for lib/libc/locale: build singlebyte setlocale() for libc.a, |
# workaround for I18N stuffs: build singlebyte setlocale() for libc.a, |
# multibyte for libc.so. the quirk should be removed when we support |
# multibyte for libc.so. the quirk should be removed when we support |
# dlopen() from within statically linked binaries. |
# dlopen() from within statically linked binaries. |
CPICFLAGS+= -DDLRUNE |
CPICFLAGS+= -D_I18N_DYNAMIC |