svn commit: r312496 - head/lib/libmd
Ngie Cooper
ngie at FreeBSD.org
Fri Jan 20 04:43:22 UTC 2017
Author: ngie
Date: Fri Jan 20 04:43:21 2017
New Revision: 312496
URL: https://svnweb.freebsd.org/changeset/base/312496
Log:
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libmd/Makefile
Modified: head/lib/libmd/Makefile
==============================================================================
--- head/lib/libmd/Makefile Fri Jan 20 04:42:43 2017 (r312495)
+++ head/lib/libmd/Makefile Fri Jan 20 04:43:21 2017 (r312496)
@@ -78,11 +78,11 @@ CLEANFILES+= md[245]hl.c md[245].ref md[
# in which case:
# * macros are used to rename symbols to libcrypt internal names
# * no weak aliases are generated
-CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys/crypto/sha2
-CFLAGS+= -I${.CURDIR}/../../sys/crypto/skein
+CFLAGS+= -I${.CURDIR} -I${SRCTOP}/sys/crypto/sha2
+CFLAGS+= -I${SRCTOP}/sys/crypto/skein
CFLAGS+= -DWEAK_REFS
-.PATH: ${.CURDIR}/${MACHINE_ARCH} ${.CURDIR}/../../sys/crypto/sha2
-.PATH: ${.CURDIR}/../../sys/crypto/skein ${.CURDIR}/../../sys/crypto/skein/${MACHINE_ARCH}
+.PATH: ${.CURDIR}/${MACHINE_ARCH} ${SRCTOP}/sys/crypto/sha2
+.PATH: ${SRCTOP}/sys/crypto/skein ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH}
.if exists(${MACHINE_ARCH}/sha.S)
SRCS+= sha.S
More information about the svn-src-all
mailing list