1 2.if !target(__<src.init.mk>__) 3__<src.init.mk>__: 4 5.if !target(buildenv) 6buildenv: .PHONY 7 ${_+_}@env BUILDENV_DIR=${.CURDIR} ${MAKE} -C ${SRCTOP} buildenv 8.endif 9 10.if ${MACHINE:Nhost*} == "" 11.if ${.MAKE.OS} != "FreeBSD" 12# these won't work anyway - see tools/build/mk/Makefile.boot.pre 13MK_DEBUG_FILES= no 14MK_MAN= no 15MK_PIE= no 16MK_RETPOLINE= no 17NO_SHARED= no 18MK_TESTS= no 19 20.-include <src.init.${.MAKE.OS:tl}.mk> 21 22CFLAGS+= \ 23 -DHAVE_NBTOOL_CONFIG_H=1 \ 24 -I${SRCTOP}/tools/build/cross-build/include/common \ 25 26.endif 27 28.if ${MK_host_egacy} == "yes" 29.ifdef PROG 30LOCAL_LIBRARIES+= egacy 31LIBADD+= egacy 32.endif 33.endif 34 35.endif 36 37.endif # !target(__<src.init.mk>__) 38