1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 23# 24 25include ../../Makefile.cmd 26 27i386_DFILES = \ 28 iprb.d 29 30DFILES = \ 31 applicat.d \ 32 badopen.d \ 33 begin.d \ 34 callout.d \ 35 clause.d \ 36 clear.d \ 37 countdown.d \ 38 counter.d \ 39 dateprof.d \ 40 delay.d \ 41 denorm.d \ 42 end.d \ 43 error.d \ 44 errorpath.d \ 45 find.d \ 46 firebird.d \ 47 hello.d \ 48 howlong.d \ 49 interp.d \ 50 interval.d \ 51 intr.d \ 52 iocpu.d \ 53 iosnoop.d \ 54 iothrough.d \ 55 iotime.d \ 56 ipio.d \ 57 ipproto.d \ 58 tcprst.d \ 59 kstat.d \ 60 ksyms.d \ 61 libc.d \ 62 lquantize.d \ 63 lwptime.d \ 64 normalize.d \ 65 nscd.d \ 66 pri.d \ 67 printa.d \ 68 pritime.d \ 69 prof.d \ 70 profpri.d \ 71 progtime.d \ 72 putnext.d \ 73 qlen.d \ 74 qtime.d \ 75 renormalize.d \ 76 restest.d \ 77 ring.d \ 78 rtime.d \ 79 rwinfo.d \ 80 rwtime.d \ 81 sig.d \ 82 soffice.d \ 83 spec.d \ 84 specopen.d \ 85 ssd.d \ 86 syscall.d \ 87 tcp1stbyte.d \ 88 tcpbytes.d \ 89 tcpbytesstat.d \ 90 tcpconnlat.d \ 91 tcpio.d \ 92 tcpioflags.d \ 93 tcpsnoop.d \ 94 tcpstate.d \ 95 tcptop.d \ 96 tick.d \ 97 ticktime.d \ 98 time.d \ 99 tracewrite.d \ 100 trunc.d \ 101 trussrw.d \ 102 udpbytes.d \ 103 udpbytesstat.d \ 104 udpio.d \ 105 udpsnoop.d \ 106 udptop.d \ 107 userfunc.d \ 108 whatfor.d \ 109 whatlock.d \ 110 where.d \ 111 whererun.d \ 112 whoexec.d \ 113 whofor.d \ 114 whoio.d \ 115 whopreempt.d \ 116 whoqueue.d \ 117 whosteal.d \ 118 whowrite.d \ 119 writes.d \ 120 writesbycmd.d \ 121 writesbycmdfd.d \ 122 writetime.d \ 123 writetimeq.d \ 124 xioctl.d \ 125 xterm.d \ 126 xwork.d \ 127 $($(MACH)_DFILES) 128 129HTMLFILES = index.html 130 131DEMOFILES = \ 132 $(DFILES) \ 133 $(HTMLFILES) \ 134 sunlogo.gif 135 136MKDEMO = mkdemo 137CLEANFILES += $(DFILES) $(MKDEMO) 138CLOBBERFILES = $(HTMLFILES) 139 140ROOTDEMODIR = $(ROOT)/usr/demo/dtrace 141ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%) 142 143all: $(DEMOFILES) 144 145clean: 146 $(RM) $(CLEANFILES) 147 148clobber: clean 149 $(RM) $(CLOBBERFILES) 150 151clean.lint install_h lint: 152 153install: $(ROOTDEMOFILES) 154 155$(ROOTDEMODIR): 156 $(INS.dir) 157 158$(ROOTDEMODIR)/%: % 159 $(INS.file) 160 161$(HTMLFILES): $(DFILES) $(MKDEMO) 162 ./$(MKDEMO) $@ 163 164$(DFILES): $(MKDEMO) 165 ./$(MKDEMO) $@ 166 167$(ROOTDEMOFILES): $(ROOTDEMODIR) 168 169$(ROOTDEMODIR) := DIRMODE = 755 170 171$(ROOTDEMOFILES) := FILEMODE = 644 172