1# $NetBSD: Makefile,v 1.3 2010/04/03 18:35:49 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 "../../Makefile.inc" 6 7LIB= ctf 8 9SRCS= ctf_create.c \ 10 ctf_decl.c \ 11 ctf_error.c \ 12 ctf_hash.c \ 13 ctf_labels.c \ 14 ctf_lib.c \ 15 ctf_lookup.c \ 16 ctf_open.c \ 17 ctf_subr.c \ 18 ctf_types.c \ 19 ctf_util.c 20 21.PATH: ${.CURDIR}/../../dist/common/ctf 22.PATH: ${.CURDIR}/../../dist/lib/libctf/common 23 24CFLAGS+= -DCTF_OLD_VERSIONS 25 26CFLAGS+= -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 33.include <bsd.lib.mk> 34 35