From a20823e0697f4717b9c26b0f5aaa723dd2d82f23 Mon Sep 17 00:00:00 2001 From: gnn Date: Fri, 18 May 2012 16:40:15 +0000 Subject: Add support for our own DTrace scripts and those from the DTraceToolkit to the build system. FreeBSD written scripts are stored in src/share and the toolkit scripts are brought from the cddl directory into a working tree via install. MFC after: 2 weeks --- share/dtrace/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 share/dtrace/Makefile (limited to 'share/dtrace/Makefile') diff --git a/share/dtrace/Makefile b/share/dtrace/Makefile new file mode 100644 index 0000000..71f1e4e --- /dev/null +++ b/share/dtrace/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ +# +# Hand installing our scripts and optionally (based on MK_CDDL) installing +# the DTraceToolkit. +# + +.include + +SUBDIR= ${_toolkit} + +.if ${MK_CDDL} != "no" +_toolkit= toolkit +.endif + +SCRIPTS= nfsclienttime + +SCRIPTSDIR= ${SHAREDIR}/dtrace/ + +NO_OBJ= + +.include -- cgit v1.1