Home | History | Annotate | Line # | Download | only in conf
newvers.mk revision 1.1.6.1
      1  1.1.6.1    bouyer # $NetBSD: newvers.mk,v 1.1.6.1 2017/04/21 16:53:44 bouyer Exp $
      2      1.1  uebayasi 
      3      1.1  uebayasi MKREPRO?=no
      4      1.1  uebayasi 
      5      1.1  uebayasi .if ${MKREPRO} == "yes"
      6  1.1.6.1    bouyer .	if ${MKREPRO_TIMESTAMP:U0} != 0
      7  1.1.6.1    bouyer _NVFLAGS=${NVFLAGS} -r ${MKREPRO_TIMESTAMP} -i ${KERNEL_BUILD:T} -m ${MACHINE}
      8  1.1.6.1    bouyer .	else
      9  1.1.6.1    bouyer _NVFLAGS=${NVFLAGS} -R
     10  1.1.6.1    bouyer .	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