27 lines
688 B
Makefile
27 lines
688 B
Makefile
# $NetBSD: Makefile.ctf,v 1.2 2014/03/09 22:01:31 christos Exp $
|
|
|
|
CPPFLAGS+= -I${OSNETDIR}/sys \
|
|
-I${OSNETDIR}/include \
|
|
-I${OPENSOLARIS_USR_DISTDIR} \
|
|
-I${OPENSOLARIS_SYS_DISTDIR} \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
|
|
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
|
|
|
|
COPTS+=-g
|
|
|
|
.ifndef HOSTPROG
|
|
ELFTOOLCHAIN_DIR=${NETBSDSRCDIR}/external/bsd/elftoolchain
|
|
|
|
PROGDPLIBS+= ctf ${OSNETDIR}/lib/libctf \
|
|
dwarf ${ELFTOOLCHAIN_DIR}/lib/libdwarf \
|
|
elf ${ELFTOOLCHAIN_DIR}/lib/libelf
|
|
|
|
LDADD+= -lz
|
|
DPADD+= ${LIBZ}
|
|
.endif
|
|
|
|
.PATH: ${.CURDIR}
|
|
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common
|