17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5a778b211Scarlsonj# Common Development and Distribution License (the "License"). 6a778b211Scarlsonj# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22*9cd928feSAlan Maguire# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gateDFILES = \ 287c478bd9Sstevel@tonic-gate applicat.d \ 297c478bd9Sstevel@tonic-gate badopen.d \ 307c478bd9Sstevel@tonic-gate begin.d \ 317c478bd9Sstevel@tonic-gate callout.d \ 327c478bd9Sstevel@tonic-gate clause.d \ 337c478bd9Sstevel@tonic-gate clear.d \ 347c478bd9Sstevel@tonic-gate countdown.d \ 357c478bd9Sstevel@tonic-gate counter.d \ 367c478bd9Sstevel@tonic-gate dateprof.d \ 377c478bd9Sstevel@tonic-gate delay.d \ 387c478bd9Sstevel@tonic-gate denorm.d \ 397c478bd9Sstevel@tonic-gate end.d \ 407c478bd9Sstevel@tonic-gate error.d \ 417c478bd9Sstevel@tonic-gate errorpath.d \ 427c478bd9Sstevel@tonic-gate find.d \ 437c478bd9Sstevel@tonic-gate firebird.d \ 447c478bd9Sstevel@tonic-gate hello.d \ 457c478bd9Sstevel@tonic-gate howlong.d \ 467c478bd9Sstevel@tonic-gate interp.d \ 477c478bd9Sstevel@tonic-gate interval.d \ 487c478bd9Sstevel@tonic-gate intr.d \ 497c478bd9Sstevel@tonic-gate iocpu.d \ 507c478bd9Sstevel@tonic-gate iosnoop.d \ 517c478bd9Sstevel@tonic-gate iothrough.d \ 527c478bd9Sstevel@tonic-gate iotime.d \ 5310e6dadfSbrendan ipio.d \ 5410e6dadfSbrendan ipproto.d \ 55fab254e2SAruna Ramakrishna tcprst.d \ 567c478bd9Sstevel@tonic-gate iprb.d \ 577c478bd9Sstevel@tonic-gate kstat.d \ 587c478bd9Sstevel@tonic-gate ksyms.d \ 597c478bd9Sstevel@tonic-gate libc.d \ 607c478bd9Sstevel@tonic-gate lquantize.d \ 617c478bd9Sstevel@tonic-gate lwptime.d \ 627c478bd9Sstevel@tonic-gate normalize.d \ 637c478bd9Sstevel@tonic-gate nscd.d \ 647c478bd9Sstevel@tonic-gate pri.d \ 657c478bd9Sstevel@tonic-gate printa.d \ 667c478bd9Sstevel@tonic-gate pritime.d \ 677c478bd9Sstevel@tonic-gate prof.d \ 687c478bd9Sstevel@tonic-gate profpri.d \ 697c478bd9Sstevel@tonic-gate progtime.d \ 707c478bd9Sstevel@tonic-gate putnext.d \ 717c478bd9Sstevel@tonic-gate qlen.d \ 727c478bd9Sstevel@tonic-gate qtime.d \ 737c478bd9Sstevel@tonic-gate renormalize.d \ 747c478bd9Sstevel@tonic-gate restest.d \ 757c478bd9Sstevel@tonic-gate ring.d \ 767c478bd9Sstevel@tonic-gate rtime.d \ 777c478bd9Sstevel@tonic-gate rwinfo.d \ 787c478bd9Sstevel@tonic-gate rwtime.d \ 797c478bd9Sstevel@tonic-gate sig.d \ 807c478bd9Sstevel@tonic-gate soffice.d \ 817c478bd9Sstevel@tonic-gate spec.d \ 827c478bd9Sstevel@tonic-gate specopen.d \ 837c478bd9Sstevel@tonic-gate ssd.d \ 847c478bd9Sstevel@tonic-gate syscall.d \ 85*9cd928feSAlan Maguire tcp1stbyte.d \ 86*9cd928feSAlan Maguire tcpbytes.d \ 87*9cd928feSAlan Maguire tcpbytesstat.d \ 88*9cd928feSAlan Maguire tcpconnlat.d \ 89*9cd928feSAlan Maguire tcpio.d \ 90*9cd928feSAlan Maguire tcpioflags.d \ 91*9cd928feSAlan Maguire tcpsnoop.d \ 92*9cd928feSAlan Maguire tcpstate.d \ 93*9cd928feSAlan Maguire tcptop.d \ 947c478bd9Sstevel@tonic-gate tick.d \ 957c478bd9Sstevel@tonic-gate ticktime.d \ 967c478bd9Sstevel@tonic-gate time.d \ 977c478bd9Sstevel@tonic-gate tracewrite.d \ 987c478bd9Sstevel@tonic-gate trunc.d \ 997c478bd9Sstevel@tonic-gate trussrw.d \ 100*9cd928feSAlan Maguire udpbytes.d \ 101*9cd928feSAlan Maguire udpbytesstat.d \ 102*9cd928feSAlan Maguire udpio.d \ 103*9cd928feSAlan Maguire udpsnoop.d \ 104*9cd928feSAlan Maguire udptop.d \ 1057c478bd9Sstevel@tonic-gate userfunc.d \ 1067c478bd9Sstevel@tonic-gate whatfor.d \ 1077c478bd9Sstevel@tonic-gate whatlock.d \ 1087c478bd9Sstevel@tonic-gate where.d \ 1097c478bd9Sstevel@tonic-gate whererun.d \ 1107c478bd9Sstevel@tonic-gate whoexec.d \ 1117c478bd9Sstevel@tonic-gate whofor.d \ 1127c478bd9Sstevel@tonic-gate whoio.d \ 1137c478bd9Sstevel@tonic-gate whopreempt.d \ 1147c478bd9Sstevel@tonic-gate whoqueue.d \ 1157c478bd9Sstevel@tonic-gate whosteal.d \ 1167c478bd9Sstevel@tonic-gate whowrite.d \ 1177c478bd9Sstevel@tonic-gate writes.d \ 1187c478bd9Sstevel@tonic-gate writesbycmd.d \ 1197c478bd9Sstevel@tonic-gate writesbycmdfd.d \ 1207c478bd9Sstevel@tonic-gate writetime.d \ 1217c478bd9Sstevel@tonic-gate writetimeq.d \ 1227c478bd9Sstevel@tonic-gate xioctl.d \ 1237c478bd9Sstevel@tonic-gate xterm.d \ 1247c478bd9Sstevel@tonic-gate xwork.d 1257c478bd9Sstevel@tonic-gate 126a778b211ScarlsonjHTMLFILES = index.html 127a778b211Scarlsonj 1287c478bd9Sstevel@tonic-gateDEMOFILES = \ 1297c478bd9Sstevel@tonic-gate $(DFILES) \ 130a778b211Scarlsonj $(HTMLFILES) \ 1317c478bd9Sstevel@tonic-gate sunlogo.gif 1327c478bd9Sstevel@tonic-gate 1337c478bd9Sstevel@tonic-gateMKDEMO = mkdemo 1347c478bd9Sstevel@tonic-gateCLEANFILES += $(DFILES) $(MKDEMO) 1357c478bd9Sstevel@tonic-gate 1367c478bd9Sstevel@tonic-gateROOTDEMODIR = $(ROOT)/usr/demo/dtrace 1377c478bd9Sstevel@tonic-gateROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%) 1387c478bd9Sstevel@tonic-gate 1397c478bd9Sstevel@tonic-gateall: $(DEMOFILES) 1407c478bd9Sstevel@tonic-gate 1417c478bd9Sstevel@tonic-gateclobber clean: 1427c478bd9Sstevel@tonic-gate -$(RM) $(CLEANFILES) 1437c478bd9Sstevel@tonic-gate 1447c478bd9Sstevel@tonic-gateclean.lint install_h lint: 1457c478bd9Sstevel@tonic-gate 1467c478bd9Sstevel@tonic-gateinstall: $(ROOTDEMOFILES) 1477c478bd9Sstevel@tonic-gate 1487c478bd9Sstevel@tonic-gate$(ROOTDEMODIR): 1497c478bd9Sstevel@tonic-gate $(INS.dir) 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gate$(ROOTDEMODIR)/%: % 1527c478bd9Sstevel@tonic-gate $(INS.file) 1537c478bd9Sstevel@tonic-gate 154a778b211Scarlsonj$(HTMLFILES): $(DFILES) $(MKDEMO) 1557c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1567c478bd9Sstevel@tonic-gate 157a778b211Scarlsonj$(DFILES): $(MKDEMO) 1587c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1597c478bd9Sstevel@tonic-gate 1607c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES): $(ROOTDEMODIR) 1617c478bd9Sstevel@tonic-gate 1627c478bd9Sstevel@tonic-gate$(ROOTDEMODIR) := DIRMODE = 755 1637c478bd9Sstevel@tonic-gate 1647c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES) := FILEMODE = 644 165