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