1# $NetBSD: Makefile,v 1.10 2018/05/28 21:05:09 chs Exp $ 2 3# $FreeBSD: head/cddl/lib/libctf/Makefile 314654 2017-03-04 11:30:04Z ngie $ 4 5.include <bsd.init.mk> 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 19MAN= ctf.5 20 21.PATH: ${.CURDIR}/../../dist/common/ctf 22.PATH: ${.CURDIR}/../../dist/lib/libctf/common 23 24CPPFLAGS+= -DCTF_OLD_VERSIONS 25 26CPPFLAGS+= -I${OSNETDIR}/sys \ 27 -I${OSNETDIR}/include \ 28 -I${OPENSOLARIS_USR_DISTDIR}/head \ 29 -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \ 30 -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 31 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 32 33LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz 34 35.include <bsd.lib.mk> 36 37