hotspot/make/linux/makefiles/rules.make
changeset 25639 61be16de0fd5
parent 13963 e5b53c306fb5
child 26691 40ea2c41f53b
equal deleted inserted replaced
25638:907806460916 25639:61be16de0fd5
     1 #
     1 #
     2 # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.
     7 # published by the Free Software Foundation.
    17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    18 #
    18 #
    19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20 # or visit www.oracle.com if you need additional information or have any
    20 # or visit www.oracle.com if you need additional information or have any
    21 # questions.
    21 # questions.
    22 #  
    22 #
    23 #
    23 #
    24 
    24 
    25 # Common rules/macros for the vm, adlc.
    25 # Common rules/macros for the vm, adlc.
    26 
    26 
    27 # Tell make that .cpp is important
    27 # Tell make that .cpp is important
    28 .SUFFIXES: .cpp $(SUFFIXES)
    28 .SUFFIXES: .cpp $(SUFFIXES)
    29 
    29 
    30 DEMANGLER       = c++filt
    30 DEMANGLER       = c++filt
    31 DEMANGLE        = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@
    31 DEMANGLE        = $(DEMANGLER) < $@ > .$@ && $(MV) -f .$@ $@
    32 
    32 
    33 # $(CC) is the c compiler (cc/gcc), $(CXX) is the c++ compiler (CC/g++).
    33 # $(CC) is the c compiler (cc/gcc), $(CXX) is the c++ compiler (CC/g++).
    34 CC_COMPILE       = $(CC) $(CXXFLAGS) $(CFLAGS)
    34 CC_COMPILE       = $(CC) $(CXXFLAGS) $(CFLAGS)
    35 CXX_COMPILE      = $(CXX) $(CXXFLAGS) $(CFLAGS)
    35 CXX_COMPILE      = $(CXX) $(CXXFLAGS) $(CFLAGS)
    36 
    36