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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmapid/Makefile.com
          +++ new/usr/src/lib/libmapid/Makefile.com
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  $(LINTLIB) := SRCS = $(LINTSRC:%=$(SRCDIR)/%)
  50   50  lintcheck  :=   SRCS = $(LIBSRCS)
  51   51  
  52   52  LDLIBS  +=      -lresolv -lc -lscf
  53   53  
  54   54  CFLAGS  +=      $(CCVERBOSE)
  55   55  CPPFLAGS +=     -I$(SRCDIR) -I$(SMF_DIR) -D_REENTRANT
  56   56  
  57   57  CERRWARN +=     -_gcc=-Wno-switch
  58   58  CERRWARN +=     -_gcc=-Wno-unused-variable
  59      -CERRWARN +=     -_gcc=-Wno-uninitialized
       59 +CERRWARN +=     $(CNOWARN_UNINIT)
  60   60  
  61   61  SMOFF += all_func_returns
  62   62  
  63   63  .KEEP_STATE:
  64   64  
  65   65  all:  $(LIBS)
  66   66  
  67   67  install: $(ROOTLIBDIR) all
  68   68  
  69   69  lint:   $(LINTLIB) lintcheck
  70   70  
  71   71  pics/%.o:       $(SMF_DIR)/%.c
  72   72          $(COMPILE.c) -o $@ $<
  73   73          $(POST_PROCESS_O)
  74   74  
  75   75  $(ROOTLIBDIR):
  76   76          $(INS.dir)
  77   77  
  78   78  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX