mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
3194293903
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224
31 lines
740 B
Makefile
31 lines
740 B
Makefile
# $FreeBSD$
|
|
.include <bsd.own.mk>
|
|
|
|
INTERNALLIB=
|
|
|
|
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
|
|
|
.PATH: ${ELFTCDIR}/libelftc
|
|
|
|
LIB= elftc
|
|
|
|
SRCS= elftc_bfdtarget.c \
|
|
elftc_copyfile.c \
|
|
elftc_demangle.c \
|
|
elftc_set_timestamps.c \
|
|
elftc_string_table.c \
|
|
elftc_version.c \
|
|
libelftc_bfdtarget.c \
|
|
libelftc_dem_arm.c \
|
|
libelftc_dem_gnu2.c \
|
|
libelftc_dem_gnu3.c \
|
|
libelftc_hash.c \
|
|
libelftc_vstr.c
|
|
|
|
INCS= libelftc.h
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
NO_MAN= yes
|
|
|
|
.include <bsd.lib.mk>
|