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