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


  38         smbns_netbios.o         \
  39         smbns_netbios_cache.o   \
  40         smbns_netbios_datagram.o\
  41         smbns_netbios_name.o    \
  42         smbns_netlogon.o
  43 
  44 OBJECTS=        $(OBJS_COMMON) $(OBJS_SHARED)
  45 
  46 include ../../../Makefile.lib
  47 include ../../Makefile.lib
  48 
  49 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  50         $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  51 
  52 LDLIBS +=       $(MACH_LDLIBS)
  53 LDLIBS +=       -lsmb -lads -lgss -lcmdutils -lldap \
  54                 -lsocket -lnsl -lc
  55 CPPFLAGS +=     -D_REENTRANT
  56 CPPFLAGS +=     -Dsyslog=smb_syslog
  57 CERRWARN +=     -_gcc=-Wno-unused-function
  58 CERRWARN +=     -_gcc=-Wno-uninitialized
  59 
  60 # not linted
  61 SMATCH=off
  62 
  63 # DYNLIB libraries do not have lint libs and are not linted
  64 $(DYNLIB) :=    LDLIBS += -lkrb5
  65 
  66 include ../../Makefile.targ
  67 include ../../../Makefile.targ


  38         smbns_netbios.o         \
  39         smbns_netbios_cache.o   \
  40         smbns_netbios_datagram.o\
  41         smbns_netbios_name.o    \
  42         smbns_netlogon.o
  43 
  44 OBJECTS=        $(OBJS_COMMON) $(OBJS_SHARED)
  45 
  46 include ../../../Makefile.lib
  47 include ../../Makefile.lib
  48 
  49 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  50         $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  51 
  52 LDLIBS +=       $(MACH_LDLIBS)
  53 LDLIBS +=       -lsmb -lads -lgss -lcmdutils -lldap \
  54                 -lsocket -lnsl -lc
  55 CPPFLAGS +=     -D_REENTRANT
  56 CPPFLAGS +=     -Dsyslog=smb_syslog
  57 CERRWARN +=     -_gcc=-Wno-unused-function
  58 CERRWARN +=     $(CNOWARN_UNINIT)
  59 
  60 # not linted
  61 SMATCH=off
  62 
  63 # DYNLIB libraries do not have lint libs and are not linted
  64 $(DYNLIB) :=    LDLIBS += -lkrb5
  65 
  66 include ../../Makefile.targ
  67 include ../../../Makefile.targ