Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet Merge ctf build rules.
details: https://anonhg.NetBSD.org/src/rev/16f4286de094
branches: trunk
changeset: 327493:16f4286de094
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 09 17:05:01 2014 +0000
description:
Merge ctf build rules.
diffstat:
external/cddl/osnet/Makefile.ctf | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diffs (31 lines):
diff -r caf70c1c3dbe -r 16f4286de094 external/cddl/osnet/Makefile.ctf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/cddl/osnet/Makefile.ctf Sun Mar 09 17:05:01 2014 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index