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


  29 
  30 # duplicate ROOTLIBFSTYPE value needed for installation rule
  31 # we must define this before including Makefile.fstype
  32 ROOTLIBFSTYPE = $(ROOT)/usr/lib/fs/$(FSTYPE)
  33 $(ROOTLIBFSTYPE)/%:     $(ROOTLIBFSTYPE) %
  34         $(RM) $@; $(SYMLINK) ../../../../etc/fs/$(FSTYPE)/$(LIBPROG) $@
  35 
  36 include         ../../Makefile.fstype
  37 
  38 COMMON= $(FSLIB) nfs_sec.o replica.o nfs_subr.o selfcheck.o smfcfg.o
  39 OBJS=   $(LIBPROG).o $(COMMON) webnfs_client.o webnfs_xdr.o
  40 SRCS=   $(LIBPROG).c $(FSLIBSRC) ../lib/nfs_sec.c ../lib/replica.c \
  41         ../lib/nfs_subr.c webnfs_xdr.c webnfs_client.c ../lib/selfcheck.c \
  42         ../lib/smfcfg.c
  43 
  44 UNCHECKED_HDRS= webnfs.h
  45 
  46 CERRWARN += -_gcc=-Wno-parentheses
  47 CERRWARN += -_gcc=-Wno-switch
  48 CERRWARN += -_gcc=-Wno-unused-variable
  49 CERRWARN += -_gcc=-Wno-uninitialized
  50 CERRWARN += -_gcc=-Wno-address
  51 CERRWARN += -_gcc=-Wno-unused-function
  52 
  53 # unknown type for func
  54 SMATCH=off
  55 
  56 #
  57 # Message catalog
  58 #
  59 POFILE= mount.po
  60 
  61 LDLIBS += -lrpcsvc -lnsl -lsocket -lscf
  62 CPPFLAGS += -I. -I../.. -I../lib
  63 CFLAGS += $(CCVERBOSE)
  64 
  65 nfs_sec.o :=    CPPFLAGS += -DWNFS_SEC_NEGO
  66 
  67 ROOTETCPROG     = $(LIBPROG:%=$(ROOTETCFSTYPE)/%)
  68 CLOBBERFILES    += $(LIBPROG)
  69 




  29 
  30 # duplicate ROOTLIBFSTYPE value needed for installation rule
  31 # we must define this before including Makefile.fstype
  32 ROOTLIBFSTYPE = $(ROOT)/usr/lib/fs/$(FSTYPE)
  33 $(ROOTLIBFSTYPE)/%:     $(ROOTLIBFSTYPE) %
  34         $(RM) $@; $(SYMLINK) ../../../../etc/fs/$(FSTYPE)/$(LIBPROG) $@
  35 
  36 include         ../../Makefile.fstype
  37 
  38 COMMON= $(FSLIB) nfs_sec.o replica.o nfs_subr.o selfcheck.o smfcfg.o
  39 OBJS=   $(LIBPROG).o $(COMMON) webnfs_client.o webnfs_xdr.o
  40 SRCS=   $(LIBPROG).c $(FSLIBSRC) ../lib/nfs_sec.c ../lib/replica.c \
  41         ../lib/nfs_subr.c webnfs_xdr.c webnfs_client.c ../lib/selfcheck.c \
  42         ../lib/smfcfg.c
  43 
  44 UNCHECKED_HDRS= webnfs.h
  45 
  46 CERRWARN += -_gcc=-Wno-parentheses
  47 CERRWARN += -_gcc=-Wno-switch
  48 CERRWARN += -_gcc=-Wno-unused-variable
  49 CERRWARN += $(CNOWARN_UNINIT)
  50 CERRWARN += -_gcc=-Wno-address
  51 CERRWARN += -_gcc=-Wno-unused-function
  52 
  53 # unknown type for func
  54 SMATCH=off
  55 
  56 #
  57 # Message catalog
  58 #
  59 POFILE= mount.po
  60 
  61 LDLIBS += -lrpcsvc -lnsl -lsocket -lscf
  62 CPPFLAGS += -I. -I../.. -I../lib
  63 CFLAGS += $(CCVERBOSE)
  64 
  65 nfs_sec.o :=    CPPFLAGS += -DWNFS_SEC_NEGO
  66 
  67 ROOTETCPROG     = $(LIBPROG:%=$(ROOTETCFSTYPE)/%)
  68 CLOBBERFILES    += $(LIBPROG)
  69