1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common 4.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt 5 6DEBUG_FLAGS= -g 7 8PROG= ctfconvert 9NO_MAN= 10SRCS= alist.c \ 11 ctf.c \ 12 ctfconvert.c \ 13 dwarf.c \ 14 fixup_tdescs.c \ 15 hash.c \ 16 iidesc.c \ 17 input.c \ 18 list.c \ 19 memory.c \ 20 merge.c \ 21 output.c \ 22 st_parse.c \ 23 stabs.c \ 24 stack.c \ 25 strtab.c \ 26 symbol.c \ 27 tdata.c \ 28 traverse.c \ 29 util.c 30 31CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 32 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ 33 -I${OPENSOLARIS_USR_DISTDIR} \ 34 -I${OPENSOLARIS_SYS_DISTDIR} \ 35 -I${OPENSOLARIS_USR_DISTDIR}/head \ 36 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 37 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ 38 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 39 40DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} 41LDADD= -lctf -ldwarf -lelf -lz -lpthread 42 43.include <bsd.prog.mk> 44