Use SRCTOP instead of spelling out the full path with .CURDIR

This helps condense the output for CFLAGS and .PATH

MFC after:	3 days
This commit is contained in:
Enji Cooper 2017-01-09 03:08:21 +00:00
parent 8adb836cda
commit 306324d7f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311739
7 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
CONTRIB= ${.CURDIR}/../../../../contrib/ngatm
CONTRIB= ${SRCTOP}/contrib/ngatm
.PATH: ${CONTRIB}/snmp_atm
MOD= atm

View File

@ -2,7 +2,7 @@
.include <src.opts.mk>
.PATH: ${.CURDIR}/../../../../sbin/hastd
.PATH: ${SRCTOP}/sbin/hastd
MOD= hast
SRCS= ebuf.c
@ -18,7 +18,7 @@ MAN= snmp_hast.3
NO_WFORMAT=
NO_WCAST_ALIGN=
NO_WMISSING_VARIABLE_DECLARATIONS=
CFLAGS+=-I${.CURDIR}/../../../../sbin/hastd
CFLAGS+=-I${SRCTOP}/sbin/hastd
CFLAGS+=-DHAVE_CAPSICUM
CFLAGS+=-DINET
.if ${MK_INET6_SUPPORT} != "no"

View File

@ -28,7 +28,7 @@
# $FreeBSD$
#
LPRSRC= ${.CURDIR}/../../../lpr/common_source
LPRSRC= ${SRCTOP}/usr.sbin/lpr/common_source
.PATH: ${LPRSRC}
MOD= hostres

View File

@ -2,7 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
CONTRIB= ${SRCTOP}/contrib/bsnmp
.PATH: ${CONTRIB}/snmp_mibII
MOD= mibII

View File

@ -2,7 +2,7 @@
#
# Author: Shteryana Shopova <syrinx@freebsd.org>
CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
CONTRIB= ${SRCTOP}/contrib/bsnmp
.PATH: ${CONTRIB}/snmp_target
MOD= target

View File

@ -2,7 +2,7 @@
#
# Author: Shteryana Shopova <syrinx@freebsd.org>
CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
CONTRIB= ${SRCTOP}/contrib/bsnmp
.PATH: ${CONTRIB}/snmp_usm
MOD= usm

View File

@ -2,7 +2,7 @@
#
# Author: Shteryana Shopova <syrinx@freebsd.org>
CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
CONTRIB= ${SRCTOP}/contrib/bsnmp
.PATH: ${CONTRIB}/snmp_vacm
MOD= vacm