1179200Sjb# $FreeBSD: releng/10.2/cddl/usr.bin/ctfconvert/Makefile 211187 2010-08-11 18:00:45Z rpaulo $ 2179200Sjb 3204597Suqs.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common 4204597Suqs.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt 5179200Sjb 6179200SjbDEBUG_FLAGS= -g 7179200Sjb 8179200SjbPROG= ctfconvert 9179200SjbSRCS= alist.c \ 10179200Sjb ctf.c \ 11179200Sjb ctfconvert.c \ 12179200Sjb dwarf.c \ 13179200Sjb fixup_tdescs.c \ 14179200Sjb hash.c \ 15179200Sjb iidesc.c \ 16179200Sjb input.c \ 17179200Sjb list.c \ 18179200Sjb memory.c \ 19179200Sjb merge.c \ 20179200Sjb output.c \ 21179200Sjb st_parse.c \ 22179200Sjb stabs.c \ 23179200Sjb stack.c \ 24179200Sjb strtab.c \ 25179200Sjb symbol.c \ 26179200Sjb tdata.c \ 27179200Sjb traverse.c \ 28179200Sjb util.c 29179200Sjb 30179200SjbCFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 31179200Sjb -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ 32179200Sjb -I${OPENSOLARIS_USR_DISTDIR} \ 33179200Sjb -I${OPENSOLARIS_SYS_DISTDIR} \ 34179200Sjb -I${OPENSOLARIS_USR_DISTDIR}/head \ 35179200Sjb -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 36179200Sjb -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ 37179200Sjb -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 38179200Sjb 39204339SruDPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} 40204339SruLDADD= -lctf -ldwarf -lelf -lz -lpthread 41179200Sjb 42179200Sjb.include <bsd.prog.mk> 43