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


  91 GSSLINTSRC =    $(GSSOBJECTS:%.o=$(SRCDIR)/%.c) \
  92                 $(GSSCREDOBJ:%.o=$(GSSCRED_DIR)/%.c) \
  93                 $(UTSGSSOBJ:%.o=$(UTSGSSDIR)/%.c)
  94 OBJECTS =       $(GSSOBJECTS) $(GSSCREDOBJ) $(KRB5OBJ) $(UTSGSSOBJ) $(KRB5ETOBJ)
  95 
  96 # include library definitions
  97 include ../../Makefile.lib
  98 
  99 LIBS =  $(DYNLIB) $(LINTLIB)
 100 
 101 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
 102 LDLIBS +=       -lc
 103 
 104 CPPFLAGS +=     -I$(GSSCRED_DIR) -I$(SRC)/uts/common/gssapi/include \
 105                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
 106                  -I$(SRC)/uts/common/gssapi/ \
 107                  -I$(SRC)/lib/gss_mechs/mech_krb5/include/ \
 108                 -DHAVE_STDLIB_H
 109 
 110 CERRWARN +=     -_gcc=-Wno-unused-function
 111 CERRWARN +=     -_gcc=-Wno-uninitialized
 112 CERRWARN +=     -_gcc=-Wno-parentheses
 113 CERRWARN +=     -_gcc=-Wno-empty-body
 114 
 115 # not linted
 116 SMATCH=off
 117 
 118 .KEEP_STATE:
 119 
 120 all: $(LIBS)
 121 
 122 lintcheck:=     SRCS= $(GSSLINTSRC)
 123 
 124 lint:  lintcheck
 125 
 126 $(GSSCREDOBJ:%.o=pics/%.o):
 127         $(COMPILE.c) -o $@ $(@:pics/%.o=$(GSSCRED_DIR)/%.c)
 128         $(POST_PROCESS_O)
 129 
 130 # we need this in libgss so we don't have to link against mech_krb5
 131 pics/rel_buffer.o: $(KRB5DIR)/rel_buffer.c




  91 GSSLINTSRC =    $(GSSOBJECTS:%.o=$(SRCDIR)/%.c) \
  92                 $(GSSCREDOBJ:%.o=$(GSSCRED_DIR)/%.c) \
  93                 $(UTSGSSOBJ:%.o=$(UTSGSSDIR)/%.c)
  94 OBJECTS =       $(GSSOBJECTS) $(GSSCREDOBJ) $(KRB5OBJ) $(UTSGSSOBJ) $(KRB5ETOBJ)
  95 
  96 # include library definitions
  97 include ../../Makefile.lib
  98 
  99 LIBS =  $(DYNLIB) $(LINTLIB)
 100 
 101 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
 102 LDLIBS +=       -lc
 103 
 104 CPPFLAGS +=     -I$(GSSCRED_DIR) -I$(SRC)/uts/common/gssapi/include \
 105                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
 106                  -I$(SRC)/uts/common/gssapi/ \
 107                  -I$(SRC)/lib/gss_mechs/mech_krb5/include/ \
 108                 -DHAVE_STDLIB_H
 109 
 110 CERRWARN +=     -_gcc=-Wno-unused-function
 111 CERRWARN +=     $(CNOWARN_UNINIT)
 112 CERRWARN +=     -_gcc=-Wno-parentheses
 113 CERRWARN +=     -_gcc=-Wno-empty-body
 114 
 115 # not linted
 116 SMATCH=off
 117 
 118 .KEEP_STATE:
 119 
 120 all: $(LIBS)
 121 
 122 lintcheck:=     SRCS= $(GSSLINTSRC)
 123 
 124 lint:  lintcheck
 125 
 126 $(GSSCREDOBJ:%.o=pics/%.o):
 127         $(COMPILE.c) -o $@ $(@:pics/%.o=$(GSSCRED_DIR)/%.c)
 128         $(POST_PROCESS_O)
 129 
 130 # we need this in libgss so we don't have to link against mech_krb5
 131 pics/rel_buffer.o: $(KRB5DIR)/rel_buffer.c