mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
llvm-strings: Install as strings when WITH_LLVM_BINUTILS=YES
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D32065
This commit is contained in:
parent
5d3e7166f6
commit
81fa5c4a82
|
@ -144,7 +144,6 @@ SUBDIR= alias \
|
|||
split \
|
||||
stat \
|
||||
stdbuf \
|
||||
strings \
|
||||
su \
|
||||
systat \
|
||||
tail \
|
||||
|
@ -258,6 +257,7 @@ SUBDIR.${MK_TOOLCHAIN}+= nm
|
|||
SUBDIR.${MK_TOOLCHAIN}+= objcopy
|
||||
SUBDIR.${MK_TOOLCHAIN}+= readelf
|
||||
SUBDIR.${MK_TOOLCHAIN}+= size
|
||||
SUBDIR+= strings
|
||||
.endif
|
||||
SUBDIR.${MK_TOOLCHAIN}+= c89
|
||||
SUBDIR.${MK_TOOLCHAIN}+= c99
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PROG_CXX= llvm-strings
|
||||
|
||||
SRCDIR= llvm/tools/llvm-strings
|
||||
|
@ -21,4 +23,9 @@ DEPENDFILES+= ${TGHDRS:C/$/.d/}
|
|||
DPSRCS+= ${TGHDRS}
|
||||
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
|
||||
|
||||
.if ${MK_LLVM_BINUTILS} != "no"
|
||||
LINKS+= ${BINDIR}/llvm-strings ${BINDIR}/strings
|
||||
MLINKS+= llvm-strings.1 strings.1
|
||||
.endif
|
||||
|
||||
.include "../llvm.prog.mk"
|
||||
|
|
Loading…
Reference in a new issue