e17ebfd3b7
Found this while trying to get macOS bootstrap to work again after OpenZFS merge. Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26192
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/cvt
|
|
|
|
PROG= ctfconvert
|
|
SRCS= alist.c \
|
|
ctf.c \
|
|
ctfconvert.c \
|
|
dwarf.c \
|
|
fixup_tdescs.c \
|
|
hash.c \
|
|
iidesc.c \
|
|
input.c \
|
|
list.c \
|
|
memory.c \
|
|
merge.c \
|
|
output.c \
|
|
st_parse.c \
|
|
stabs.c \
|
|
stack.c \
|
|
strtab.c \
|
|
symbol.c \
|
|
tdata.c \
|
|
traverse.c \
|
|
util.c
|
|
|
|
CFLAGS+= -DIN_BASE
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
|
|
-I${SRCTOP}/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
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
|
|
LIBADD= spl dwarf elf z pthread
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|