diff options
Diffstat (limited to 'cddl/usr.bin/ctfdump/Makefile')
-rw-r--r-- | cddl/usr.bin/ctfdump/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cddl/usr.bin/ctfdump/Makefile b/cddl/usr.bin/ctfdump/Makefile new file mode 100644 index 0000000..9a65c15 --- /dev/null +++ b/cddl/usr.bin/ctfdump/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +.include "../../Makefile.inc" + +PROG= ctfdump + +SRCS= dump.c \ + symbol.c \ + utils.c + +WARNS?= 6 + +CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \ + -I${OPENSOLARIS_SYS_DISTDIR} \ + -I${OPENSOLARIS_USR_DISTDIR}/head \ + -I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \ + -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ + -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ + -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ + -I${OPENSOLARIS_SYS_DISTDIR}/uts/common + +LDFLAGS+= -pthread + +LDADD+= -lelf -lz + +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common +.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/dump + +NO_MAN= + +.include <bsd.prog.mk> |