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