1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5.include "../../Makefile.inc" 6 7DEBUG_FLAGS= -g 8 9PROG= ctfconvert 10 11SRCS= alist.c \ 12 ctf.c \ 13 ctfconvert.c \ 14 dwarf.c \ 15 fixup_tdescs.c \ 16 hash.c \ 17 iidesc.c \ 18 input.c \ 19 list.c \ 20 memory.c \ 21 merge.c \ 22 output.c \ 23 st_parse.c \ 24 stabs.c \ 25 stack.c \ 26 strtab.c \ 27 symbol.c \ 28 tdata.c \ 29 traverse.c \ 30 util.c 31 32WARNS?= 6 33 34CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 35 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ 36 -I${OPENSOLARIS_USR_DISTDIR} \ 37 -I${OPENSOLARIS_SYS_DISTDIR} \ 38 -I${OPENSOLARIS_USR_DISTDIR}/head \ 39 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \ 40 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ 41 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 42 43LDADD+= -lctf -ldwarf -lelf -lz -lthr 44 45.PATH: ${.CURDIR} 46.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common 47.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt 48 49MK_MAN= no 50 51.include <bsd.prog.mk> 52