Home | History | Annotate | Line # | Download | only in conf
newvers.mk revision 1.1.2.2
      1 # $NetBSD: newvers.mk,v 1.1.2.2 2015/09/22 12:05:56 skrll Exp $
      2 
      3 MKREPRO?=no
      4 
      5 .if ${MKREPRO} == "yes"
      6 _NVFLAGS=${NVFLAGS} -r
      7 .else
      8 _NVFLAGS=${NVFLAGS}
      9 .endif
     10 
     11 .if !target(vers.o)
     12 newvers: vers.o
     13 vers.o: ${SYSTEM_OBJ:O} Makefile $S/conf/newvers.sh \
     14 		$S/conf/osrelease.sh ${_NETBSD_VERSION_DEPENDS}
     15 	${_MKMSG_CREATE} vers.c
     16 	${HOST_SH} $S/conf/newvers.sh ${_NVFLAGS}
     17 	${_MKTARGET_COMPILE}
     18 	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
     19 	${COMPILE_CTFCONVERT}
     20 .endif
     21