aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libctf/Makefile
blob: b3d3b039dddae44f62c23a6e6e6f2e25a757ea17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

.include	"../../Makefile.inc"

LIB=		ctf
SHLIB_MAJOR=	1

SRCS=		ctf_create.c \
		ctf_decl.c \
		ctf_error.c \
		ctf_hash.c \
		ctf_labels.c \
		ctf_lib.c \
		ctf_lookup.c \
		ctf_open.c \
		ctf_subr.c \
		ctf_types.c \
		ctf_util.c

.PATH:		${OPENSOLARIS_USR_DISTDIR}/common/ctf
.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common
.PATH:		${OPENSOLARIS_SYS_DISTDIR}/common/ctf

CFLAGS+=	-DCTF_OLD_VERSIONS

CFLAGS+=	-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
		-I${OPENSOLARIS_USR_DISTDIR}/head \
		-I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common

.include <bsd.lib.mk>