1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common 4.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/cvt 5 6PROG= ctfconvert 7SRCS= alist.c \ 8 ctf.c \ 9 ctfconvert.c \ 10 dwarf.c \ 11 fixup_tdescs.c \ 12 hash.c \ 13 iidesc.c \ 14 input.c \ 15 list.c \ 16 memory.c \ 17 merge.c \ 18 output.c \ 19 st_parse.c \ 20 stabs.c \ 21 stack.c \ 22 strtab.c \ 23 symbol.c \ 24 tdata.c \ 25 traverse.c \ 26 util.c 27 28CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 29 -I${SRCTOP}/cddl/compat/opensolaris/include \ 30 -I${OPENSOLARIS_USR_DISTDIR} \ 31 -I${OPENSOLARIS_SYS_DISTDIR} \ 32 -I${OPENSOLARIS_USR_DISTDIR}/head \ 33 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 34 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ 35 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 36 37LIBADD= dwarf elf z pthread 38 39.include <bsd.prog.mk> 40