1# $NetBSD: Makefile,v 1.9 2016/08/04 17:07:24 christos Exp $ 2 3# $FreeBSD: src/cddl/lib/libctf/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $ 4 5.include <bsd.init.mk> 6 7LIB= ctf 8MAN= ctf.5 9 10SRCS= ctf_create.c \ 11 ctf_decl.c \ 12 ctf_error.c \ 13 ctf_hash.c \ 14 ctf_labels.c \ 15 ctf_lib.c \ 16 ctf_lookup.c \ 17 ctf_open.c \ 18 ctf_subr.c \ 19 ctf_types.c \ 20 ctf_util.c 21 22.PATH: ${.CURDIR}/../../dist/common/ctf 23.PATH: ${.CURDIR}/../../dist/lib/libctf/common 24 25CPPFLAGS+= -DCTF_OLD_VERSIONS 26 27CPPFLAGS+= -I${OSNETDIR}/sys \ 28 -I${OSNETDIR}/include \ 29 -I${OPENSOLARIS_USR_DISTDIR}/head \ 30 -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \ 31 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 32 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 33 34LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz 35 36.include <bsd.lib.mk> 37 38