xref: /freebsd/cddl/lib/libctf/Makefile (revision 1189b87f9622831115a34bda895bbe83fceab061)
1ebe86aacSJohn Birrell# $FreeBSD$
2ebe86aacSJohn Birrell
34ef20db2SUlrich Spörlein.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/common/ctf
44ef20db2SUlrich Spörlein.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libctf/common
54ef20db2SUlrich Spörlein.PATH:		${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/ctf
6ebe86aacSJohn Birrell
7ebe86aacSJohn BirrellLIB=		ctf
8ebe86aacSJohn BirrellSRCS=		ctf_create.c \
9ebe86aacSJohn Birrell		ctf_decl.c \
10ebe86aacSJohn Birrell		ctf_error.c \
11ebe86aacSJohn Birrell		ctf_hash.c \
12ebe86aacSJohn Birrell		ctf_labels.c \
13ebe86aacSJohn Birrell		ctf_lib.c \
14ebe86aacSJohn Birrell		ctf_lookup.c \
15ebe86aacSJohn Birrell		ctf_open.c \
16ebe86aacSJohn Birrell		ctf_subr.c \
17ebe86aacSJohn Birrell		ctf_types.c \
18ebe86aacSJohn Birrell		ctf_util.c
19ebe86aacSJohn Birrell
204ef20db2SUlrich SpörleinWARNS?=		0
21ebe86aacSJohn BirrellCFLAGS+=	-DCTF_OLD_VERSIONS
22ebe86aacSJohn Birrell
23ebe86aacSJohn BirrellCFLAGS+=	-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
24ebe86aacSJohn Birrell		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
25ebe86aacSJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/head \
26ebe86aacSJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
27ebe86aacSJohn Birrell		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
28ebe86aacSJohn Birrell		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
29ebe86aacSJohn Birrell
30*1189b87fSJohn-Mark GurneyDPADD=         ${LIBZ}
31*1189b87fSJohn-Mark GurneyLDADD=         -lz
32*1189b87fSJohn-Mark Gurney
33ebe86aacSJohn Birrell.include <bsd.lib.mk>
34ebe86aacSJohn Birrell
35