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


  43 
  44 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKSECURITY)
  45 
  46 TEXT_DOMAIN = SUNW_OST_OSCMD
  47 POFILE = kprop.po
  48 POFILES = generic.po
  49 
  50 CFLAGS += $(XESS) $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
  51 CPPFLAGS +=     -I. \
  52                 -I$(KRB5IPROPDIR) \
  53                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  54                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5\
  55                 -I$(SRC)/lib/krb5 \
  56                 -I$(SRC)/lib/krb5/kadm5 \
  57                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  58 
  59 CERRWARN +=     -_gcc=-Wno-unused-variable
  60 CERRWARN +=     -_gcc=-Wno-unused-function
  61 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  62 CERRWARN +=     -_gcc=-Wno-parentheses
  63 CERRWARN +=     -_gcc=-Wno-uninitialized
  64 CERRWARN +=     -_gcc=-Wno-unused-value
  65 CERRWARN +=     -_gcc=-Wno-address
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 LDFLAGS +=      $(KRUNPATH) $(KERBRUNPATH)
  71 LDLIBS +=       -lmech_krb5 -lsocket
  72 $(PROG1) :=     LDLIBS += -L$(KRB5LIB) -lkadm5srv
  73 $(PROG2) :=     LDLIBS += -L$(KRB5LIB) -lnsl -lkdb -lkadm5clnt
  74 
  75 .KEEP_STATE:
  76 
  77 all: $(PROG)
  78 
  79 $(PROG1): $(CLIENTOBJS) $(COMMONOBJS)
  80         $(LINK.c) $(CLIENTOBJS) $(COMMONOBJS) -o $@ $(DEPLIBS) $(LDFLAGS) $(LDARGS) $(LDLIBS)
  81         $(POST_PROCESS)
  82 
  83 $(PROG2): $(SERVEROBJS) $(DERIVED_OBJS) $(COMMONOBJS) $(DEPLIBS)




  43 
  44 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKSECURITY)
  45 
  46 TEXT_DOMAIN = SUNW_OST_OSCMD
  47 POFILE = kprop.po
  48 POFILES = generic.po
  49 
  50 CFLAGS += $(XESS) $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
  51 CPPFLAGS +=     -I. \
  52                 -I$(KRB5IPROPDIR) \
  53                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  54                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5\
  55                 -I$(SRC)/lib/krb5 \
  56                 -I$(SRC)/lib/krb5/kadm5 \
  57                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  58 
  59 CERRWARN +=     -_gcc=-Wno-unused-variable
  60 CERRWARN +=     -_gcc=-Wno-unused-function
  61 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  62 CERRWARN +=     -_gcc=-Wno-parentheses
  63 CERRWARN +=     $(CNOWARN_UNINIT)
  64 CERRWARN +=     -_gcc=-Wno-unused-value
  65 CERRWARN +=     -_gcc=-Wno-address
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 LDFLAGS +=      $(KRUNPATH) $(KERBRUNPATH)
  71 LDLIBS +=       -lmech_krb5 -lsocket
  72 $(PROG1) :=     LDLIBS += -L$(KRB5LIB) -lkadm5srv
  73 $(PROG2) :=     LDLIBS += -L$(KRB5LIB) -lnsl -lkdb -lkadm5clnt
  74 
  75 .KEEP_STATE:
  76 
  77 all: $(PROG)
  78 
  79 $(PROG1): $(CLIENTOBJS) $(COMMONOBJS)
  80         $(LINK.c) $(CLIENTOBJS) $(COMMONOBJS) -o $@ $(DEPLIBS) $(LDFLAGS) $(LDARGS) $(LDLIBS)
  81         $(POST_PROCESS)
  82 
  83 $(PROG2): $(SERVEROBJS) $(DERIVED_OBJS) $(COMMONOBJS) $(DEPLIBS)