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


  27 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  28 #
  29 
  30 PROG=           dump
  31 
  32 include         $(SRC)/cmd/Makefile.cmd
  33 include         $(SRC)/cmd/sgs/Makefile.com
  34 
  35 COMOBJS=        dump.o          fcns.o
  36 
  37 SRCS=           $(COMOBJS:%.o=../common/%.c)
  38 
  39 OBJS =          $(COMOBJS)
  40 .PARALLEL:      $(OBJS)
  41 
  42 CPPFLAGS +=     -D__EXTENSIONS__
  43 LLDFLAGS =      '$(LDPASS)-R$$ORIGIN/../../lib'
  44 LLDFLAGS64 =    '$(LDPASS)-R$$ORIGIN/../../../lib/$(MACH64)'
  45 LDFLAGS +=      $(LLDFLAGS)
  46 
  47 CERRWARN +=     -_gcc=-Wno-uninitialized
  48 
  49 SMOFF += indenting
  50 
  51 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf


  27 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  28 #
  29 
  30 PROG=           dump
  31 
  32 include         $(SRC)/cmd/Makefile.cmd
  33 include         $(SRC)/cmd/sgs/Makefile.com
  34 
  35 COMOBJS=        dump.o          fcns.o
  36 
  37 SRCS=           $(COMOBJS:%.o=../common/%.c)
  38 
  39 OBJS =          $(COMOBJS)
  40 .PARALLEL:      $(OBJS)
  41 
  42 CPPFLAGS +=     -D__EXTENSIONS__
  43 LLDFLAGS =      '$(LDPASS)-R$$ORIGIN/../../lib'
  44 LLDFLAGS64 =    '$(LDPASS)-R$$ORIGIN/../../../lib/$(MACH64)'
  45 LDFLAGS +=      $(LLDFLAGS)
  46 
  47 CERRWARN +=     $(CNOWARN_UNINIT)
  48 
  49 SMOFF += indenting
  50 
  51 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf