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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/print/bsd-sysv-commands/Makefile
          +++ new/usr/src/cmd/print/bsd-sysv-commands/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  CFLAGS +=       $(CCVERBOSE)
  59   59  CPPFLAGS +=     -I.
  60   60  CPPFLAGS +=     -I../../../lib/print/libpapi-common/common
  61   61  CPPFLAGS +=     -I$(ROOT)/usr/include
  62   62  CPPFLAGS +=     -I../../lp/include
  63   63  LDLIBS +=       $(LIBLP) -lpapi -lc
  64   64  in.lpd:=        CFLAGS +=       -DSOLARIS_PRIVATE_POST_0_9
  65   65  in.lpd:=        LDLIBS +=       -lnsl -lsocket
  66   66  
  67   67  CERRWARN +=     -_gcc=-Wno-unused-variable
  68      -CERRWARN +=     -_gcc=-Wno-uninitialized
       68 +CERRWARN +=     $(CNOWARN_UNINIT)
  69   69  
  70   70  # not linted
  71   71  SMATCH=off
  72   72  
  73   73  all:    $(BINPROGS) $(SBINPROGS)
  74   74  
  75   75  #       each program needs common.o as well
  76   76  $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS):      $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c)  $(LIBPRINTPROGS:%=%.c) common.o
  77   77          $(LINK.c) -o $@ $@.c common.o $(LDLIBS)
  78   78          $(POST_PROCESS)
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX