]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - cddl/usr.bin/ctfconvert/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / cddl / usr.bin / ctfconvert / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/common
4 .PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/tools/ctf/cvt
5
6 DEBUG_FLAGS=    -g
7
8 PROG=           ctfconvert
9 SRCS=           alist.c \
10                 ctf.c \
11                 ctfconvert.c \
12                 dwarf.c \
13                 fixup_tdescs.c \
14                 hash.c \
15                 iidesc.c \
16                 input.c \
17                 list.c \
18                 memory.c \
19                 merge.c \
20                 output.c \
21                 st_parse.c \
22                 stabs.c \
23                 stack.c \
24                 strtab.c \
25                 symbol.c \
26                 tdata.c \
27                 traverse.c \
28                 util.c
29
30 CFLAGS+=        -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
31                 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
32                 -I${OPENSOLARIS_USR_DISTDIR} \
33                 -I${OPENSOLARIS_SYS_DISTDIR} \
34                 -I${OPENSOLARIS_USR_DISTDIR}/head \
35                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
36                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
37                 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
38
39 DPADD=          ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD}
40 LDADD=          -lctf -ldwarf -lelf -lz -lpthread
41
42 .include <bsd.prog.mk>