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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libexacct/Makefile.com
          +++ new/usr/src/lib/libexacct/Makefile.com
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  SRCS=           $(COMMON_OBJS:%.o=../../../common/exacct/%.c) \
  35   35                  $(LIB_OBJS:%.o=../common/%.c)
  36   36  
  37   37  LIBS =          $(DYNLIB) $(LINTLIB)
  38   38  LDLIBS +=       -lc
  39   39  
  40   40  SRCDIR =        ../common
  41   41  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42   42  
  43   43  CFLAGS +=       $(CCVERBOSE)
  44      -CERRWARN +=     -_gcc=-Wno-uninitialized
       44 +CERRWARN +=     $(CNOWARN_UNINIT)
  45   45  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  46   46  
  47   47  debug :=        CPPFLAGS += -DLIBEXACCT_DEBUG
  48   48  debug :=        COPTFLAG = $(CCGDEBUG)
  49   49  debug :=        COPTFLAG64 = $(CCGDEBUG)
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all debug: $(LIBS)
  54   54  
  55   55  lint: lintcheck
  56   56  
  57   57  include ../../Makefile.targ
  58   58  
  59   59  objs/%.o pics/%.o: ../../../common/exacct/%.c
  60   60          $(COMPILE.c) -o $@ $<
  61   61          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX