Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2006 00:13:19 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96386 for review
Message-ID:  <200604300013.k3U0DJCl032982@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96386

Change 96386 by jb@jb_freebsd2 on 2006/04/30 00:12:19

	Put all the DTrace providers under one directory. It makes more
	sense to keep them grouped this way because most people won't
	recognise them as DTrace providers from their names.

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#9 edit

Differences ...

==== //depot/projects/dtrace/src/sys/modules/dtrace/Makefile#9 (text+ko) ====

@@ -1,26 +1,7 @@
 # $FreeBSD#
 
-.PATH: ${.CURDIR}/../../cddl/dev/dtrace
-.PATH: ${.CURDIR}/../../cddl/dev/dtrace/${MACHINE_ARCH}
+.include <bsd.own.mk>
 
-KMOD=	dtrace
-SRCS=	dtrace.c dtrace_mutex.c dtrace_asm.S dis_tables.c instr_size.c
-SRCS+=	bus_if.h device_if.h vnode_if.h
+SUBDIR=	dtrace
 
-CFLAGS+=	-I${.CURDIR}/../../cddl/dev/dtrace \
-		-I${.CURDIR}/../../cddl/dev/dtrace/${MACHINE_ARCH} \
-		-I${.CURDIR}/../../contrib/opensolaris/uts/common \
-		-I${.CURDIR}/../../contrib \
-		-I${.CURDIR}/../.. -DDIS_MEM -D_SOLARIS_C_SOURCE
-
-CFLAGS+=	-DDEBUG
-
-load	:
-	kldload dtrace
-	kldstat
-
-unload	:
-	kldunload dtrace
-	kldstat
-
-.include <bsd.kmod.mk>
+.include <bsd.subdir.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604300013.k3U0DJCl032982>