corba/make/common/CancelImplicits.gmk
author ohair
Wed, 02 Sep 2009 09:20:17 -0700
changeset 3871 3d528461f61d
parent 4 02bb8761fcce
child 3876 7e1a948466e2
permissions -rw-r--r--
6875240: Reduce Makefile build time by limiting repeated exec's (mostly for cygwin building) Reviewed-by: jjg, iris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
#
02bb8761fcce Initial load
duke
parents:
diff changeset
     2
# Copyright 1998-1999 Sun Microsystems, Inc.  All Rights Reserved.
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
#
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
02bb8761fcce Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.  Sun designates this
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
02bb8761fcce Initial load
duke
parents:
diff changeset
     9
# by Sun in the LICENSE file that accompanied this code.
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
02bb8761fcce Initial load
duke
parents:
diff changeset
    22
# CA 95054 USA or visit www.sun.com if you need additional information or
02bb8761fcce Initial load
duke
parents:
diff changeset
    23
# have any questions.
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
# Cancel some GNU make implicit rules.  This causes far fewer stats
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
# (crucial in incremental builds, when all that is being done is stats -- I
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
# notice upto 20% speedup on local disk). See sections "10.2 Catalogue of
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
# Implicit Rules" and "10.5.6 Canceling Implicit Rules" in make.dvi; see
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
# also the output of gnumake -p.
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
# CAUTION! This is the first thing included in our makefiles, so you must
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
# not add any targets here.  Canceling %.f: %.F doesn't make any sense
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
# because we don't have any targets ending with .f.
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
# We don't make binaries directly from .{source} files with implicit
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
# rules, so disable all of them.
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
#
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
ifndef USE_IMPLICITS
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
%: %.o
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
%: %.obj
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
%: %.dll
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
%: %.c
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
%: %.cc
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
%: %.C
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
%: %.p
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
%: %.f
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
%: %.s
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
%: %.F
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
%: %.r
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
%: %.S
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
%: %.mod
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
%: %.sh
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
endif
02bb8761fcce Initial load
duke
parents:
diff changeset
    58