diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-20 00:53:50 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-20 00:53:50 +0000 |
commit | 97c764f8c94a61ea9c29267d332a2cacf2bd893c (patch) | |
tree | 052c6a8b08bc1311440d99b7ff0de5888abfef26 /cddl/lib/drti/Makefile | |
parent | 6009405810445e7721f3faa706893ceba6f222d1 (diff) | |
download | FreeBSD-src-97c764f8c94a61ea9c29267d332a2cacf2bd893c.zip FreeBSD-src-97c764f8c94a61ea9c29267d332a2cacf2bd893c.tar.gz |
MFC r314654:
cddl: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
While here, remove bogus CFLAGS which look for headers in cddl/lib/libumem.
There aren't any source files there (just Makefiles)
Diffstat (limited to 'cddl/lib/drti/Makefile')
-rw-r--r-- | cddl/lib/drti/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile index b62d2c2..19cbd74 100644 --- a/cddl/lib/drti/Makefile +++ b/cddl/lib/drti/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/common +.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libdtrace/common SRCS= drti.c FILES= ${SRCS:R:S/$/.o/g} @@ -12,8 +12,8 @@ CLEANFILES= ${FILES} # These FILES qualify as libraries for the purpose of LIBRARIES_ONLY. .undef LIBRARIES_ONLY -CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ - -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ +CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ + -I${SRCTOP}/cddl/compat/opensolaris/include \ -I${OPENSOLARIS_USR_DISTDIR}/head \ -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ |