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>


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.

  24 #
  25 
  26 # Standard install rules
  27 # The VAR_SGSBIN and VAR_SGSBIN64 install rules included here are applicable
  28 # to Solaris 10 and earlier releases. For post Solaris 10 releases, the 
  29 # standard ROOTBIN and ROOTBIN64 rules defined in ../Makefile.cmd are used.
  30 # The new rules here are included to allow for easier backporting. Making
  31 # the appropriate updates in ./Makefile.var, will allow the SGS components
  32 # to be installed in /usr/ccs/bin rather than the current /usr/bin.
  33 #
  34 $(VAR_SGSBIN)/%: %
  35         $(INS.file)
  36 
  37 $(VAR_SGSBIN64)/%: %
  38         $(INS.file)
  39 
  40 ################################################################################
  41 #
  42 # Linting the Linker Libraries
  43 #


 213         fi
 214         @ rm -f $(LINTOUT1) $(LINTOUT32) $(LINTOUT64)
 215 
 216 #
 217 # For those that install the lint library source file.
 218 #
 219 $(ROOTLIBDIR)/$(LINTLIBSRC): ../common/$(LINTLIBSRC)
 220         $(INS.file) ../common/$(LINTLIBSRC)
 221 
 222 $(ROOTFS_LIBDIR)/$(LIBLINKS): $(ROOTFS_LIBDIR)/$(LIBLINKS)$(VERS)
 223         $(INS.liblink)
 224 
 225 $(ROOTFS_LIBDIR64)/$(LIBLINKS): $(ROOTFS_LIBDIR64)/$(LIBLINKS)$(VERS)
 226         $(INS.liblink64)
 227 
 228 $(ROOTFS_LIBDIR)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)$(VERS)
 229         $(INS.liblinkccc)
 230 
 231 $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)$(VERS)
 232         $(INS.liblinkccc64)















 233 
 234 FRC:


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2016 RackTop Systems.
  25 #
  26 
  27 # Standard install rules
  28 # The VAR_SGSBIN and VAR_SGSBIN64 install rules included here are applicable
  29 # to Solaris 10 and earlier releases. For post Solaris 10 releases, the 
  30 # standard ROOTBIN and ROOTBIN64 rules defined in ../Makefile.cmd are used.
  31 # The new rules here are included to allow for easier backporting. Making
  32 # the appropriate updates in ./Makefile.var, will allow the SGS components
  33 # to be installed in /usr/ccs/bin rather than the current /usr/bin.
  34 #
  35 $(VAR_SGSBIN)/%: %
  36         $(INS.file)
  37 
  38 $(VAR_SGSBIN64)/%: %
  39         $(INS.file)
  40 
  41 ################################################################################
  42 #
  43 # Linting the Linker Libraries
  44 #


 214         fi
 215         @ rm -f $(LINTOUT1) $(LINTOUT32) $(LINTOUT64)
 216 
 217 #
 218 # For those that install the lint library source file.
 219 #
 220 $(ROOTLIBDIR)/$(LINTLIBSRC): ../common/$(LINTLIBSRC)
 221         $(INS.file) ../common/$(LINTLIBSRC)
 222 
 223 $(ROOTFS_LIBDIR)/$(LIBLINKS): $(ROOTFS_LIBDIR)/$(LIBLINKS)$(VERS)
 224         $(INS.liblink)
 225 
 226 $(ROOTFS_LIBDIR64)/$(LIBLINKS): $(ROOTFS_LIBDIR64)/$(LIBLINKS)$(VERS)
 227         $(INS.liblink64)
 228 
 229 $(ROOTFS_LIBDIR)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)$(VERS)
 230         $(INS.liblinkccc)
 231 
 232 $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)$(VERS)
 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)
 249 
 250 FRC: