]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - cddl/usr.bin/ctfconvert/Makefile
Remove -I flag for include path that doesn't exist
[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+= -DIN_BASE
31 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
32 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
33 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
34 CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
35 CFLAGS+=        -I${SRCTOP}/sys/cddl/compat/opensolaris \
36                 -I${SRCTOP}/cddl/compat/opensolaris/include \
37                 -I${OPENSOLARIS_USR_DISTDIR} \
38                 -I${OPENSOLARIS_SYS_DISTDIR} \
39                 -I${OPENSOLARIS_USR_DISTDIR}/head \
40                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
41                 -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
42                 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
43 CFLAGS+= -DHAVE_ISSETUGID 
44
45 LIBADD=         spl dwarf elf z pthread
46
47 HAS_TESTS=
48 SUBDIR.${MK_TESTS}+= tests
49
50 .include <bsd.prog.mk>