Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/Makefile.targ
          +++ new/usr/src/cmd/sgs/Makefile.targ
↓ open down ↓ 13 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2016 RackTop Systems.
  24   25  #
  25   26  
  26   27  # Standard install rules
  27   28  # The VAR_SGSBIN and VAR_SGSBIN64 install rules included here are applicable
  28   29  # to Solaris 10 and earlier releases. For post Solaris 10 releases, the 
  29   30  # standard ROOTBIN and ROOTBIN64 rules defined in ../Makefile.cmd are used.
  30   31  # The new rules here are included to allow for easier backporting. Making
  31   32  # the appropriate updates in ./Makefile.var, will allow the SGS components
  32   33  # to be installed in /usr/ccs/bin rather than the current /usr/bin.
  33   34  #
↓ open down ↓ 189 lines elided ↑ open up ↑
 223  224          $(INS.liblink)
 224  225  
 225  226  $(ROOTFS_LIBDIR64)/$(LIBLINKS): $(ROOTFS_LIBDIR64)/$(LIBLINKS)$(VERS)
 226  227          $(INS.liblink64)
 227  228  
 228  229  $(ROOTFS_LIBDIR)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)$(VERS)
 229  230          $(INS.liblinkccc)
 230  231  
 231  232  $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)$(VERS)
 232  233          $(INS.liblinkccc64)
      234 +
      235 +#
      236 +# For those that install into the SGSPROTO directory.
      237 +#
      238 +$(SGSPROTO):
      239 +        $(INS.dir)
      240 +
      241 +$(SGSBINDIR): $(SGSPROTO)
      242 +        $(INS.dir)
      243 +
      244 +$(SGSPREFIX): $(SGSPROTO)
      245 +        $(INS.dir)
      246 +
      247 +$(SGSLIBDIR): $(SGSPREFIX)
      248 +        $(INS.dir)
 233  249  
 234  250  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX