1# $NetBSD: newvers.mk,v 1.2 2017/04/08 18:24:09 christos Exp $ 2 3MKREPRO?=no 4 5.if ${MKREPRO} == "yes" 6. if ${MKREPRO_TIMESTAMP:U0} != 0 7_NVFLAGS=${NVFLAGS} -r ${MKREPRO_TIMESTAMP} -i ${KERNEL_BUILD:T} -m ${MACHINE} 8. else 9_NVFLAGS=${NVFLAGS} -R 10. endif 11.else 12_NVFLAGS=${NVFLAGS} 13.endif 14 15.if !target(vers.o) 16newvers: vers.o 17vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \ 18 $S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS} 19 ${_MKMSG_CREATE} vers.c 20 ${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS} 21 ${_MKTARGET_COMPILE} 22 ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c 23 ${COMPILE_CTFCONVERT} 24.endif 25