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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/smbsrv/smbadm/Makefile
          +++ new/usr/src/cmd/smbsrv/smbadm/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  SRCS=   smbadm.c
  31   31  
  32   32  include ../../Makefile.cmd
  33   33  include ../Makefile.smbsrv.defs
  34   34  
  35   35  LDLIBS += -L$(ROOT)/usr/lib/smbsrv -lsmb -lsmbns -lsecdb -lumem
  36   36  LDFLAGS += -R/usr/lib/smbsrv
  37   37  
  38   38  .KEEP_STATE:
  39   39  
  40      -CERRWARN += -_gcc=-Wno-uninitialized
       40 +CERRWARN += $(CNOWARN_UNINIT)
  41   41  
  42   42  SMOFF += free
  43   43  
  44   44  all:            $(PROG)
  45   45  
  46   46  clean:
  47   47          $(RM) $(OBJS)
  48   48  
  49   49  lint:           lint_SRCS
  50   50  
  51   51  $(PROG):        $(OBJS)
  52   52          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  53   53          $(POST_PROCESS)
  54   54  
  55   55  include ../../Makefile.targ
  56   56  
  57   57  install: all .WAIT $(ROOTUSRSBINPROG)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX