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


  68 
  69 CPPFLAGS += -I.. -I../.. -I../../.. -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  70         -I$(SRC)/lib/krb5 \
  71         -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  72         -I$(SRC)/uts/common/gssapi/ \
  73         -I$(SRC)/uts/common/gssapi/include/ \
  74         -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  75         -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  76         -I$(KRB5IPROPDIR) \
  77         -DHAVE_STDLIB_H -DUSE_SOLARIS_SHARED_LIBRARIES \
  78         -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DSETRPCENT_TYPE=void \
  79         -DENDRPCENT_TYPE=void -DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 \
  80         -DHAVE_SYSLOG_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1 \
  81         -DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DUSE_KADM5_API_VERSION=2
  82 
  83 CFLAGS +=       $(CCVERBOSE) -I..
  84 
  85 CERRWARN +=     -_gcc=-Wno-unused-function
  86 CERRWARN +=     -_gcc=-Wno-unused-variable
  87 CERRWARN +=     -_gcc=-Wno-parentheses
  88 CERRWARN +=     -_gcc=-Wno-uninitialized
  89 
  90 SMOFF += all_func_returns,indenting,no_if_block
  91 
  92 LDLIBS +=       -lc
  93 
  94 .KEEP_STATE:
  95 
  96 all:    $(LIBS)
  97 
  98 # Rpcgen-erate iprop.h from the iprop.x spec file
  99 $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
 100         $(RM)   $@
 101         $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
 102 
 103 # Explicitly state the dependancy on iprop.h
 104 $(LIBS): $(ISRCHDR)
 105 
 106 CLEANFILES +=   $(ISRCHDR)
 107 
 108 lint:   lintcheck


  68 
  69 CPPFLAGS += -I.. -I../.. -I../../.. -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  70         -I$(SRC)/lib/krb5 \
  71         -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  72         -I$(SRC)/uts/common/gssapi/ \
  73         -I$(SRC)/uts/common/gssapi/include/ \
  74         -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  75         -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  76         -I$(KRB5IPROPDIR) \
  77         -DHAVE_STDLIB_H -DUSE_SOLARIS_SHARED_LIBRARIES \
  78         -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DSETRPCENT_TYPE=void \
  79         -DENDRPCENT_TYPE=void -DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 \
  80         -DHAVE_SYSLOG_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1 \
  81         -DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DUSE_KADM5_API_VERSION=2
  82 
  83 CFLAGS +=       $(CCVERBOSE) -I..
  84 
  85 CERRWARN +=     -_gcc=-Wno-unused-function
  86 CERRWARN +=     -_gcc=-Wno-unused-variable
  87 CERRWARN +=     -_gcc=-Wno-parentheses
  88 CERRWARN +=     $(CNOWARN_UNINIT)
  89 
  90 SMOFF += all_func_returns,indenting,no_if_block
  91 
  92 LDLIBS +=       -lc
  93 
  94 .KEEP_STATE:
  95 
  96 all:    $(LIBS)
  97 
  98 # Rpcgen-erate iprop.h from the iprop.x spec file
  99 $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
 100         $(RM)   $@
 101         $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
 102 
 103 # Explicitly state the dependancy on iprop.h
 104 $(LIBS): $(ISRCHDR)
 105 
 106 CLEANFILES +=   $(ISRCHDR)
 107 
 108 lint:   lintcheck