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