freebsd-dev/usr.bin/cxxfilt/Makefile
Ed Maste c0e5e7f3d2 Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchain
This produces a nicer path in debug info and build logs.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2016-04-18 13:13:59 +00:00

18 lines
253 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
SRCDIR= ${ELFTCDIR}/cxxfilt
.PATH: ${SRCDIR}
PROG= c++filt
SRCS= cxxfilt.c
LIBADD= elftc
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
.include <bsd.prog.mk>