Print this page
11736 Stop using $VERSION for the genunix label
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/klmmod/Makefile
          +++ new/usr/src/uts/sparc/klmmod/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright (c) 2012 by Delphix. All rights reserved.
       26 +# Copyright 2019 Joyent, Inc.
  26   27  #
  27      -#       This makefile drives the production of the server-side network lock
  28      -#       manager kernel module.
  29      -#
  30      -#       sparc architecture dependent
  31      -#
  32   28  
  33   29  #
  34   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   31  #
  36   32  UTSBASE = ../..
  37   33  
  38   34  #
  39   35  #       Define the module and object file sets.
  40   36  #
  41   37  MODULE          = klmmod
↓ open down ↓ 12 lines elided ↑ open up ↑
  54   50  ALL_TARGET      = $(BINARY)
  55   51  LINT_TARGET     = $(MODULE).lint
  56   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57   53  
  58   54  #
  59   55  #       Overrides.
  60   56  #
  61   57  CFLAGS          += $(CCVERBOSE)
  62   58  LDFLAGS         += -dy -Nstrmod/rpcmod -Nfs/nfs
  63   59  LDFLAGS         += -M $(UTSBASE)/common/klm/mapfile-mod
  64      -CTFMRGFLAGS     += -f
  65   60  
  66   61  #
  67   62  # Code generated by rpcgen triggers the -Wswitch warning.
  68   63  #
  69   64  CERRWARN        += -_gcc=-Wno-switch
  70   65  
  71   66  #
  72   67  #       Default build targets.
  73   68  #
  74   69  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX