Print this page
7612 SGSPROTO lacks structure
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/Makefile
          +++ new/usr/src/cmd/sgs/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  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) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
       23 +# Copyright 2016 RackTop Systems.
  23   24  #
  24   25  
  25   26  include         $(SRC)/cmd/Makefile.cmd
  26   27  
  27   28  # Note: Why SUBDIRS-common isn't sorted alphabetically
  28   29  #
  29   30  # The items under SGS are not independent of each other.
  30   31  # They must be built in an order that ensures that
  31   32  # all dependencies of an item have been built before the
  32   33  # item itself.
↓ open down ↓ 133 lines elided ↑ open up ↑
 166  167                  @ cd libldstab/$(MACH); pwd; $(MAKE) native
 167  168                  @ cd libld/$(MACH); pwd; $(MAKE) native
 168  169                  @ cd ld/$(MACH); pwd; $(MAKE) native
 169  170  
 170  171  native-clobber:
 171  172                  @ cd tools; pwd; $(MAKE) $(TARGET)
 172  173                  $(RM) -r proto/$(MACH)
 173  174  
 174  175  native-proto:
 175  176                  -@mkdir -p proto/$(MACH)
      177 +                -@mkdir -p proto/$(MACH)/lib
      178 +                -@mkdir -p proto/$(MACH)/usr
      179 +                -@mkdir -p proto/$(MACH)/usr/bin
 176  180  
 177  181  FRC:
 178  182  
 179  183  #
 180  184  # Cross-reference customization: ignore the directories named by XRPRUNE,
 181  185  # and tweak the file globs slightly.
 182  186  #
 183  187  XRPRUNE=        rtld.4.x packages abi
 184  188  XRADD=          *.msg mapfile* llib-[a-z]*
 185  189  XRDEL=          Makefile* kobj_*
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX