1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/common/ctf 4.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libctf/common 5.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/ctf 6 7LIB= ctf 8SRCS= ctf_create.c \ 9 ctf_decl.c \ 10 ctf_error.c \ 11 ctf_hash.c \ 12 ctf_labels.c \ 13 ctf_lib.c \ 14 ctf_lookup.c \ 15 ctf_open.c \ 16 ctf_subr.c \ 17 ctf_types.c \ 18 ctf_util.c 19 20WARNS?= 0 21CFLAGS+= -DCTF_OLD_VERSIONS 22 23CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 24 -I${.CURDIR}/../../../cddl/compat/opensolaris/include \ 25 -I${OPENSOLARIS_USR_DISTDIR}/head \ 26 -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \ 27 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 28 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 29 30DPADD= ${LIBZ} 31LDADD= -lz 32 33.include <bsd.lib.mk> 34 35