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