1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +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:
Enji Cooper 2017-01-20 04:54:21 +00:00
parent b18d12ba9e
commit dc2cbb8328
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312511

View File

@ -94,7 +94,7 @@ CLEANFILES= ${GENSRCS}
CLEANDIRS= sys CLEANDIRS= sys
CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common -I${ELFTCDIR}/libelf CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common -I${ELFTCDIR}/libelf
sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
mkdir -p ${.OBJDIR}/sys mkdir -p ${.OBJDIR}/sys
ln -sf ${.ALLSRC} ${.TARGET} ln -sf ${.ALLSRC} ${.TARGET}