mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 16:35:27 -04:00
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
29 lines
878 B
Makefile
29 lines
878 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/common
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/tools/ctf/dump
|
|
|
|
PROG= ctfdump
|
|
SRCS= dump.c \
|
|
symbol.c \
|
|
utils.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}/sys
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${OPENSOLARIS_USR_DISTDIR} \
|
|
-I${OPENSOLARIS_SYS_DISTDIR} \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/cmd/mdb/tools/common \
|
|
-I${SRCTOP}/sys/cddl/compat/opensolaris \
|
|
-I${SRCTOP}/cddl/compat/opensolaris/include \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
|
|
LIBADD= elf z
|
|
|
|
.include <bsd.prog.mk>
|