1# $FreeBSD$ 2 3.include "../../Makefile.inc" 4 5PROG= ctfdump 6 7SRCS= dump.c \ 8 symbol.c \ 9 utils.c 10 11WARNS?= 6 12 13CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \ 14 -I${OPENSOLARIS_SYS_DISTDIR} \ 15 -I${OPENSOLARIS_USR_DISTDIR}/head \ 16 -I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \ 17 -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 18 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ 19 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 20 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 21 22LDFLAGS+= -pthread 23 24LDADD+= -lelf -lz 25 26.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common 27.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/dump 28 29NO_MAN= 30 31.include <bsd.prog.mk> 32