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


  76         svcctl          \
  77         winreg
  78 
  79 OBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
  80 
  81 include ../../../Makefile.lib
  82 include ../../Makefile.lib
  83 
  84 INCS += -I$(SRC)/common/smbsrv
  85 INCS += -I$(SRC)/uts/common/smbsrv/ndl
  86 
  87 LDLIBS +=       $(MACH_LDLIBS)
  88 LDLIBS += -lmlrpc -lsmb -lsmbns -lshare -lsmbfs -lnsl -lpkcs11 \
  89         -lscf -lcmdutils -lsec -lavl -lnvpair -luutil -luuid -lgen -lzfs -lc
  90 
  91 CPPFLAGS += $(INCS) -D_REENTRANT
  92 CPPFLAGS += -Dsyslog=smb_syslog
  93 $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
  94 
  95 CERRWARN += -_gcc=-Wno-unused-function
  96 CERRWARN += -_gcc=-Wno-uninitialized
  97 
  98 # not linted
  99 SMATCH=off
 100 
 101 
 102 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
 103 
 104 include ../../Makefile.targ
 105 include ../../../Makefile.targ


  76         svcctl          \
  77         winreg
  78 
  79 OBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
  80 
  81 include ../../../Makefile.lib
  82 include ../../Makefile.lib
  83 
  84 INCS += -I$(SRC)/common/smbsrv
  85 INCS += -I$(SRC)/uts/common/smbsrv/ndl
  86 
  87 LDLIBS +=       $(MACH_LDLIBS)
  88 LDLIBS += -lmlrpc -lsmb -lsmbns -lshare -lsmbfs -lnsl -lpkcs11 \
  89         -lscf -lcmdutils -lsec -lavl -lnvpair -luutil -luuid -lgen -lzfs -lc
  90 
  91 CPPFLAGS += $(INCS) -D_REENTRANT
  92 CPPFLAGS += -Dsyslog=smb_syslog
  93 $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
  94 
  95 CERRWARN += -_gcc=-Wno-unused-function
  96 CERRWARN += $(CNOWARN_UNINIT)
  97 
  98 # not linted
  99 SMATCH=off
 100 
 101 
 102 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
 103 
 104 include ../../Makefile.targ
 105 include ../../../Makefile.targ