xref: /titanic_41/usr/src/Makefile.noget (revision d89fccd8788afe1e920f842edd883fe192a1b8fe)
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#
23# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29#
30# Makefile.noget: disable automated "sccs get" which causes us no end
31# of trouble in as many different ways as possible.
32#
33SCCSCHECK=$(ONBLD_TOOLS)/bin/sccscheck
34GET=$(ONBLD_TOOLS)/bin/sccscheck
35
36# Deliberately sabotage other attempts to use "sccs get" from makefiles,
37# with flags known not to be accepted by "sccs get" or "get",
38# in the event that one of these rules is overridden elsewhere in the tree.
39SCCSFLAGS=--dont-get-it-now
40SCCSGETFLAGS=--dont-get-it-now
41GFLAGS=--dont-get-it-now
42
43# Disable these targets as well
44.SCCS_GET:
45	$(SCCSCHECK) $@
46
47.SCCS_GET_POSIX:
48	$(SCCSCHECK) $@
49
50.GET_POSIX:
51	$(SCCSCHECK) $@
52
53# The list of ~-suffix rules here was extracted from a copy of
54# 	/usr/share/lib/make/make.rules
55# which was tagged:
56# 	"make.rules.file   1.21    03/11/14 SMI"
57#
58# These could be consolidated into a smaller number of targets but
59# are intentionally left as-is to facilitate cross-checking against
60# newer versions of make.rules
61#
62
63.c~:
64	$(SCCSCHECK) $<
65
66.c~.o:
67	$(SCCSCHECK) $<
68
69.c~.i:
70	$(SCCSCHECK) $<
71
72.c~.ln:
73	$(SCCSCHECK) $<
74
75.c~.a:
76	$(SCCSCHECK) $<
77
78.y~:
79	$(SCCSCHECK) $<
80
81.y~.c:
82	$(SCCSCHECK) $<
83
84.y~.ln:
85	$(SCCSCHECK) $<
86
87.y~.o:
88	$(SCCSCHECK) $<
89
90.l~:
91	$(SCCSCHECK) $<
92
93.l~.c:
94	$(SCCSCHECK) $<
95
96.l~.ln:
97	$(SCCSCHECK) $<
98
99.l~.o:
100	$(SCCSCHECK) $<
101
102.cc~:
103	$(SCCSCHECK) $<
104
105.cc~.o:
106	$(SCCSCHECK) $<
107
108.cc~.i:
109	$(SCCSCHECK) $<
110
111.cc~.a:
112	$(SCCSCHECK) $<
113
114.C~:
115	$(SCCSCHECK) $<
116
117.C~.o:
118	$(SCCSCHECK) $<
119
120.C~.i:
121	$(SCCSCHECK) $<
122
123.C~.a:
124	$(SCCSCHECK) $<
125
126.f~:
127	$(SCCSCHECK) $<
128
129.f~.o:
130	$(SCCSCHECK) $<
131
132.f~.a:
133	$(SCCSCHECK) $<
134
135.for~:
136	$(SCCSCHECK) $<
137
138.for~.o:
139	$(SCCSCHECK) $<
140
141.for~.a:
142	$(SCCSCHECK) $<
143
144.F~:
145	$(SCCSCHECK) $<
146
147.F~.o:
148	$(SCCSCHECK) $<
149
150.F~.a:
151	$(SCCSCHECK) $<
152
153.r~:
154	$(SCCSCHECK) $<
155
156.r~.o:
157	$(SCCSCHECK) $<
158
159.r~.a:
160	$(SCCSCHECK) $<
161
162.f90~:
163	$(SCCSCHECK) $<
164
165.f90~.o:
166	$(SCCSCHECK) $<
167
168.f90~.a:
169	$(SCCSCHECK) $<
170
171.ftn~:
172	$(SCCSCHECK) $<
173
174.ftn~.o:
175	$(SCCSCHECK) $<
176
177.ftn~.a:
178	$(SCCSCHECK) $<
179
180.def~.sym:
181	$(SCCSCHECK) $<
182
183.mod~:
184	$(SCCSCHECK) $<
185
186.mod~.o:
187	$(SCCSCHECK) $<
188
189.mod~.a:
190	$(SCCSCHECK) $<
191
192.p~:
193	$(SCCSCHECK) $<
194
195.p~.o:
196	$(SCCSCHECK) $<
197
198.p~.a:
199	$(SCCSCHECK) $<
200
201.s~.o:
202	$(SCCSCHECK) $<
203
204.s~.a:
205	$(SCCSCHECK) $<
206
207.S~.o:
208	$(SCCSCHECK) $<
209
210.S~.a:
211	$(SCCSCHECK) $<
212
213.sh~:
214	$(SCCSCHECK) $<
215
216.cps~.h:
217	$(SCCSCHECK) $<
218
219.java~.class:
220	$(SCCSCHECK) $<
221