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 5*a778b211Scarlsonj# Common Development and Distribution License (the "License"). 6*a778b211Scarlsonj# 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*a778b211Scarlsonj# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 25*a778b211Scarlsonj# ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gateDFILES = \ 307c478bd9Sstevel@tonic-gate applicat.d \ 317c478bd9Sstevel@tonic-gate badopen.d \ 327c478bd9Sstevel@tonic-gate begin.d \ 337c478bd9Sstevel@tonic-gate callout.d \ 347c478bd9Sstevel@tonic-gate clause.d \ 357c478bd9Sstevel@tonic-gate clear.d \ 367c478bd9Sstevel@tonic-gate countdown.d \ 377c478bd9Sstevel@tonic-gate counter.d \ 387c478bd9Sstevel@tonic-gate dateprof.d \ 397c478bd9Sstevel@tonic-gate delay.d \ 407c478bd9Sstevel@tonic-gate denorm.d \ 417c478bd9Sstevel@tonic-gate end.d \ 427c478bd9Sstevel@tonic-gate error.d \ 437c478bd9Sstevel@tonic-gate errorpath.d \ 447c478bd9Sstevel@tonic-gate find.d \ 457c478bd9Sstevel@tonic-gate firebird.d \ 467c478bd9Sstevel@tonic-gate hello.d \ 477c478bd9Sstevel@tonic-gate howlong.d \ 487c478bd9Sstevel@tonic-gate interp.d \ 497c478bd9Sstevel@tonic-gate interval.d \ 507c478bd9Sstevel@tonic-gate intr.d \ 517c478bd9Sstevel@tonic-gate iocpu.d \ 527c478bd9Sstevel@tonic-gate iosnoop.d \ 537c478bd9Sstevel@tonic-gate iothrough.d \ 547c478bd9Sstevel@tonic-gate iotime.d \ 557c478bd9Sstevel@tonic-gate iprb.d \ 567c478bd9Sstevel@tonic-gate kstat.d \ 577c478bd9Sstevel@tonic-gate ksyms.d \ 587c478bd9Sstevel@tonic-gate libc.d \ 597c478bd9Sstevel@tonic-gate lquantize.d \ 607c478bd9Sstevel@tonic-gate lwptime.d \ 617c478bd9Sstevel@tonic-gate normalize.d \ 627c478bd9Sstevel@tonic-gate nscd.d \ 637c478bd9Sstevel@tonic-gate pri.d \ 647c478bd9Sstevel@tonic-gate printa.d \ 657c478bd9Sstevel@tonic-gate pritime.d \ 667c478bd9Sstevel@tonic-gate prof.d \ 677c478bd9Sstevel@tonic-gate profpri.d \ 687c478bd9Sstevel@tonic-gate progtime.d \ 697c478bd9Sstevel@tonic-gate putnext.d \ 707c478bd9Sstevel@tonic-gate qlen.d \ 717c478bd9Sstevel@tonic-gate qtime.d \ 727c478bd9Sstevel@tonic-gate renormalize.d \ 737c478bd9Sstevel@tonic-gate restest.d \ 747c478bd9Sstevel@tonic-gate ring.d \ 757c478bd9Sstevel@tonic-gate rtime.d \ 767c478bd9Sstevel@tonic-gate rwinfo.d \ 777c478bd9Sstevel@tonic-gate rwtime.d \ 787c478bd9Sstevel@tonic-gate sig.d \ 797c478bd9Sstevel@tonic-gate soffice.d \ 807c478bd9Sstevel@tonic-gate spec.d \ 817c478bd9Sstevel@tonic-gate specopen.d \ 827c478bd9Sstevel@tonic-gate ssd.d \ 837c478bd9Sstevel@tonic-gate syscall.d \ 847c478bd9Sstevel@tonic-gate tick.d \ 857c478bd9Sstevel@tonic-gate ticktime.d \ 867c478bd9Sstevel@tonic-gate time.d \ 877c478bd9Sstevel@tonic-gate tracewrite.d \ 887c478bd9Sstevel@tonic-gate trunc.d \ 897c478bd9Sstevel@tonic-gate trussrw.d \ 907c478bd9Sstevel@tonic-gate userfunc.d \ 917c478bd9Sstevel@tonic-gate whatfor.d \ 927c478bd9Sstevel@tonic-gate whatlock.d \ 937c478bd9Sstevel@tonic-gate where.d \ 947c478bd9Sstevel@tonic-gate whererun.d \ 957c478bd9Sstevel@tonic-gate whoexec.d \ 967c478bd9Sstevel@tonic-gate whofor.d \ 977c478bd9Sstevel@tonic-gate whoio.d \ 987c478bd9Sstevel@tonic-gate whopreempt.d \ 997c478bd9Sstevel@tonic-gate whoqueue.d \ 1007c478bd9Sstevel@tonic-gate whosteal.d \ 1017c478bd9Sstevel@tonic-gate whowrite.d \ 1027c478bd9Sstevel@tonic-gate writes.d \ 1037c478bd9Sstevel@tonic-gate writesbycmd.d \ 1047c478bd9Sstevel@tonic-gate writesbycmdfd.d \ 1057c478bd9Sstevel@tonic-gate writetime.d \ 1067c478bd9Sstevel@tonic-gate writetimeq.d \ 1077c478bd9Sstevel@tonic-gate xioctl.d \ 1087c478bd9Sstevel@tonic-gate xterm.d \ 1097c478bd9Sstevel@tonic-gate xwork.d 1107c478bd9Sstevel@tonic-gate 111*a778b211ScarlsonjHTMLFILES = index.html 112*a778b211Scarlsonj 1137c478bd9Sstevel@tonic-gateDEMOFILES = \ 1147c478bd9Sstevel@tonic-gate $(DFILES) \ 115*a778b211Scarlsonj $(HTMLFILES) \ 1167c478bd9Sstevel@tonic-gate sunlogo.gif 1177c478bd9Sstevel@tonic-gate 1187c478bd9Sstevel@tonic-gateMKDEMO = mkdemo 1197c478bd9Sstevel@tonic-gateCLEANFILES += $(DFILES) $(MKDEMO) 1207c478bd9Sstevel@tonic-gate 1217c478bd9Sstevel@tonic-gateROOTDEMODIR = $(ROOT)/usr/demo/dtrace 1227c478bd9Sstevel@tonic-gateROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%) 1237c478bd9Sstevel@tonic-gate 1247c478bd9Sstevel@tonic-gateall: $(DEMOFILES) 1257c478bd9Sstevel@tonic-gate 1267c478bd9Sstevel@tonic-gateclobber clean: 1277c478bd9Sstevel@tonic-gate -$(RM) $(CLEANFILES) 1287c478bd9Sstevel@tonic-gate 1297c478bd9Sstevel@tonic-gateclean.lint install_h lint: 1307c478bd9Sstevel@tonic-gate 1317c478bd9Sstevel@tonic-gateinstall: $(ROOTDEMOFILES) 1327c478bd9Sstevel@tonic-gate 1337c478bd9Sstevel@tonic-gate$(ROOTDEMODIR): 1347c478bd9Sstevel@tonic-gate $(INS.dir) 1357c478bd9Sstevel@tonic-gate 1367c478bd9Sstevel@tonic-gate$(ROOTDEMODIR)/%: % 1377c478bd9Sstevel@tonic-gate $(INS.file) 1387c478bd9Sstevel@tonic-gate 139*a778b211Scarlsonj$(HTMLFILES): $(DFILES) $(MKDEMO) 1407c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1417c478bd9Sstevel@tonic-gate 142*a778b211Scarlsonj$(DFILES): $(MKDEMO) 1437c478bd9Sstevel@tonic-gate ./$(MKDEMO) $@ 1447c478bd9Sstevel@tonic-gate 1457c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES): $(ROOTDEMODIR) 1467c478bd9Sstevel@tonic-gate 1477c478bd9Sstevel@tonic-gate$(ROOTDEMODIR) := OWNER = root 1487c478bd9Sstevel@tonic-gate$(ROOTDEMODIR) := GROUP = bin 1497c478bd9Sstevel@tonic-gate$(ROOTDEMODIR) := DIRMODE = 755 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES) := OWNER = root 1527c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES) := GROUP = bin 1537c478bd9Sstevel@tonic-gate$(ROOTDEMOFILES) := FILEMODE = 644 154