Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools


  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)
  55 SGSMSGFLAGS +=  -h $(BLTDEFS) -d $(BLTDATA)
  56 
  57 MSGSRCS=        $(COMOBJS:%.o=../common/%.c) $(PLTSRCS) $(BLTDATA)
  58 
  59 CLEANFILES +=   $(BLTFILES)
  60 CLOBBERFILES += $(DYNLIB)
  61 


  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$(SRC)/lib/libc/inc
  40 DYNFLAGS +=     $(VERSREF)
  41 LDLIBS +=       $(CONVLIBDIR) -lconv -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)
  55 SGSMSGFLAGS +=  -h $(BLTDEFS) -d $(BLTDATA)
  56 
  57 MSGSRCS=        $(COMOBJS:%.o=../common/%.c) $(PLTSRCS) $(BLTDATA)
  58 
  59 CLEANFILES +=   $(BLTFILES)
  60 CLOBBERFILES += $(DYNLIB)
  61