2ed296697c
issues with vendors that needed 7.x support have been resolved. Many vendors are still using 8.x build platforms, however, so bumping this up to 9.0 will have to wait until that is resolved. Actual support for building from 8.x still relies on those vendors fixing bugs that are present as most developers have moved onto 9.x or newer platforms. Reviewed by: marcel@
37 lines
719 B
Makefile
37 lines
719 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../include
|
|
|
|
LIB= egacy
|
|
SRC=
|
|
INCSGROUPS= INCS
|
|
INCS=
|
|
|
|
BOOTSTRAPPING?= 0
|
|
|
|
_WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/pwd.h || true
|
|
.if ${_WITH_PWCACHEDB} == 0
|
|
.PATH: ${.CURDIR}/../../contrib/libc-pwcache
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/libc-pwcache \
|
|
-I${.CURDIR}/../../lib/libc/include
|
|
SRCS+= pwcache.c
|
|
.endif
|
|
|
|
_WITH_STRSVIS!= grep -c strsvis /usr/include/vis.h || true
|
|
.if ${_WITH_STRSVIS} == 0
|
|
.PATH: ${.CURDIR}/../../contrib/libc-vis
|
|
SRCS+= vis.c
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/libc-vis \
|
|
-I${.CURDIR}/../../lib/libc/include
|
|
.endif
|
|
|
|
.if empty(SRCS)
|
|
SRCS= dummy.c
|
|
.endif
|
|
|
|
.if defined(CROSS_BUILD_TESTING)
|
|
SUBDIR= cross-build
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|