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


  36 
  37 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP
  38 LDLIBS +=       -lsocket -lnsl
  39 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  40 
  41 include  $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  42 LDFLAGS += $(KRUNPATH) -L$(ROOT)$(KLIBDIR_DO) -L$(ROOT)$(KLIBDIR_GL)
  43 LDLIBS +=  -lnsl -lmech_krb5
  44 CPPFLAGS += -I. -I$(CMDINETCOMMONDIR) \
  45                 -I$(SRC)/lib/gss_mechs/mech_krb5 \
  46                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  47                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  48                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5
  49 
  50 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  51 CERRWARN +=     -_gcc=-Wno-unused-variable
  52 CERRWARN +=     -_gcc=-Wno-unused-function
  53 CERRWARN +=     -_gcc=-Wno-unused-label
  54 CERRWARN +=     -_gcc=-Wno-parentheses
  55 CERRWARN +=     -_gcc=-Wno-clobbered
  56 CERRWARN +=     -_gcc=-Wno-uninitialized
  57 
  58 # not linted
  59 SMATCH=off
  60 
  61 ROOTSYMLINK=    $(ROOT)/usr/ucb/$(PROG)
  62 
  63 # conditional assignments
  64 $(ROOTPROG) :=      FILEMODE=       04555
  65 
  66 .KEEP_STATE:
  67 
  68 all: $(PROG)
  69 
  70 $(PROG): $(OBJS) $(KCMDOBJS) $(YOBJS) $(MAPFILE.NGB)
  71         $(LINK.c) $(OBJS) $(KCMDOBJS) $(YOBJS) -o $@ $(LDLIBS)
  72         $(POST_PROCESS)
  73 
  74 install: all $(ROOTPROG) $(ROOTSYMLINK)
  75 
  76 $(ROOTSYMLINK):


  36 
  37 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP
  38 LDLIBS +=       -lsocket -lnsl
  39 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  40 
  41 include  $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
  42 LDFLAGS += $(KRUNPATH) -L$(ROOT)$(KLIBDIR_DO) -L$(ROOT)$(KLIBDIR_GL)
  43 LDLIBS +=  -lnsl -lmech_krb5
  44 CPPFLAGS += -I. -I$(CMDINETCOMMONDIR) \
  45                 -I$(SRC)/lib/gss_mechs/mech_krb5 \
  46                 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  47                 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  48                 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5
  49 
  50 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  51 CERRWARN +=     -_gcc=-Wno-unused-variable
  52 CERRWARN +=     -_gcc=-Wno-unused-function
  53 CERRWARN +=     -_gcc=-Wno-unused-label
  54 CERRWARN +=     -_gcc=-Wno-parentheses
  55 CERRWARN +=     -_gcc=-Wno-clobbered
  56 CERRWARN +=     $(CNOWARN_UNINIT)
  57 
  58 # not linted
  59 SMATCH=off
  60 
  61 ROOTSYMLINK=    $(ROOT)/usr/ucb/$(PROG)
  62 
  63 # conditional assignments
  64 $(ROOTPROG) :=      FILEMODE=       04555
  65 
  66 .KEEP_STATE:
  67 
  68 all: $(PROG)
  69 
  70 $(PROG): $(OBJS) $(KCMDOBJS) $(YOBJS) $(MAPFILE.NGB)
  71         $(LINK.c) $(OBJS) $(KCMDOBJS) $(YOBJS) -o $@ $(LDLIBS)
  72         $(POST_PROCESS)
  73 
  74 install: all $(ROOTPROG) $(ROOTSYMLINK)
  75 
  76 $(ROOTSYMLINK):