1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common 4.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt 5 6PROG= ctfmerge 7NO_MAN= 8SRCS= alist.c \ 9 barrier.c \ 10 ctf.c \ 11 ctfmerge.c \ 12 fifo.c \ 13 hash.c \ 14 iidesc.c \ 15 input.c \ 16 list.c \ 17 memory.c \ 18 merge.c \ 19 output.c \ 20 strtab.c \ 21 symbol.c \ 22 tdata.c \ 23 traverse.c \ 24 util.c 25 26WARNS?= 1 27 28CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 29 -I${.CURDIR}/../../../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 37DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} 38LDADD= -lctf -ldwarf -lelf -lz -lpthread 39 40.include <bsd.prog.mk> 41