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


  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) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  25 #
  26 
  27 include         $(SRC)/cmd/sgs/librtld/Makefile.com
  28 
  29 CPPFLAGS +=     -I../../../../uts/sparc/krtld
  30 
  31 .KEEP_STATE:
  32 
  33 ROOTFS_DYNLIB64 =       $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
  34 $(ROOTFS_DYNLIB64) :=   FILEMODE=755
  35 
  36 all:            $(DYNLIB) $(LIBLINKS)
  37 
  38 install:        all $(ROOTFS_DYNLIB64)
  39 
  40 CPPFLAGS +=     -D_ELF64
  41 
  42 
  43 include         $(SRC)/cmd/sgs/librtld/Makefile.targ
  44 include         ../../Makefile.sub.64
  45 
  46 CONVLIBDIR =    $(CONVLIBDIR64)
  47 ELFLIBDIR =     $(ELFLIBDIR64)


  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) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  25 #
  26 
  27 include         $(SRC)/cmd/sgs/librtld/Makefile.com
  28 
  29 CPPFLAGS +=     -I../../../../uts/sparc/krtld
  30 
  31 .KEEP_STATE:
  32 



  33 all:            $(DYNLIB) $(LIBLINKS)
  34 
  35 install:        all $(ROOTLIBS64) $(ROOTCOMPATLINKS64)
  36 
  37 CPPFLAGS +=     -D_ELF64
  38 
  39 
  40 include         $(SRC)/cmd/sgs/librtld/Makefile.targ
  41 include         ../../Makefile.sub.64
  42 
  43 CONVLIBDIR =    $(CONVLIBDIR64)
  44 ELFLIBDIR =     $(ELFLIBDIR64)