2008-05-22 08:04:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2010-03-02 19:04:07 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common
|
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt
|
2008-05-22 08:04:49 +00:00
|
|
|
|
|
|
|
PROG= ctfmerge
|
|
|
|
SRCS= alist.c \
|
|
|
|
barrier.c \
|
|
|
|
ctf.c \
|
|
|
|
ctfmerge.c \
|
|
|
|
fifo.c \
|
|
|
|
hash.c \
|
|
|
|
iidesc.c \
|
|
|
|
input.c \
|
|
|
|
list.c \
|
|
|
|
memory.c \
|
|
|
|
merge.c \
|
|
|
|
output.c \
|
|
|
|
strtab.c \
|
|
|
|
symbol.c \
|
|
|
|
tdata.c \
|
|
|
|
traverse.c \
|
|
|
|
util.c
|
|
|
|
|
2010-03-02 19:04:07 +00:00
|
|
|
WARNS?= 1
|
2008-05-22 08:04:49 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
|
|
|
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR} \
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR} \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
|
|
|
|
2015-02-27 22:10:31 +00:00
|
|
|
DPADD= ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
|
|
|
LDADD= -ldwarf -lelf -lz -lpthread
|
2008-05-22 08:04:49 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|