1 #
   2 # CDDL HEADER START
   3 #
   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 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  26 #
  27 
  28 # Standard install rules
  29 # The VAR_SGSBIN and VAR_SGSBIN64 install rules included here are applicable
  30 # to Solaris 10 and earlier releases. For post Solaris 10 releases, the
  31 # standard ROOTBIN and ROOTBIN64 rules defined in ../Makefile.cmd are used.
  32 # The new rules here are included to allow for easier backporting. Making
  33 # the appropriate updates in ./Makefile.var, will allow the SGS components
  34 # to be installed in /usr/ccs/bin rather than the current /usr/bin.
  35 #
  36 $(VAR_SGSBIN)/%: %
  37         $(INS.file)
  38 
  39 $(VAR_SGSBIN64)/%: %
  40         $(INS.file)
  41 
  42 $(ROOTFS_LIBDIR)/$(LIBLINKS): $(ROOTFS_LIBDIR)/$(LIBLINKS)$(VERS)
  43         $(INS.liblink)
  44 
  45 $(ROOTFS_LIBDIR64)/$(LIBLINKS): $(ROOTFS_LIBDIR64)/$(LIBLINKS)$(VERS)
  46         $(INS.liblink64)
  47 
  48 $(ROOTFS_LIBDIR)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)$(VERS)
  49         $(INS.liblinkccc)
  50 
  51 $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)$(VERS)
  52         $(INS.liblinkccc64)
  53 
  54 #
  55 # For those that install into the SGSPROTO directory.
  56 #
  57 $(SGSPROTO):
  58         $(INS.dir)
  59 
  60 $(SGSBINDIR): $(SGSPROTO)
  61         $(INS.dir)
  62 
  63 $(SGSPREFIX): $(SGSPROTO)
  64         $(INS.dir)
  65 
  66 $(SGSLIBDIR): $(SGSPREFIX)
  67         $(INS.dir)
  68 
  69 FRC: