2008-05-22 00:26:42 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2010-03-02 14:04:07 -05:00
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/common/ctf
|
|
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libctf/common
|
|
|
|
|
.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/ctf
|
2008-05-22 00:26:42 -04:00
|
|
|
|
|
|
|
|
LIB= ctf
|
|
|
|
|
SRCS= ctf_create.c \
|
|
|
|
|
ctf_decl.c \
|
|
|
|
|
ctf_error.c \
|
|
|
|
|
ctf_hash.c \
|
|
|
|
|
ctf_labels.c \
|
|
|
|
|
ctf_lib.c \
|
|
|
|
|
ctf_lookup.c \
|
|
|
|
|
ctf_open.c \
|
|
|
|
|
ctf_subr.c \
|
|
|
|
|
ctf_types.c \
|
|
|
|
|
ctf_util.c
|
2014-12-07 23:35:34 -05:00
|
|
|
MAN= ctf.5
|
2008-05-22 00:26:42 -04:00
|
|
|
|
2010-03-02 14:04:07 -05:00
|
|
|
WARNS?= 0
|
2008-05-22 00:26:42 -04:00
|
|
|
CFLAGS+= -DCTF_OLD_VERSIONS
|
|
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
|
|
|
|
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
|
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/common/ctf \
|
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
|
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
|
|
|
|
|
2015-12-03 22:17:47 -05:00
|
|
|
LIBADD+= z
|
2014-03-05 18:37:25 -05:00
|
|
|
|
2008-05-22 00:26:42 -04:00
|
|
|
.include <bsd.lib.mk>
|