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


  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 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  24 #
  25 
  26 LIBRARY=        librtld_db.a
  27 VERS=           .1
  28 
  29 COMOBJS=        rtld_db.o       rd_elf.o
  30 BLTOBJ=         msg.o
  31 
  32 OBJECTS =       $(BLTOBJ) $(COMOBJS) $(COMOBJS64) $(PLTOBJS)
  33 
  34 include         $(SRC)/lib/Makefile.lib

  35 include         $(SRC)/cmd/sgs/Makefile.com
  36 
  37 SRCDIR =        ../common
  38 
  39 CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc
  40 DYNFLAGS +=     $(VERSREF)
  41 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
  42 
  43 CERRWARN +=     -_gcc=-Wno-uninitialized
  44 
  45 BLTDEFS=        msg.h
  46 BLTDATA=        msg.c
  47 
  48 BLTFILES=       $(BLTDEFS) $(BLTDATA)
  49 
  50 SGSMSGCOM=      ../common/librtld_db.msg
  51 SGSMSGINTEL=    ../common/librtld_db.intel.msg
  52 SGSMSGSPARCV9=  ../common/librtld_db.sparcv9.msg
  53 SGSMSGTARG=     $(SGSMSGCOM)
  54 SGSMSGALL=      $(SGSMSGCOM)


  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 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  24 #
  25 
  26 LIBRARY=        librtld_db.a
  27 VERS=           .1
  28 
  29 COMOBJS=        rtld_db.o       rd_elf.o
  30 BLTOBJ=         msg.o
  31 
  32 OBJECTS =       $(BLTOBJ) $(COMOBJS) $(COMOBJS64) $(PLTOBJS)
  33 
  34 include         $(SRC)/lib/Makefile.lib
  35 include         $(SRC)/lib/Makefile.rootfs
  36 include         $(SRC)/cmd/sgs/Makefile.com
  37 
  38 SRCDIR =        ../common
  39 
  40 CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc
  41 DYNFLAGS +=     $(VERSREF)
  42 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
  43 
  44 CERRWARN +=     -_gcc=-Wno-uninitialized
  45 
  46 BLTDEFS=        msg.h
  47 BLTDATA=        msg.c
  48 
  49 BLTFILES=       $(BLTDEFS) $(BLTDATA)
  50 
  51 SGSMSGCOM=      ../common/librtld_db.msg
  52 SGSMSGINTEL=    ../common/librtld_db.intel.msg
  53 SGSMSGSPARCV9=  ../common/librtld_db.sparcv9.msg
  54 SGSMSGTARG=     $(SGSMSGCOM)
  55 SGSMSGALL=      $(SGSMSGCOM)