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


  68 POFILE = $(LIBRARY:%.a=%.po)
  69 POFILES = generic.po
  70 
  71 # override liblink
  72 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
  73 
  74 CPPFLAGS +=     -DHAVE_CONFIG_H -DHAVE_BT_RSEQ \
  75                 -I$(KRB5IPROPDIR) \
  76                 -I$(SRC)/lib/krb5 \
  77                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  78                 -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  79                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  80                 -I$(SRC)/uts/common/gssapi/include/ \
  81                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  82 
  83 CFLAGS +=       $(CCVERBOSE) -I..
  84 
  85 CERRWARN +=     -_gcc=-Wno-unused-variable
  86 CERRWARN +=     -_gcc=-Wno-unused-function
  87 CERRWARN +=     -_gcc=-Wno-type-limits
  88 CERRWARN +=     -_gcc=-Wno-uninitialized
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 
  91 SMOFF += indenting,all_func_returns,deref_check,signed
  92 
  93 DYNFLAGS +=     $(KRUNPATH) $(KMECHLIB)
  94 LDLIBS +=       -lc -lnsl
  95 
  96 .KEEP_STATE:
  97 
  98 all:    $(LIBS)
  99 
 100 # Rules to rpcgen-erate derived files from the iprop.x spec file
 101 $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
 102         $(RM)   $@
 103         $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
 104 
 105 $(ISRCXDR):     $(ISRCHDR) $(KRB5IPROPDIR)/iprop.x
 106         $(RM) $@
 107         $(RPCGEN) -c $(KRB5IPROPDIR)/iprop.x | $(CMD)
 108 


  68 POFILE = $(LIBRARY:%.a=%.po)
  69 POFILES = generic.po
  70 
  71 # override liblink
  72 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
  73 
  74 CPPFLAGS +=     -DHAVE_CONFIG_H -DHAVE_BT_RSEQ \
  75                 -I$(KRB5IPROPDIR) \
  76                 -I$(SRC)/lib/krb5 \
  77                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  78                 -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  79                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  80                 -I$(SRC)/uts/common/gssapi/include/ \
  81                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  82 
  83 CFLAGS +=       $(CCVERBOSE) -I..
  84 
  85 CERRWARN +=     -_gcc=-Wno-unused-variable
  86 CERRWARN +=     -_gcc=-Wno-unused-function
  87 CERRWARN +=     -_gcc=-Wno-type-limits
  88 CERRWARN +=     $(CNOWARN_UNINIT)
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 
  91 SMOFF += indenting,all_func_returns,deref_check,signed
  92 
  93 DYNFLAGS +=     $(KRUNPATH) $(KMECHLIB)
  94 LDLIBS +=       -lc -lnsl
  95 
  96 .KEEP_STATE:
  97 
  98 all:    $(LIBS)
  99 
 100 # Rules to rpcgen-erate derived files from the iprop.x spec file
 101 $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
 102         $(RM)   $@
 103         $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
 104 
 105 $(ISRCXDR):     $(ISRCHDR) $(KRB5IPROPDIR)/iprop.x
 106         $(RM) $@
 107         $(RPCGEN) -c $(KRB5IPROPDIR)/iprop.x | $(CMD)
 108