mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
8be96e101f
Sponsored by: The FreeBSD Foundation
40 lines
883 B
Makefile
40 lines
883 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt
|
|
|
|
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
|
|
|
|
WARNS?= 1
|
|
|
|
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
|
|
|
|
DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
|
|
LDADD= -lctf -ldwarf -lelf -lz -lpthread
|
|
|
|
.include <bsd.prog.mk>
|