mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
85626903d5
commit
562cbd7bcd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312503
|
@ -10,7 +10,7 @@ SHLIBDIR?= /lib
|
||||||
SHLIB_MAJOR= 5
|
SHLIB_MAJOR= 5
|
||||||
LIB= crypt
|
LIB= crypt
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../libmd ${.CURDIR}/../../sys/crypto/sha2
|
.PATH: ${SRCTOP}/lib/libmd ${SRCTOP}/sys/crypto/sha2
|
||||||
SRCS= crypt.c misc.c \
|
SRCS= crypt.c misc.c \
|
||||||
crypt-md5.c md5c.c \
|
crypt-md5.c md5c.c \
|
||||||
crypt-nthash.c md4c.c \
|
crypt-nthash.c md4c.c \
|
||||||
|
@ -19,12 +19,12 @@ SRCS= crypt.c misc.c \
|
||||||
MAN= crypt.3
|
MAN= crypt.3
|
||||||
MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_r.3 \
|
MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_r.3 \
|
||||||
crypt.3 crypt_set_format.3
|
crypt.3 crypt_set_format.3
|
||||||
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil \
|
CFLAGS+= -I${SRCTOP}/lib/libmd -I${SRCTOP}/lib/libutil \
|
||||||
-I${.CURDIR}/../../sys/crypto/sha2
|
-I${SRCTOP}/sys/crypto/sha2
|
||||||
|
|
||||||
# Pull in the strong crypto, if it is present.
|
# Pull in the strong crypto, if it is present.
|
||||||
.if exists(${.CURDIR}/../../secure/lib/libcrypt) && ${MK_CRYPT} != "no"
|
.if exists(${SRCTOP}/secure/lib/libcrypt) && ${MK_CRYPT} != "no"
|
||||||
.PATH: ${.CURDIR}/../../secure/lib/libcrypt
|
.PATH: ${SRCTOP}/secure/lib/libcrypt
|
||||||
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
||||||
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
|
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue