]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - cddl/usr.bin/ctfconvert/Makefile
MFC r210688 r210689 r210694 r211184 r212831 r210682 r210683 r210690 r209539
[FreeBSD/stable/8.git] / cddl / usr.bin / ctfconvert / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .include        "../../Makefile.inc"
6
7 DEBUG_FLAGS=    -g
8
9 PROG=           ctfconvert
10 SRCS=           alist.c \
11                 ctf.c \
12                 ctfconvert.c \
13                 dwarf.c \
14                 fixup_tdescs.c \
15                 hash.c \
16                 iidesc.c \
17                 input.c \
18                 list.c \
19                 memory.c \
20                 merge.c \
21                 output.c \
22                 st_parse.c \
23                 stabs.c \
24                 stack.c \
25                 strtab.c \
26                 symbol.c \
27                 tdata.c \
28                 traverse.c \
29                 util.c
30
31 WARNS?=         6
32
33 CFLAGS+=        -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
34                 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
35                 -I${OPENSOLARIS_USR_DISTDIR} \
36                 -I${OPENSOLARIS_SYS_DISTDIR} \
37                 -I${OPENSOLARIS_USR_DISTDIR}/head \
38                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
39                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
40                 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
41
42 LDADD+=         -lctf -ldwarf -lelf -lz -lthr
43
44 .PATH:          ${.CURDIR}
45 .PATH:          ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common
46 .PATH:          ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt
47
48 .include <bsd.prog.mk>