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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/librtld/amd64/Makefile
          +++ new/usr/src/cmd/sgs/librtld/amd64/Makefile
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  25   25  #
  26   26  
  27   27  include         $(SRC)/cmd/sgs/librtld/Makefile.com
  28   28  
  29   29  CPPFLAGS +=     -I../../../../uts/intel/amd64/krtld
  30   30  
  31   31  .KEEP_STATE:
  32   32  
  33      -ROOTFS_DYNLIB64 =       $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
  34      -$(ROOTFS_DYNLIB64) :=   FILEMODE=755
  35      -
  36   33  all:            $(DYNLIB) $(LIBLINKS)
  37   34  
  38      -install:        all $(ROOTFS_DYNLIB64)
       35 +install:        all $(ROOTLIBS64) $(ROOTCOMPATLINKS64)
  39   36  
  40   37  CPPFLAGS +=     -D_ELF64
  41   38  
  42   39  
  43   40  include         $(SRC)/cmd/sgs/librtld/Makefile.targ
  44   41  include         ../../Makefile.sub.64
  45   42  
  46   43  CONVLIBDIR =    $(CONVLIBDIR64)
  47   44  ELFLIBDIR =     $(ELFLIBDIR64)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX