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


  59 # If machine name and /etc/issue file need to be printed 
  60 # before the service prompt is printed, then:  CPPFLAGS += -DSYS_NAME
  61 # If debug is needed, then:  CPPFLAGS += -DDEBUG
  62 # fix for 1111333 - turn on SYS_NAME so /etc/issue will be read if it exists
  63 CPPFLAGS += -DSYS_NAME
  64 $(XPG4):= CPPFLAGS += -DXPG4
  65 sttydefs := LDLIBS += -lnsl
  66 ttymon := LDLIBS += -lnsl -lsec -ldevinfo
  67 
  68 # Only stty can be built with -DEUC.  ttymon will dump core unless further
  69 # changes are made to it.
  70 $(STTYOBJ) := CPPFLAGS += -DEUC
  71 $(XPG4STTYOBJ) := CPPFLAGS += -DEUC
  72 
  73 LINTFLAGS = -b -x
  74 CFLAGS += $(CCVERBOSE)
  75 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  76 
  77 CERRWARN +=     -_gcc=-Wno-parentheses
  78 CERRWARN +=     -_gcc=-Wno-unused-variable
  79 CERRWARN +=     -_gcc=-Wno-uninitialized
  80 CERRWARN +=     -_gcc=-Wno-extra
  81 
  82 # not linted
  83 SMATCH=off
  84 
  85 #
  86 # Message catalog
  87 #
  88 POFILES= $(STTYOBJ:sttyobjs/%.o=%.po)
  89 POFILE= ttymon.po
  90 
  91 
  92 LIBSAFD= $(ROOTLIB)/saf
  93 DIRS= $(LIBSAFD)
  94 LIBSAF= ttymon
  95 USRSBINF= sttydefs ttyadm
  96 BINF= stty
  97 ROOTLIBF= $(LIBSAF:%=$(LIBSAFD)/%)
  98 ROOTUSRSBINF= $(USRSBINF:%=$(ROOTUSRSBIN)/%)
  99 ROOTBINF= $(BINF:%=$(ROOTBIN)/%)




  59 # If machine name and /etc/issue file need to be printed 
  60 # before the service prompt is printed, then:  CPPFLAGS += -DSYS_NAME
  61 # If debug is needed, then:  CPPFLAGS += -DDEBUG
  62 # fix for 1111333 - turn on SYS_NAME so /etc/issue will be read if it exists
  63 CPPFLAGS += -DSYS_NAME
  64 $(XPG4):= CPPFLAGS += -DXPG4
  65 sttydefs := LDLIBS += -lnsl
  66 ttymon := LDLIBS += -lnsl -lsec -ldevinfo
  67 
  68 # Only stty can be built with -DEUC.  ttymon will dump core unless further
  69 # changes are made to it.
  70 $(STTYOBJ) := CPPFLAGS += -DEUC
  71 $(XPG4STTYOBJ) := CPPFLAGS += -DEUC
  72 
  73 LINTFLAGS = -b -x
  74 CFLAGS += $(CCVERBOSE)
  75 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  76 
  77 CERRWARN +=     -_gcc=-Wno-parentheses
  78 CERRWARN +=     -_gcc=-Wno-unused-variable
  79 CERRWARN +=     $(CNOWARN_UNINIT)
  80 CERRWARN +=     -_gcc=-Wno-extra
  81 
  82 # not linted
  83 SMATCH=off
  84 
  85 #
  86 # Message catalog
  87 #
  88 POFILES= $(STTYOBJ:sttyobjs/%.o=%.po)
  89 POFILE= ttymon.po
  90 
  91 
  92 LIBSAFD= $(ROOTLIB)/saf
  93 DIRS= $(LIBSAFD)
  94 LIBSAF= ttymon
  95 USRSBINF= sttydefs ttyadm
  96 BINF= stty
  97 ROOTLIBF= $(LIBSAF:%=$(LIBSAFD)/%)
  98 ROOTUSRSBINF= $(USRSBINF:%=$(ROOTUSRSBIN)/%)
  99 ROOTBINF= $(BINF:%=$(ROOTBIN)/%)