Print this page
tools: build a tools copy of make (which the build will automatically use)

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/Makefile
          +++ new/usr/src/tools/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33          cw
  34   34  
  35   35  COMMON_SUBDIRS= \
  36   36          codereview \
  37   37          codesign \
  38   38          cscope-fast \
  39   39          ctf \
  40   40          depcheck \
  41   41          env \
  42   42          findunref \
  43      -        ndrgen \
  44      -        onbld \
  45      -        pmodes \
  46   43          gk \
  47   44          install.bin \
  48   45          lintdump \
       46 +        make \
       47 +        ndrgen \
       48 +        onbld \
       49 +        pmodes \
  49   50          protocmp \
  50   51          protolist \
  51   52          scripts
  52   53  
  53   54  #
  54   55  #  special versions of commands for use only in build
  55   56  #
  56   57  UNSHIPPED_SUBDIRS = \
  57   58          elfsign \
  58   59          mandoc
↓ open down ↓ 25 lines elided ↑ open up ↑
  84   85  
  85   86  include Makefile.tools
  86   87  
  87   88  ROOTDIRS= \
  88   89          $(ROOTOPT) \
  89   90          $(ROOTONBLD) \
  90   91          $(ROOTONBLD)/bin \
  91   92          $(ROOTONBLD)/bin/$(MACH) \
  92   93          $(ROOTONBLD)/lib \
  93   94          $(ROOTONBLD)/lib/$(MACH) \
       95 +        $(ROOTONBLD)/lib/$(MACH)/64 \
  94   96          $(ROOTONBLD)/lib/perl \
  95   97          $(ROOTONBLD)/lib/python2.6 \
  96   98          $(ROOTONBLD)/lib/python2.6/onbld \
  97   99          $(ROOTONBLD)/lib/python2.6/onbld/Checks \
  98  100          $(ROOTONBLD)/lib/python2.6/onbld/hgext \
  99  101          $(ROOTONBLD)/lib/python2.6/onbld/Scm \
 100  102          $(ROOTONBLD)/env \
 101  103          $(ROOTONBLD)/etc \
 102  104          $(ROOTONBLD)/etc/exception_lists \
      105 +        $(ROOTONBLD)/share \
 103  106          $(ROOTONBLD)/gk \
 104  107          $(ROOTONBLD)/man \
 105  108          $(ROOTONBLD)/man/man1
 106  109  
 107  110  all :=          TARGET= install
 108  111  install :=      TARGET= install
 109  112  clean :=        TARGET= clean
 110  113  clobber :=      TARGET= clobber
 111  114  lint :=         TARGET= lint
 112  115  _msg :=         TARGET= _msg
↓ open down ↓ 25 lines elided ↑ open up ↑
 138  141  
 139  142  $(BOOT_SUBDIRS) $(SUBDIRS): $$(DOROOTDIRS) $(ROOTONBLDLIBPY) FRC
 140  143          @cd $@; pwd; $(MAKE) $(TARGET)
 141  144  
 142  145  $(ROOTDIRS):
 143  146          $(INS.dir)
 144  147  
 145  148  $(ROOTONBLDLIBPY): $(ROOTDIRS)
 146  149          $(RM) -r $@; $(SYMLINK) python2.6 $@
 147  150  
      151 +make: ctf
      152 +
 148  153  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX