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# 229cd928feSAlan 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 275084e753SMark J. Nelsoni386_DFILES = \ 285084e753SMark J. Nelson iprb.d 295084e753SMark J. Nelson 307c478bd9Sstevel@tonic-gateDFILES = \ 317c478bd9Sstevel@tonic-gate applicat.d \ 327c478bd9Sstevel@tonic-gate badopen.d \ 337c478bd9Sstevel@tonic-gate begin.d \ 347c478bd9Sstevel@tonic-gate callout.d \ 357c478bd9Sstevel@tonic-gate clause.d \ 367c478bd9Sstevel@tonic-gate clear.d \ 377c478bd9Sstevel@tonic-gate countdown.d \ 387c478bd9Sstevel@tonic-gate counter.d \ 397c478bd9Sstevel@tonic-gate dateprof.d \ 407c478bd9Sstevel@tonic-gate delay.d \ 417c478bd9Sstevel@tonic-gate denorm.d \ 427c478bd9Sstevel@tonic-gate end.d \ 437c478bd9Sstevel@tonic-gate error.d \ 447c478bd9Sstevel@tonic-gate errorpath.d \ 457c478bd9Sstevel@tonic-gate find.d \ 467c478bd9Sstevel@tonic-gate firebird.d \ 477c478bd9Sstevel@tonic-gate hello.d \ 487c478bd9Sstevel@tonic-gate howlong.d \ 497c478bd9Sstevel@tonic-gate interp.d \ 507c478bd9Sstevel@tonic-gate interval.d \ 517c478bd9Sstevel@tonic-gate intr.d \ 527c478bd9Sstevel@tonic-gate iocpu.d \ 537c478bd9Sstevel@tonic-gate iosnoop.d \ 547c478bd9Sstevel@tonic-gate iothrough.d \ 557c478bd9Sstevel@tonic-gate iotime.d \ 5610e6dadfSbrendan ipio.d \ 5710e6dadfSbrendan ipproto.d \ 58fab254e2SAruna Ramakrishna tcprst.d \ 597c478bd9Sstevel@tonic-gate kstat.d \ 607c478bd9Sstevel@tonic-gate ksyms.d \ 617c478bd9Sstevel@tonic-gate libc.d \ 627c478bd9Sstevel@tonic-gate lquantize.d \ 637c478bd9Sstevel@tonic-gate lwptime.d \ 647c478bd9Sstevel@tonic-gate normalize.d \ 657c478bd9Sstevel@tonic-gate nscd.d \ 667c478bd9Sstevel@tonic-gate pri.d \ 677c478bd9Sstevel@tonic-gate printa.d \ 687c478bd9Sstevel@tonic-gate pritime.d \ 697c478bd9Sstevel@tonic-gate prof.d \ 707c478bd9Sstevel@tonic-gate profpri.d \ 717c478bd9Sstevel@tonic-gate progtime.d \ 727c478bd9Sstevel@tonic-gate putnext.d \ 737c478bd9Sstevel@tonic-gate qlen.d \ 747c478bd9Sstevel@tonic-gate qtime.d \ 757c478bd9Sstevel@tonic-gate renormalize.d \ 767c478bd9Sstevel@tonic-gate restest.d \ 777c478bd9Sstevel@tonic-gate ring.d \ 787c478bd9Sstevel@tonic-gate rtime.d \ 797c478bd9Sstevel@tonic-gate rwinfo.d \ 807c478bd9Sstevel@tonic-gate rwtime.d \ 817c478bd9Sstevel@tonic-gate sig.d \ 827c478bd9Sstevel@tonic-gate soffice.d \ 837c478bd9Sstevel@tonic-gate spec.d \ 847c478bd9Sstevel@tonic-gate specopen.d \ 857c478bd9Sstevel@tonic-gate ssd.d \ 867c478bd9Sstevel@tonic-gate syscall.d \ 879cd928feSAlan Maguire tcp1stbyte.d \ 889cd928feSAlan Maguire tcpbytes.d \ 899cd928feSAlan Maguire tcpbytesstat.d \ 909cd928feSAlan Maguire tcpconnlat.d \ 919cd928feSAlan Maguire tcpio.d \ 929cd928feSAlan Maguire tcpioflags.d \ 939cd928feSAlan Maguire tcpsnoop.d \ 949cd928feSAlan Maguire tcpstate.d \ 959cd928feSAlan Maguire tcptop.d \ 967c478bd9Sstevel@tonic-gate tick.d \ 977c478bd9Sstevel@tonic-gate ticktime.d \ 987c478bd9Sstevel@tonic-gate time.d \ 997c478bd9Sstevel@tonic-gate tracewrite.d \ 1007c478bd9Sstevel@tonic-gate trunc.d \ 1017c478bd9Sstevel@tonic-gate trussrw.d \ 1029cd928feSAlan Maguire udpbytes.d \ 1039cd928feSAlan Maguire udpbytesstat.d \ 1049cd928feSAlan Maguire udpio.d \ 1059cd928feSAlan Maguire udpsnoop.d \ 1069cd928feSAlan Maguire udptop.d \ 1077c478bd9Sstevel@tonic-gate userfunc.d \ 1087c478bd9Sstevel@tonic-gate whatfor.d \ 1097c478bd9Sstevel@tonic-gate whatlock.d \ 1107c478bd9Sstevel@tonic-gate where.d \ 1117c478bd9Sstevel@tonic-gate whererun.d \ 1127c478bd9Sstevel@tonic-gate whoexec.d \ 1137c478bd9Sstevel@tonic-gate whofor.d \ 1147c478bd9Sstevel@tonic-gate whoio.d \ 1157c478bd9Sstevel@tonic-gate whopreempt.d \ 1167c478bd9Sstevel@tonic-gate whoqueue.d \ 1177c478bd9Sstevel@tonic-gate whosteal.d \ 1187c478bd9Sstevel@tonic-gate whowrite.d \ 1197c478bd9Sstevel@tonic-gate writes.d \ 1207c478bd9Sstevel@tonic-gate writesbycmd.d \ 1217c478bd9Sstevel@tonic-gate writesbycmdfd.d \ 1227c478bd9Sstevel@tonic-gate writetime.d \ 1237c478bd9Sstevel@tonic-gate writetimeq.d \ 1247c478bd9Sstevel@tonic-gate xioctl.d \ 1257c478bd9Sstevel@tonic-gate xterm.d \ 1265084e753SMark J. Nelson xwork.d \ 1275084e753SMark J. Nelson $($(MACH)_DFILES) 1287c478bd9Sstevel@tonic-gate 129a778b211ScarlsonjHTMLFILES = index.html 130a778b211Scarlsonj 1317c478bd9Sstevel@tonic-gateDEMOFILES = \ 1327c478bd9Sstevel@tonic-gate $(DFILES) \ 133*2cfc8a48SJosef 'Jeff' Sipek $(HTMLFILES) 1347c478bd9Sstevel@tonic-gate 1357c478bd9Sstevel@tonic-gateMKDEMO = mkdemo 1367c478bd9Sstevel@tonic-gateCLEANFILES += $(DFILES) $(MKDEMO) 137b6805bf7SGordon RossCLOBBERFILES = $(HTMLFILES) 1387c478bd9Sstevel@tonic-gate 1397c478bd9Sstevel@tonic-gateROOTDEMODIR = $(ROOT)/usr/demo/dtrace 1407c478bd9Sstevel@tonic-gateROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%) 1417c478bd9Sstevel@tonic-gate 1427c478bd9Sstevel@tonic-gateall: $(DEMOFILES) 1437c478bd9Sstevel@tonic-gate 144b6805bf7SGordon Rossclean: 145b6805bf7SGordon Ross $(RM) $(CLEANFILES) 146b6805bf7SGordon Ross 147b6805bf7SGordon Rossclobber: clean 148b6805bf7SGordon Ross $(RM) $(CLOBBERFILES) 1497c478bd9Sstevel@tonic-gate 1507c478bd9Sstevel@tonic-gateclean.lint install_h lint: 1517c478bd9Sstevel@tonic-gate 1527c478bd9Sstevel@tonic-gateinstall: $(ROOTDEMOFILES) 1537c478bd9Sstevel@tonic-gate 1547c478bd9Sstevel@tonic-gate$(ROOTDEMODIR): 1557c478bd9Sstevel@tonic-gate $(INS.dir) 1567c478bd9Sstevel@tonic-gate 1577c478bd9Sstevel@tonic-gate$(ROOTDEMODIR)/%: % 1587c478bd9Sstevel@tonic-gate $(INS.file) 1597c478bd9Sstevel@tonic-gate 160a778b211Scarlsonj$(HTMLFILES): $(DFILES) $(MKDEMO) 1617c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1627c478bd9Sstevel@tonic-gate 163a778b211Scarlsonj$(DFILES): $(MKDEMO) 1647c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1657c478bd9Sstevel@tonic-gate 1667c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES): $(ROOTDEMODIR) 1677c478bd9Sstevel@tonic-gate 1687c478bd9Sstevel@tonic-gate$(ROOTDEMODIR) := DIRMODE = 755 1697c478bd9Sstevel@tonic-gate 1707c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES) := FILEMODE = 644 171