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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
          +++ new/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
↓ open down ↓ 77 lines elided ↑ open up ↑
  78   78  
  79   79  # override ROOTLIBDIR and ROOTLINKS
  80   80  ROOTLIBDIR =    $(ROOT)/usr/sadm/admin/printmgr/lib
  81   81  ROOTLIBS=       $(LIBS:%=$(ROOTLIBDIR)/%)
  82   82  
  83   83  
  84   84  # Following variables define where to find header files
  85   85  CPPFLAGS +=     -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris -I.
  86   86  
  87   87  CERRWARN +=     -_gcc=-Wno-unused-variable
  88      -CERRWARN +=     -_gcc=-Wno-uninitialized
       88 +CERRWARN +=     $(CNOWARN_UNINIT)
  89   89  
  90   90  # not linted
  91   91  SMATCH=off
  92   92  
  93   93  LDLIBS +=       -lprint -lnsl -lsocket -lc
  94   94  
  95   95  CLEANFILES=     *.class $(LINTLIB) $(LINTOUT)
  96   96  CLOBBERFILES=   $(JNIHDR_FILES) $(LIBLINKS)
  97   97  
  98   98  all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX