Merge ctf build rules.
This commit is contained in:
parent
381ca28d6d
commit
abe7c4c08a
27
external/cddl/osnet/Makefile.ctf
vendored
Normal file
27
external/cddl/osnet/Makefile.ctf
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# $NetBSD: Makefile.ctf,v 1.1 2014/03/09 17:05:01 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
|
||||
.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt
|
Loading…
Reference in New Issue
Block a user