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.
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.
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]
23 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I% %E% SMI"
30 # Makefile.noget: disable automated "sccs get" which causes us no end
31 # of trouble in as many different ways as possible.
33 # Ordinarily, we'd say "$(ONBLD_TOOLS)/bin/sccscheck" here, but make
34 # has special knowledge of SCCS and will refuse to run an SCCS rule if
35 # the target is a writeable file, for fear that it will be destroying
36 # your edits in progress. But with .KEEP_STATE enabled, any change to
37 # the command which would have been used to "build" the source file
38 # forces the command to be re-run. So if your effective ONBLD_TOOLS
39 # changes (for instance, if you do a nightly -t to populate a
40 # workspace, and then "ws" into it to check out a file and then do
41 # some selective builds, make will notice the change in the full path
42 # of the "sccscheck" command, will seek to re-run it, and abort the
43 # build because the checked-out file is writeable. So instead, by
44 # default, we just use whichever sccscheck happens to be first in
45 # $PATH and hope for the best. Those who don't entirely trust this
46 # are of course welcome to consistently set SCCSCHECK in their
47 # environment to override this.
52 # Deliberately sabotage other attempts to use "sccs get" from makefiles,
53 # with flags known not to be accepted by "sccs get" or "get",
54 # in the event that one of these rules is overridden elsewhere in the tree.
55 SCCSFLAGS=--dont-get-it-now
56 SCCSGETFLAGS=--dont-get-it-now
57 GFLAGS=--dont-get-it-now
59 # Disable these targets as well
69 # The list of ~-suffix rules here was extracted from a copy of
70 # /usr/share/lib/make/make.rules
72 # "make.rules.file 1.21 03/11/14 SMI"
74 # These could be consolidated into a smaller number of targets but
75 # are intentionally left as-is to facilitate cross-checking against
76 # newer versions of make.rules