Home | History | Annotate | Line # | Download | only in conf
newvers.mk revision 1.2
      1  1.2  christos # $NetBSD: newvers.mk,v 1.2 2017/04/08 18:24:09 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.1  uebayasi 	${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS}
     21  1.1  uebayasi 	${_MKTARGET_COMPILE}
     22  1.1  uebayasi 	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
     23  1.1  uebayasi 	${COMPILE_CTFCONVERT}
     24  1.1  uebayasi .endif
     25