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 25 include ../../Makefile.cmd 26 27 i386_DFILES = \ 28 iprb.d 29 30 DFILES = \ 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 129 HTMLFILES = index.html 130 131 DEMOFILES = \ 132 $(DFILES) \ 133 $(HTMLFILES) 134 135 MKDEMO = mkdemo 136 CLEANFILES += $(DFILES) $(MKDEMO) 137 CLOBBERFILES = $(HTMLFILES) 138 139 ROOTDEMODIR = $(ROOT)/usr/demo/dtrace 140 ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%) 141 142 all: $(DEMOFILES) 143 144 clean: 145 $(RM) $(CLEANFILES) 146 147 clobber: clean 148 $(RM) $(CLOBBERFILES) 149 150 clean.lint install_h lint: 151 152 install: $(ROOTDEMOFILES) 153 154 $(ROOTDEMODIR): 155 $(INS.dir) 156 157 $(ROOTDEMODIR)/%: % 158 $(INS.file) 159 160 $(HTMLFILES): $(DFILES) $(MKDEMO) 161 ./$(MKDEMO) $@ 162 163 $(DFILES): $(MKDEMO) 164 ./$(MKDEMO) $@ 165 166 $(ROOTDEMOFILES): $(ROOTDEMODIR) 167 168 $(ROOTDEMODIR) := DIRMODE = 755 169 170 $(ROOTDEMOFILES) := FILEMODE = 644