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
This commit is contained in:
parent
7b1d98105e
commit
fefb324657
@ -78,11 +78,11 @@ CLEANFILES+= md[245]hl.c md[245].ref md[245].3 mddriver \
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user