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


  20 #
  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26 # Copyright (c) 2018, Joyent, Inc.
  27 #
  28 
  29 PROG=   smbadm
  30 SRCS=   smbadm.c
  31 
  32 include ../../Makefile.cmd
  33 include ../Makefile.smbsrv.defs
  34 
  35 LDLIBS += -L$(ROOT)/usr/lib/smbsrv -lsmb -lsmbns -lsecdb -lumem
  36 LDFLAGS += -R/usr/lib/smbsrv
  37 
  38 .KEEP_STATE:
  39 
  40 CERRWARN += -_gcc=-Wno-uninitialized
  41 
  42 SMOFF += free
  43 
  44 all:            $(PROG)
  45 
  46 clean:
  47         $(RM) $(OBJS)
  48 
  49 lint:           lint_SRCS
  50 
  51 $(PROG):        $(OBJS)
  52         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  53         $(POST_PROCESS)
  54 
  55 include ../../Makefile.targ
  56 
  57 install: all .WAIT $(ROOTUSRSBINPROG)


  20 #
  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26 # Copyright (c) 2018, Joyent, Inc.
  27 #
  28 
  29 PROG=   smbadm
  30 SRCS=   smbadm.c
  31 
  32 include ../../Makefile.cmd
  33 include ../Makefile.smbsrv.defs
  34 
  35 LDLIBS += -L$(ROOT)/usr/lib/smbsrv -lsmb -lsmbns -lsecdb -lumem
  36 LDFLAGS += -R/usr/lib/smbsrv
  37 
  38 .KEEP_STATE:
  39 
  40 CERRWARN += $(CNOWARN_UNINIT)
  41 
  42 SMOFF += free
  43 
  44 all:            $(PROG)
  45 
  46 clean:
  47         $(RM) $(OBJS)
  48 
  49 lint:           lint_SRCS
  50 
  51 $(PROG):        $(OBJS)
  52         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  53         $(POST_PROCESS)
  54 
  55 include ../../Makefile.targ
  56 
  57 install: all .WAIT $(ROOTUSRSBINPROG)