Print this page
    
*** NO COMMENTS ***
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/tools/Makefile.tools
          +++ new/usr/src/tools/Makefile.tools
   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) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24   24  # Definitions common to tool source.
  25   25  #
  26   26  include $(SRC)/Makefile.master
  27   27  
  28   28  FILEMODE=       0555
  29   29  
  30   30  TOOLS=                  $(SRC)/tools
  
    | 
      ↓ open down ↓ | 
    30 lines elided | 
    
      ↑ open up ↑ | 
  
  31   31  TOOLS_PROTO=            $(TOOLS)/proto/root_$(MACH)-nd
  32   32  ROOTOPT=                $(TOOLS_PROTO)/opt
  33   33  ROOTONBLD=              $(ROOTOPT)/onbld
  34   34  ROOTONBLDBIN=           $(ROOTONBLD)/bin
  35   35  ROOTONBLDBINMACH=       $(ROOTONBLD)/bin/$(MACH)
  36   36  ROOTONBLDETC=           $(ROOTONBLD)/etc
  37   37  ROOTONBLDLIB=           $(ROOTONBLD)/lib
  38   38  ROOTONBLDLIBMACH=       $(ROOTONBLD)/lib/$(MACH)
  39   39  ROOTONBLDLIBPERL=       $(ROOTONBLD)/lib/perl
  40   40  ROOTONBLDLIBPY=         $(ROOTONBLD)/lib/python
  41      -ROOTONBLDLIBPY_24=      $(ROOTONBLD)/lib/python2.4
  42   41  ROOTONBLDLIBPY_26=      $(ROOTONBLD)/lib/python2.6
  43   42  ROOTONBLDENV=           $(ROOTONBLD)/env
  44   43  ROOTONBLDGK=            $(ROOTONBLD)/gk
  45   44  ROOTONBLDMAN=           $(ROOTONBLD)/man
  46   45  ROOTONBLDMAN1=          $(ROOTONBLD)/man/man1
  47   46  ROOTONBLDETCABI=        $(ROOTONBLD)/etc/abi
  48   47  ROOTONBLDETCEXCEPT=     $(ROOTONBLD)/etc/exception_lists
  49   48  
  50   49  CPPFLAGS=               -D_TS_ERRNO
  51   50  ELFSIGN_O=              $(TRUE)
  52   51  LDLIBS=
  53   52  LDFLAGS=                $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
  54   53                              $(MAPFILE.PGA:%=-M%)
  55   54  
  56   55  ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
  57   56  ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
  58   57  ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
  59   58  ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
  60   59  ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
  61   60  ROOTONBLDMACHBINARIES=  $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
  62   61  ROOTONBLDETCFILES=      $(ETCFILES:%=$(ROOTONBLDETC)/%)
  63   62  ROOTONBLDENVFILES=      $(ENVFILES:%=$(ROOTONBLDENV)/%)
  64   63  ROOTONBLDGKFILES=       $(GKFILES:%=$(ROOTONBLDGK)/.%)
  65   64  ROOTONBLDGKSHFILES=     $(SHFILES:%=$(ROOTONBLDGK)/%)
  66   65  ROOTONBLDPERLFILES=     $(PERLFILES:%=$(ROOTONBLDBIN)/%)
  67   66  ROOTONBLDPERLMODULES=   $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
  68   67  ROOTONBLDPYFILES=       $(PYFILES:%=$(ROOTONBLDBIN)/%)
  69   68  ROOTONBLDMAN1FILES=     $(MAN1FILES:%=$(ROOTONBLDMAN1)/%)
  70   69  ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
  71   70  ROOTONBLDEXCEPTFILES=   $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
  72   71  
  73   72  # Break a chicken-and-egg dependency cycle for the tools build
  74   73  SCCSCHECK=@echo would sccscheck
  75   74  
  76   75  $(ROOTONBLDETCABI)/%: %
  77   76          $(INS.file)
  78   77  
  79   78  $(ROOTONBLDETCEXCEPT)/%: $(CODEMGR_WS)/exception_lists/%
  80   79          $(INS.file)
  81   80  
  82   81  $(ROOTONBLDBIN)/%: %
  83   82          $(INS.file)
  84   83  
  85   84  $(ROOTONBLDBINMACH)/%: %
  86   85          $(INS.file)
  87   86  
  88   87  $(ROOTONBLDETC)/%: %
  89   88          $(INS.file)
  90   89  
  91   90  $(ROOTONBLDLIBPERL)/%: %
  92   91          $(INS.file)
  93   92  
  94   93  $(ROOTONBLDMAN1)/%: %
  95   94          $(INS.file)
  96   95  
  97   96  $(ROOTONBLDENV)/%: %
  98   97          $(INS.file)
  99   98  
 100   99  $(ROOTONBLDGK)/.%: %
 101  100          $(INS.rename)
 102  101  
 103  102  $(ROOTONBLDGK)/%: %
 104  103          $(INS.file)
  
    | 
      ↓ open down ↓ | 
    53 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX