Makefile revision 5084e753b79a753c8b532c06eb3ad1d025e8e472
1029N/A#
1029N/A# CDDL HEADER START
1123N/A#
1029N/A# The contents of this file are subject to the terms of the
1339N/A# Common Development and Distribution License (the "License").
1029N/A# You may not use this file except in compliance with the License.
1029N/A#
1123N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1123N/A# or http://www.opensolaris.org/os/licensing.
1123N/A# See the License for the specific language governing permissions
1123N/A# and limitations under the License.
1123N/A#
1123N/A# When distributing Covered Code, include this CDDL HEADER in each
1123N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1123N/A# If applicable, add the following below this CDDL HEADER, with the
1123N/A# fields enclosed by brackets "[]" replaced with your own identifying
1123N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1123N/A#
1123N/A# CDDL HEADER END
1123N/A#
1123N/A#
1123N/A# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
1123N/A#
1123N/A
1029N/Ainclude ../../Makefile.cmd
1029N/A
1029N/Ai386_DFILES = \
1029N/A iprb.d
1029N/A
1339N/ADFILES = \
1339N/A applicat.d \
1339N/A badopen.d \
1339N/A begin.d \
1339N/A callout.d \
1339N/A clause.d \
1339N/A clear.d \
1339N/A countdown.d \
1029N/A counter.d \
1351N/A dateprof.d \
1029N/A delay.d \
1029N/A denorm.d \
1351N/A end.d \
1351N/A error.d \
1029N/A errorpath.d \
1029N/A find.d \
1029N/A firebird.d \
1029N/A hello.d \
1029N/A howlong.d \
1123N/A interp.d \
1123N/A interval.d \
1339N/A intr.d \
1029N/A iocpu.d \
1029N/A iosnoop.d \
1276N/A iothrough.d \
1029N/A iotime.d \
1029N/A ipio.d \
1029N/A ipproto.d \
1029N/A tcprst.d \
1029N/A kstat.d \
1029N/A ksyms.d \
1029N/A libc.d \
lquantize.d \
lwptime.d \
normalize.d \
nscd.d \
pri.d \
printa.d \
pritime.d \
prof.d \
profpri.d \
progtime.d \
putnext.d \
qlen.d \
qtime.d \
renormalize.d \
restest.d \
ring.d \
rtime.d \
rwinfo.d \
rwtime.d \
sig.d \
soffice.d \
spec.d \
specopen.d \
ssd.d \
syscall.d \
tcp1stbyte.d \
tcpbytes.d \
tcpbytesstat.d \
tcpconnlat.d \
tcpio.d \
tcpioflags.d \
tcpsnoop.d \
tcpstate.d \
tcptop.d \
tick.d \
ticktime.d \
time.d \
tracewrite.d \
trunc.d \
trussrw.d \
udpbytes.d \
udpbytesstat.d \
udpio.d \
udpsnoop.d \
udptop.d \
userfunc.d \
whatfor.d \
whatlock.d \
where.d \
whererun.d \
whoexec.d \
whofor.d \
whoio.d \
whopreempt.d \
whoqueue.d \
whosteal.d \
whowrite.d \
writes.d \
writesbycmd.d \
writesbycmdfd.d \
writetime.d \
writetimeq.d \
xioctl.d \
xterm.d \
xwork.d \
$($(MACH)_DFILES)
HTMLFILES = index.html
DEMOFILES = \
$(DFILES) \
$(HTMLFILES) \
sunlogo.gif
MKDEMO = mkdemo
CLEANFILES += $(DFILES) $(MKDEMO)
ROOTDEMODIR = $(ROOT)/usr/demo/dtrace
ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
all: $(DEMOFILES)
clobber clean:
-$(RM) $(CLEANFILES)
clean.lint install_h lint:
install: $(ROOTDEMOFILES)
$(ROOTDEMODIR):
$(INS.dir)
$(ROOTDEMODIR)/%: %
$(INS.file)
$(HTMLFILES): $(DFILES) $(MKDEMO)
./$(MKDEMO) $@
$(DFILES): $(MKDEMO)
./$(MKDEMO) $@
$(ROOTDEMOFILES): $(ROOTDEMODIR)
$(ROOTDEMODIR) := DIRMODE = 755
$(ROOTDEMOFILES) := FILEMODE = 644