xref: /freebsd/cddl/usr.bin/ctfmerge/Makefile (revision 4ef20db290841afbfce7fe484e2037e084e79238)
1d30b4ed2SJohn Birrell# $FreeBSD$
2d30b4ed2SJohn Birrell
34ef20db2SUlrich Spörlein.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common
44ef20db2SUlrich Spörlein.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt
5d30b4ed2SJohn Birrell
6d30b4ed2SJohn BirrellPROG=		ctfmerge
74ef20db2SUlrich SpörleinNO_MAN=
8d30b4ed2SJohn BirrellSRCS=		alist.c \
9d30b4ed2SJohn Birrell		barrier.c \
10d30b4ed2SJohn Birrell		ctf.c \
11d30b4ed2SJohn Birrell		ctfmerge.c \
12d30b4ed2SJohn Birrell		fifo.c \
13d30b4ed2SJohn Birrell		hash.c \
14d30b4ed2SJohn Birrell		iidesc.c \
15d30b4ed2SJohn Birrell		input.c \
16d30b4ed2SJohn Birrell		list.c \
17d30b4ed2SJohn Birrell		memory.c \
18d30b4ed2SJohn Birrell		merge.c \
19d30b4ed2SJohn Birrell		output.c \
20d30b4ed2SJohn Birrell		strtab.c \
21d30b4ed2SJohn Birrell		symbol.c \
22d30b4ed2SJohn Birrell		tdata.c \
23d30b4ed2SJohn Birrell		traverse.c \
24d30b4ed2SJohn Birrell		util.c
25d30b4ed2SJohn Birrell
264ef20db2SUlrich SpörleinWARNS?=		1
27d30b4ed2SJohn Birrell
28d30b4ed2SJohn BirrellCFLAGS+=	-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
29d30b4ed2SJohn Birrell		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
30d30b4ed2SJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR} \
31d30b4ed2SJohn Birrell		-I${OPENSOLARIS_SYS_DISTDIR} \
32d30b4ed2SJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/head \
33d30b4ed2SJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
34d30b4ed2SJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
35d30b4ed2SJohn Birrell		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
36d30b4ed2SJohn Birrell
379b3d7b91SRuslan ErmilovDPADD=		${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
389b3d7b91SRuslan ErmilovLDADD=		-lctf -ldwarf -lelf -lz -lpthread
39d30b4ed2SJohn Birrell
40d30b4ed2SJohn Birrell.include <bsd.prog.mk>
41