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


  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  26 #
  27 
  28 include         $(SRC)/lib/Makefile.filter.com
  29 include         ../Makefile.com
  30 
  31 DYNFLAGS +=     -F /usr/lib/ld.so.1
  32 
  33 # A symbolic link from /usr/4lib/libdl.so.1.0 is required for BCP.
  34 
  35 4VERS =         .0
  36 
  37 4DYNLIB =       libdl.so.1$(4VERS)
  38 ROOT4LIBDIR =   $(ROOT)/usr/4lib
  39 ROOT4LINKS =    $(ROOT4LIBDIR)/$(4DYNLIB)
  40 $(ROOT4LINKS):= LIBLINKPATH = ../../lib/
  41 
  42 install:        all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOT4LINKS)

  43 
  44 $(ROOT4LINKS):  $(ROOTFS_DYNLIB)
  45                 $(INS.liblink)
  46 
  47 include         $(SRC)/lib/Makefile.filter.targ


  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  26 #
  27 
  28 include         $(SRC)/lib/Makefile.filter.com
  29 include         ../Makefile.com
  30 
  31 DYNFLAGS +=     -F /usr/lib/ld.so.1
  32 
  33 # A symbolic link from /usr/4lib/libdl.so.1.0 is required for BCP.
  34 
  35 4VERS =         .0
  36 
  37 4DYNLIB =       libdl.so.1$(4VERS)
  38 ROOT4LIBDIR =   $(ROOT)/usr/4lib
  39 ROOT4LINKS =    $(ROOT4LIBDIR)/$(4DYNLIB)
  40 $(ROOT4LINKS):= LIBLINKPATH = ../../lib/
  41 
  42 install:        all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) \
  43         $(ROOT4LINKS) $(ROOTCOMPATLINKS64)
  44 
  45 $(ROOT4LINKS):  $(ROOTFS_DYNLIB)
  46                 $(INS.liblink)
  47 
  48 include         $(SRC)/lib/Makefile.filter.targ