HardenedBSD/cddl/usr.bin/ctfmerge/Makefile

49 lines
928 B
Makefile
Raw Normal View History

2008-05-22 10:04:49 +02:00
# $FreeBSD$
.include <bsd.own.mk>
.include "../../Makefile.inc"
WARNS= 1
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?= 6
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
2010-02-25 23:18:35 +01:00
DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
LDADD= -lctf -ldwarf -lelf -lz -lpthread
2008-05-22 10:04:49 +02:00
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt
MK_MAN= no
.include <bsd.prog.mk>