diff options
author | gnn <gnn@FreeBSD.org> | 2012-05-18 16:40:15 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2012-05-18 16:40:15 +0000 |
commit | a20823e0697f4717b9c26b0f5aaa723dd2d82f23 (patch) | |
tree | 8681a6c6c2642bb7f2b254a508ae3a3c1b4cc017 /share/dtrace/Makefile | |
parent | 8187b8f230e8f0fbfe561a60975a0ca698a0d439 (diff) | |
download | FreeBSD-src-a20823e0697f4717b9c26b0f5aaa723dd2d82f23.zip FreeBSD-src-a20823e0697f4717b9c26b0f5aaa723dd2d82f23.tar.gz |
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
Diffstat (limited to 'share/dtrace/Makefile')
-rw-r--r-- | share/dtrace/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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 <bsd.own.mk> + +SUBDIR= ${_toolkit} + +.if ${MK_CDDL} != "no" +_toolkit= toolkit +.endif + +SCRIPTS= nfsclienttime + +SCRIPTSDIR= ${SHAREDIR}/dtrace/ + +NO_OBJ= + +.include <bsd.prog.mk> |