]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - cddl/usr.bin/ctfconvert/Makefile
MFV r337171:
[FreeBSD/FreeBSD.git] / cddl / usr.bin / ctfconvert / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 .PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common
6 .PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/cvt
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${SRCTOP}/sys/cddl/compat/opensolaris \
31                 -I${SRCTOP}/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 LIBADD=         dwarf elf z pthread
40
41 HAS_TESTS=
42 SUBDIR.${MK_TESTS}+= tests
43
44 .include <bsd.prog.mk>