Print this page
lib: move compat links from targetdirs to proper makefiles

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/Makefile.mach
          +++ new/usr/src/lib/Makefile.mach
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28      -# lib/Makefile.mach
  29   26  #
       27 +
  30   28  # included to define targets built with machine-dependent source
  31   29  #
  32   30  
  33   31  # conditional assignment of default permissions for the installed DYNLIB.
  34   32  # set here and in Makefile.targ, instead of Makefile.lib, because ROOTLIBDIR
  35   33  # may be changed in the including makefile after it has included Makefile.lib.
  36   34  #
  37   35  $(ROOTLIBDIR)/$(DYNLIB)         := FILEMODE= 755
  38   36  $(ROOTLIBDIR64)/$(DYNLIB)       := FILEMODE= 755
  39   37  
↓ open down ↓ 8 lines elided ↑ open up ↑
  48   46          $(INS.liblink)
  49   47  
  50   48  $(ROOTLIBDIR64)/$(LIBLINKS):    $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
  51   49          $(INS.liblink64)
  52   50  
  53   51  $(MACHLIBS): FRC
  54   52          @cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)
  55   53  
  56   54  $(MACHLIBS64): FRC
  57   55          @cd $(@D); pwd; VERSION='$(VERSION)' $(MAKE) $(@F)
       56 +
       57 +$(ROOTCOMPATLINKS):
       58 +        $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
       59 +
       60 +$(ROOTCOMPATLINKS64):
       61 +        $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
  58   62  
  59   63  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX