Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
905N/A#
905N/A# CDDL HEADER START
905N/A#
905N/A# The contents of this file are subject to the terms of the
905N/A# Common Development and Distribution License, Version 1.0 only
905N/A# (the "License"). You may not use this file except in compliance
905N/A# with the License.
905N/A#
905N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
905N/A# or http://www.opensolaris.org/os/licensing.
905N/A# See the License for the specific language governing permissions
905N/A# and limitations under the License.
905N/A#
905N/A# When distributing Covered Code, include this CDDL HEADER in each
905N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
905N/A# If applicable, add the following below this CDDL HEADER, with the
905N/A# fields enclosed by brackets "[]" replaced with your own identifying
905N/A# information: Portions Copyright [yyyy] [name of copyright owner]
905N/A#
905N/A# CDDL HEADER END
3996N/A#
905N/A#
4448N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
905N/A# Use is subject to license terms.
905N/A#
905N/A#pragma ident "%Z%%M% %I% %E% SMI"
4448N/A
905N/Ainclude ../../Makefile.cmd
905N/A
905N/ADFILES = \
4448N/A applicat.d \
905N/A badopen.d \
4448N/A begin.d \
4448N/A callout.d \
3661N/A clause.d \
3996N/A clear.d \
3996N/A countdown.d \
3996N/A counter.d \
905N/A dateprof.d \
905N/A delay.d \
905N/A denorm.d \
905N/A end.d \
905N/A error.d \
905N/A errorpath.d \
905N/A find.d \
4448N/A firebird.d \
4448N/A hello.d \
905N/A howlong.d \
4448N/A interp.d \
4448N/A interval.d \
905N/A intr.d \
905N/A iocpu.d \
905N/A iosnoop.d \
905N/A iothrough.d \
4448N/A iotime.d \
4448N/A iprb.d \
905N/A kstat.d \
4448N/A ksyms.d \
905N/A libc.d \
3996N/A 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 \
tick.d \
ticktime.d \
time.d \
tracewrite.d \
trunc.d \
trussrw.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
DEMOFILES = \
$(DFILES) \
index.html \
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)
%.html: $(DFILES) $(MKDEMO)
./$(MKDEMO) $@
%.d: $(MKDEMO)
./$(MKDEMO) $@
%: %.pl
$(CP) $< $@
$(CHMOD) 755 $@
$(ROOTDEMOFILES): $(ROOTDEMODIR)
$(ROOTDEMODIR) := OWNER = root
$(ROOTDEMODIR) := GROUP = bin
$(ROOTDEMODIR) := DIRMODE = 755
$(ROOTDEMOFILES) := OWNER = root
$(ROOTDEMOFILES) := GROUP = bin
$(ROOTDEMOFILES) := FILEMODE = 644