Replace afterinstall: hack with FILES mechanism.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
b6ad36706d
commit
3adbeacc66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287983
@ -45,6 +45,12 @@ LDADD= ${DPADD}
|
|||||||
CLEANDIRS+= ldscripts
|
CLEANDIRS+= ldscripts
|
||||||
CLEANFILES+= ldemul-list.h stringify.sed
|
CLEANFILES+= ldemul-list.h stringify.sed
|
||||||
|
|
||||||
|
FILES= ${LDSCRIPTS:S|^|ldscripts/|}
|
||||||
|
FILESOWN= ${LIBOWN}
|
||||||
|
FILESGRP= ${LIBGRP}
|
||||||
|
FILESMODE= ${LIBMODE}
|
||||||
|
FILESDIR= ${SCRIPTDIR}
|
||||||
|
|
||||||
HOST= ${TARGET_TUPLE}
|
HOST= ${TARGET_TUPLE}
|
||||||
LIBSEARCHPATH= \"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\"
|
LIBSEARCHPATH= \"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\"
|
||||||
ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
|
ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
|
||||||
@ -66,10 +72,6 @@ ldemul-list.h:
|
|||||||
stringify.sed:
|
stringify.sed:
|
||||||
ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}
|
ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}
|
||||||
|
|
||||||
afterinstall:
|
|
||||||
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
||||||
${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
|
|
||||||
|
|
||||||
GENDIRDEPS_FILTER.host+= Nusr.bin/yacc
|
GENDIRDEPS_FILTER.host+= Nusr.bin/yacc
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user