Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  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 
  62 ROOTFS_DYNLIB=  $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
  63 ROOTFS_LINKS=   $(ROOTFS_LIBDIR)/$(LIBLINKS)


  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 +=     $(CNOWARN_UNINIT)
  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 
  62 ROOTFS_DYNLIB=  $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
  63 ROOTFS_LINKS=   $(ROOTFS_LIBDIR)/$(LIBLINKS)