diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-03-01 04:54:06 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-03-01 04:54:06 +0000 |
commit | af6a5351a1fdb1130f18be6c782c4d48916eb971 (patch) | |
tree | e287f89cf51e82d12bdebbb0d88817a4231dc1d4 /usr.sbin/ntp/libntpevent | |
parent | 7d85b06ecf4ca7449d84e71ced419b988c7dca12 (diff) | |
download | src-af6a5351a1fdb1130f18be6c782c4d48916eb971.tar.gz src-af6a5351a1fdb1130f18be6c782c4d48916eb971.zip |
Simplify/improve idioms in usr.sbin/ntp Makefiles
- Use SRCTOP-relative paths to other directories instead of
.CURDIR-relative ones. This simplifies pathing in make/displayed output.
- Also, use :H where possible/sensical to manipulate .CURDIR-relative
paths
- Remove superfluous bsd.own.mk .includes which are already handled via
src.opts.mk .includes
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=314472
Diffstat (limited to 'usr.sbin/ntp/libntpevent')
-rw-r--r-- | usr.sbin/ntp/libntpevent/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ntp/libntpevent/Makefile b/usr.sbin/ntp/libntpevent/Makefile index b912ed804a34..3c42373eaf77 100644 --- a/usr.sbin/ntp/libntpevent/Makefile +++ b/usr.sbin/ntp/libntpevent/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/ntp/sntp/libevent +.PATH: ${SRCTOP}/contrib/ntp/sntp/libevent LIB= ntpevent INTERNALLIB= @@ -25,8 +25,8 @@ NTP_ATOMIC=sparc64 NTP_ATOMIC=noatomic .endif -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ - -I${.CURDIR}/../../../contrib/ntp/sntp/libevent/include \ +CFLAGS+= -I${SRCTOP}/contrib/ntp/include \ + -I${SRCTOP}/contrib/ntp/sntp/libevent/include \ -I${.CURDIR}/ CFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H |