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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtermcap/Makefile.com
          +++ new/usr/src/lib/libtermcap/Makefile.com
↓ open down ↓ 5 lines elided ↑ open up ↑
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  14   14  #
  15   15  
  16      -# install this library in the root filesystem
  17      -include ../../Makefile.rootfs
  18      -
  19   16  LIBRARY =       libtermcap.a
  20   17  VERS =          .1
  21   18  LIBS +=         $(LINTLIB)
       19 +
       20 +# install this library in the root filesystem
       21 +include ../../Makefile.rootfs
       22 +
       23 +COMPATLINKS +=  /usr/ccs/lib/libtermcap.so
       24 +COMPATLINKS64 += /usr/ccs/lib/$(MACH64)/libtermcap.so
       25 +
       26 +$(ROOT)/usr/ccs/lib/libtermcap.so := \
       27 +        COMPATLINKTARGET=../../../lib/libtermcap.so.1
       28 +$(ROOT)/usr/ccs/lib/$(MACH64)/libtermcap.so := \
       29 +        COMPATLINKTARGET=../../../../lib/$(MACH64)/libtermcap.so.1
  22   30  
  23   31  DYNFLAGS +=     $(ZLOADFLTR)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX