Changeset View
Changeset View
Standalone View
Standalone View
head/tools/build/Makefile
Show All 35 Lines | |||||
.endif | .endif | ||||
_WITH_UTIMENS!= grep -c utimensat /usr/include/sys/stat.h || true | _WITH_UTIMENS!= grep -c utimensat /usr/include/sys/stat.h || true | ||||
.if ${_WITH_UTIMENS} == 0 | .if ${_WITH_UTIMENS} == 0 | ||||
SYSINCS+= stat.h | SYSINCS+= stat.h | ||||
SRCS+= futimens.c utimensat.c | SRCS+= futimens.c utimensat.c | ||||
.endif | .endif | ||||
_WITH_EXPLICIT_BZERO!= grep -c explicit_bzero /usr/include/strings.h || true | |||||
.if ${_WITH_EXPLICIT_BZERO} == 0 | |||||
.PATH: ${SRCTOP}/sys/libkern | |||||
INCS+= strings.h | |||||
SRCS+= explicit_bzero.c | |||||
.endif | |||||
.if empty(SRCS) | .if empty(SRCS) | ||||
SRCS= dummy.c | SRCS= dummy.c | ||||
.endif | .endif | ||||
.if defined(CROSS_BUILD_TESTING) | .if defined(CROSS_BUILD_TESTING) | ||||
SUBDIR= cross-build | SUBDIR= cross-build | ||||
.endif | .endif | ||||
# Needed to build config (since it uses libnv) | # Needed to build config (since it uses libnv) | ||||
SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h | SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |