c79f6538fe
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>
|