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

Split Close
Expand all
Collapse all
          --- old/usr/src/ucblib/libcurses/Makefile.com
          +++ new/usr/src/ucblib/libcurses/Makefile.com
↓ open down ↓ 80 lines elided ↑ open up ↑
  81   81  CFLAGS64 +=     $(CCVERBOSE)
  82   82  DYNFLAGS +=     $(ZINTERPOSE)
  83   83  DYNFLAGS32 =    -R/usr/ucblib
  84   84  DYNFLAGS64 =    -R/usr/ucblib/$(MACH64)
  85   85  LDLIBS +=       -ltermcap -lucb -lc
  86   86  
  87   87  CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
  88   88  
  89   89  CERRWARN +=     -_gcc=-Wno-parentheses
  90   90  CERRWARN +=     -_gcc=-Wno-unused-variable
  91      -CERRWARN +=     -_gcc=-Wno-uninitialized
       91 +CERRWARN +=     $(CNOWARN_UNINIT)
  92   92  
  93   93  # not linted
  94   94  SMATCH=off
  95   95  
  96   96  .KEEP_STATE:
  97   97  
  98   98  all: $(LIBS)
  99   99  
 100  100  lint: lintcheck
 101  101  
 102  102  #
 103  103  # Include library targets
 104  104  #
 105  105  include $(SRC)/lib/Makefile.targ
 106  106  
 107  107  objs/%.o pics/%.o: ../%.c
 108  108          $(COMPILE.c) -o $@ $<
 109  109          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX