Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib hook drti
details: https://anonhg.NetBSD.org/src/rev/c94d894e2e03
branches: trunk
changeset: 343842:c94d894e2e03
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 28 19:10:10 2016 +0000
description:
hook drti
diffstat:
external/cddl/osnet/lib/Makefile | 3 ++-
external/cddl/osnet/lib/drti/Makefile | 17 +++++++++--------
2 files changed, 11 insertions(+), 9 deletions(-)
diffs (53 lines):
diff -r 4ecdbae378f2 -r c94d894e2e03 external/cddl/osnet/lib/Makefile
--- a/external/cddl/osnet/lib/Makefile Sun Feb 28 16:06:27 2016 +0000
+++ b/external/cddl/osnet/lib/Makefile Sun Feb 28 19:10:10 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2014/03/25 09:52:55 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.7 2016/02/28 19:10:10 christos Exp $
#
#
@@ -6,6 +6,7 @@
.if (defined(MKDTRACE) && ${MKDTRACE} != "no")
SUBDIR+= libdtrace
+SUBDIR+= drti
.endif
.if ${MKDTRACE:Uno} != "no" || ${MKCTF:Uno} != "no"
SUBDIR+= libctf
diff -r 4ecdbae378f2 -r c94d894e2e03 external/cddl/osnet/lib/drti/Makefile
--- a/external/cddl/osnet/lib/drti/Makefile Sun Feb 28 16:06:27 2016 +0000
+++ b/external/cddl/osnet/lib/drti/Makefile Sun Feb 28 19:10:10 2016 +0000
@@ -1,11 +1,12 @@
# $FreeBSD: src/cddl/lib/drti/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $
-
+.include <bsd.init.mk>
.include "../../Makefile.inc"
.PATH: ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
SRCS= drti.c
-FILES= ${SRCS:R:S/$/.o/g}
+OBJS= ${SRCS:R:S/$/.o/g}
+FILES= ${OBJS}
FILESOWN= ${LIBOWN}
FILESGRP= ${LIBGRP}
FILESMODE= ${LIBMODE}
@@ -13,11 +14,11 @@
WARNS?= 6
CLEANFILES= ${FILES}
-CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
- -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
- -I${OPENSOLARIS_USR_DISTDIR}/head \
- -I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
- -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
- -I${OPENSOLARIS_SYS_DISTDIR}/uts/common
+CPPFLAGS+= -I${.CURDIR}/../../dist/lib/libdtrace/common \
+ -I${.CURDIR}/../../include \
+ -I${.CURDIR}/../../sys \
+ -I${.CURDIR}/../../dist/uts/common
+
+realall: ${OBJS}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index