Print this page
10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/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  #
  23   23  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  25      -# Copyright (c) 2018, Joyent, Inc.
       25 +# Copyright 2019, Joyent, Inc.
  26   26  #
  27   27  
  28   28  SYNCPROG=       syncinit syncloop syncstat
  29   29  
  30   30  PROG=           6to4relay arp if_mpadm \
  31   31                  in.comsat in.fingerd in.rarpd in.rexecd in.rlogind \
  32   32                  in.rshd in.rwhod in.telnetd in.tftpd ipaddrsel \
  33   33                  ndd ndp $(SYNCPROG)
  34   34  
  35   35  MANIFEST=       rarp.xml telnet.xml comsat.xml finger.xml \
↓ open down ↓ 121 lines elided ↑ open up ↑
 157  157                                  -I$(SRC)/lib/pam_modules/krb5
 158  158  LDLIBS +=       $(K5LIBS)
 159  159  $(TSNETPROG)            :=      LDLIBS += -ltsnet
 160  160  $(DLADMPROG)            :=      LDLIBS += -ldladm
 161  161  
 162  162  in.rarpd                :=      LDLIBS += -linetutil -ldlpi
 163  163  if_mpadm                :=      LDLIBS += -linetutil -lipmp
 164  164  if_mpadm.po             :=      XGETFLAGS += -a
 165  165  route                   :=      CPPFLAGS += -DNDEBUG
 166  166  ndd                     :=      LDLIBS += -ldladm -lipadm
      167 +$(RELEASE_BUILD)ndd     :=      CERRWARN += -_gcc=-Wno-unused
 167  168  in.comsat               :=      LDFLAGS += $(MAPFILE.NGB:%=-M%)
 168  169  
 169  170  .KEEP_STATE:
 170  171  
 171  172  .PARALLEL:
 172  173  
 173  174  all: $(PROG) $(ROOTFS_PROG) $(SUBDIRS) THIRDPARTYLICENSE.arp
 174  175  
 175  176  #
 176  177  # message catalog
↓ open down ↓ 103 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX