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


  69         smb_wksids.o
  70 
  71 OBJECTS=        $(OBJS_COMMON) $(OBJS_SHARED)
  72 
  73 include ../../../Makefile.lib
  74 include ../../Makefile.lib
  75 
  76 INCS += -I$(SRC)/common/smbsrv
  77 INCS += -I$(SRC)/lib/libsmbfs/smb
  78 
  79 LINTCHECKFLAGS += -erroff=E_INCONS_ARG_DECL2
  80 LINTCHECKFLAGS += -erroff=E_BAD_FORMAT_STR2
  81 
  82 LDLIBS +=       $(MACH_LDLIBS)
  83 # perfer to keep libs ordered by dependence
  84 LDLIBS +=       -lscf -lmd -luuid -lpkcs11 -lcryptoutil
  85 LDLIBS +=       -lsec -lidmap -lreparse -lcmdutils -lavl
  86 LDLIBS +=       -lnvpair -lresolv -lsocket -lnsl -lc
  87 CPPFLAGS +=     $(INCS) -D_REENTRANT
  88 CPPFLAGS +=     -Dsyslog=smb_syslog
  89 CERRWARN +=     -_gcc=-Wno-uninitialized
  90 CERRWARN +=     -_gcc=-Wno-char-subscripts
  91 CERRWARN +=     -_gcc=-Wno-switch
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  97         $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  98 
  99 include ../../Makefile.targ
 100 include ../../../Makefile.targ


  69         smb_wksids.o
  70 
  71 OBJECTS=        $(OBJS_COMMON) $(OBJS_SHARED)
  72 
  73 include ../../../Makefile.lib
  74 include ../../Makefile.lib
  75 
  76 INCS += -I$(SRC)/common/smbsrv
  77 INCS += -I$(SRC)/lib/libsmbfs/smb
  78 
  79 LINTCHECKFLAGS += -erroff=E_INCONS_ARG_DECL2
  80 LINTCHECKFLAGS += -erroff=E_BAD_FORMAT_STR2
  81 
  82 LDLIBS +=       $(MACH_LDLIBS)
  83 # perfer to keep libs ordered by dependence
  84 LDLIBS +=       -lscf -lmd -luuid -lpkcs11 -lcryptoutil
  85 LDLIBS +=       -lsec -lidmap -lreparse -lcmdutils -lavl
  86 LDLIBS +=       -lnvpair -lresolv -lsocket -lnsl -lc
  87 CPPFLAGS +=     $(INCS) -D_REENTRANT
  88 CPPFLAGS +=     -Dsyslog=smb_syslog
  89 CERRWARN +=     $(CNOWARN_UNINIT)
  90 CERRWARN +=     -_gcc=-Wno-char-subscripts
  91 CERRWARN +=     -_gcc=-Wno-switch
  92 
  93 # not linted
  94 SMATCH=off
  95 
  96 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  97         $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  98 
  99 include ../../Makefile.targ
 100 include ../../../Makefile.targ