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