mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
Also, use :H where possible/sensical to manipulate .CURDIR-relative paths This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
450ba47a5d
commit
40a54564e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314468
|
@ -1,3 +1,3 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
.include "${SRCTOP}/usr.sbin/Makefile.inc"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/tzcode/zic
|
||||
.PATH: ${SRCTOP}/contrib/tzcode/zic
|
||||
|
||||
PROG= zdump
|
||||
MAN= zdump.8
|
||||
|
@ -8,7 +8,7 @@ SRCS= zdump.c ialloc.c scheck.c
|
|||
|
||||
CFLAGS+= -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS
|
||||
CFLAGS+= -DHAVE_LONG_DOUBLE -DTZDIR=\"${SHAREDIR}/zoneinfo\" -Demkdir=mkdir
|
||||
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../contrib/tzcode/stdtime
|
||||
CFLAGS+= -I${.CURDIR:H} -I${SRCTOP}/contrib/tzcode/stdtime
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/tzcode/zic
|
||||
.PATH: ${SRCTOP}/contrib/tzcode/zic
|
||||
|
||||
PROG= zic
|
||||
MAN= zic.8
|
||||
|
@ -9,7 +9,7 @@ SRCS= zic.c ialloc.c scheck.c
|
|||
CFLAGS+= -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS
|
||||
CFLAGS+= -DHAVE_LONG_DOUBLE -DTZDIR=\"${SHAREDIR}/zoneinfo\" -Demkdir=mkdir
|
||||
CFLAGS+= -DHAVE_STRERROR -DHAVE_UNISTD_H
|
||||
CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR}/../../../contrib/tzcode/stdtime
|
||||
CFLAGS+= -I${.CURDIR:H} -I${SRCTOP}/contrib/tzcode/stdtime
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
|
|
Loading…
Reference in a new issue