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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdhcputil/Makefile.com
          +++ new/usr/src/lib/libdhcputil/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  LIBS =          $(DYNLIB) $(LINTLIB)
  40   40  
  41   41  LDLIBS +=       -lc -lgen -linetutil -ldlpi
  42   42  
  43   43  SRCDIR =        ../common
  44   44  SRCS =          $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
  45   45  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  46   46  
  47   47  CFLAGS +=       $(CCVERBOSE)
  48   48  CERRWARN +=     -_gcc=-Wno-switch
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  CPPFLAGS +=     -I$(COMDIR)
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  .KEEP_STATE:
  56   56  
  57   57  all: $(LIBS)
  58   58  
  59   59  lint: lintcheck
  60   60  
  61   61  pics/%.o: $(COMDIR)/%.c
  62   62          $(COMPILE.c) -o $@ $<
  63   63          $(POST_PROCESS_O)
  64   64  
  65   65  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX