Print this page
10080 smatch Makefile changes for usr/src/cmd

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 ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  #
  27   28  # Makefile for Java Print Manager server
  28   29  #
  29   30  
  30   31  LIBRARY =       libpmgr.a
  31   32  VERS =          .1
  32   33  
  33   34  JNIHDR_FILES =  com_sun_admin_pm_server_DoPrinterNS.h
  34   35  
↓ open down ↓ 44 lines elided ↑ open up ↑
  79   80  ROOTLIBDIR =    $(ROOT)/usr/sadm/admin/printmgr/lib
  80   81  ROOTLIBS=       $(LIBS:%=$(ROOTLIBDIR)/%)
  81   82  
  82   83  
  83   84  # Following variables define where to find header files
  84   85  CPPFLAGS +=     -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris -I.
  85   86  
  86   87  CERRWARN +=     -_gcc=-Wno-unused-variable
  87   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  88   89  
       90 +# not linted
       91 +SMATCH=off
       92 +
  89   93  LDLIBS +=       -lprint -lnsl -lsocket -lc
  90   94  
  91   95  CLEANFILES=     *.class $(LINTLIB) $(LINTOUT)
  92   96  CLOBBERFILES=   $(JNIHDR_FILES) $(LIBLINKS)
  93   97  
  94   98  all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
  95   99  
  96  100  install: all $(ROOTDIRS) $(ROOTLINKS)
  97  101  
  98  102  #
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX