| @@ -1,16 +1,17 @@ | | | @@ -1,16 +1,17 @@ |
1 | # $NetBSD: Makefile.inc,v 1.8 2014/01/12 15:26:30 tsutsui Exp $ | | 1 | # $NetBSD: Makefile.inc,v 1.9 2016/07/21 18:50:21 christos Exp $ |
2 | | | 2 | |
3 | BINDIR= /usr/mdec | | 3 | BINDIR= /usr/mdec |
| | | 4 | NOPIE=yes |
4 | | | 5 | |
5 | # if there is a 'version' file, add rule for vers.c and add it to SRCS | | 6 | # if there is a 'version' file, add rule for vers.c and add it to SRCS |
6 | # and CLEANFILES | | 7 | # and CLEANFILES |
7 | .if exists(version) | | 8 | .if exists(version) |
8 | .PHONY: vers.c | | 9 | .PHONY: vers.c |
9 | vers.c: version | | 10 | vers.c: version |
10 | ${_MKTARGET_CREATE} | | 11 | ${_MKTARGET_CREATE} |
11 | ${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \ | | 12 | ${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \ |
12 | ${.CURDIR}/version ${MACHINE} | | 13 | ${.CURDIR}/version ${MACHINE} |
13 | SRCS+= vers.c | | 14 | SRCS+= vers.c |
14 | CLEANFILES+= vers.c | | 15 | CLEANFILES+= vers.c |
15 | .endif | | 16 | .endif |
16 | | | 17 | |