1ebe86aacSJohn Birrell 2acc37ca1SEnji Cooper.PATH: ${SRCTOP}/cddl/contrib/opensolaris/common/ctf 3acc37ca1SEnji Cooper.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libctf/common 4acc37ca1SEnji Cooper.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/ctf 5ebe86aacSJohn Birrell 6ebe86aacSJohn BirrellLIB= ctf 7ebe86aacSJohn BirrellSRCS= ctf_create.c \ 8ebe86aacSJohn Birrell ctf_decl.c \ 9ebe86aacSJohn Birrell ctf_error.c \ 10ebe86aacSJohn Birrell ctf_hash.c \ 11ebe86aacSJohn Birrell ctf_labels.c \ 12ebe86aacSJohn Birrell ctf_lib.c \ 13ebe86aacSJohn Birrell ctf_lookup.c \ 14ebe86aacSJohn Birrell ctf_open.c \ 15ebe86aacSJohn Birrell ctf_subr.c \ 16ebe86aacSJohn Birrell ctf_types.c \ 17ebe86aacSJohn Birrell ctf_util.c 1838d120bcSMark JohnstonMAN= ctf.5 19ebe86aacSJohn Birrell 2058406fffSAlan SomersWARNS?= 2 21ebe86aacSJohn BirrellCFLAGS+= -DCTF_OLD_VERSIONS 22ebe86aacSJohn Birrell 23*9e5787d2SMatt MacyCFLAGS+= -DIN_BASE 24*9e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 25*9e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 26*9e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 27*9e5787d2SMatt MacyCFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 28*9e5787d2SMatt MacyCFLAGS+= -DHAVE_ISSETUGID 29*9e5787d2SMatt Macy 30acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 31acc37ca1SEnji Cooper -I${SRCTOP}/cddl/compat/opensolaris/include \ 32ebe86aacSJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/head \ 33ebe86aacSJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/common/ctf \ 34ebe86aacSJohn Birrell -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \ 35ebe86aacSJohn Birrell -I${OPENSOLARIS_SYS_DISTDIR}/uts/common 36ebe86aacSJohn Birrell 37*9e5787d2SMatt MacyLIBADD+= spl z 381189b87fSJohn-Mark Gurney 39ebe86aacSJohn Birrell.include <bsd.lib.mk> 40