Print this page
    
NEX-6096 Enable compile warnings re. parentheses in smbsrv
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
NEX-3728 SMB1 signing should use KCF like SMB2/3
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
SMB-55 SMB2 signing
SMB-11 SMB2 message parse & dispatch
SMB-12 SMB2 Negotiate Protocol
SMB-13 SMB2 Session Setup
SMB-14 SMB2 Logoff
SMB-15 SMB2 Tree Connect
SMB-16 SMB2 Tree Disconnect
SMB-17 SMB2 Create
SMB-18 SMB2 Close
SMB-19 SMB2 Flush
SMB-20 SMB2 Read
SMB-21 SMB2 Write
SMB-22 SMB2 Lock/Unlock
SMB-23 SMB2 Ioctl
SMB-24 SMB2 Cancel
SMB-25 SMB2 Echo
SMB-26 SMB2 Query Dir
SMB-27 SMB2 Change Notify
SMB-28 SMB2 Query Info
SMB-29 SMB2 Set Info
SMB-30 SMB2 Oplocks
SMB-53 SMB2 Create Context options
(SMB2 code review cleanup 1, 2, 3)
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/uts/sparc/smbsrv/Makefile
          +++ new/usr/src/uts/sparc/smbsrv/Makefile
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  
    | 
      ↓ 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 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       25 +# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26   26  #
  27   27  
  28   28  #
  29   29  #       This makefile drives the production of the cifs server file system
  30   30  #       kernel module.
  31   31  #
  32   32  
  33   33  #
  34   34  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   35  #
  36   36  UTSBASE = ../..
  37   37  
  38   38  #
  39   39  #       Define the module and object file sets.
  40   40  #
  41   41  MODULE          = smbsrv
  42   42  OBJECTS         = $(SMBSRV_OBJS:%=$(OBJS_DIR)/%)
  43   43  LINTS           = $(SMBSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44   44  ROOTMODULE      = $(USR_DRV_DIR)/$(MODULE)
  45   45  CONF_SRCDIR     = $(UTSBASE)/common/fs/smbsrv
  46   46  
  47   47  #
  48   48  #       Include common rules.
  49   49  #
  50   50  include $(UTSBASE)/sparc/Makefile.sparc
  51   51  
  52   52  #
  53   53  #       Module dependencies
  54   54  #
  55   55  LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nstrmod/rpcmod -Nsys/doorfs
  56   56  LDFLAGS += -Nmisc/kcf
  57   57  
  58   58  #
  59   59  #       Define targets
  60   60  #
  61   61  ALL_TARGET      = $(BINARY)
  62   62  LINT_TARGET     = $(MODULE).lint
  
    | 
      ↓ open down ↓ | 
    27 lines elided | 
    
      ↑ open up ↑ | 
  
  63   63  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
  64   64  
  65   65  #
  66   66  #       Overrides.
  67   67  #
  68   68  MODSTUBS_DIR     = $(OBJS_DIR)
  69   69  CLEANFILES      += $(MODSTUBS_O)
  70   70  
  71   71  INC_PATH        += -I$(SRC)/common
  72   72  
  73      -CERRWARN        += -_gcc=-Wno-parentheses
  74   73  CERRWARN        += -_gcc=-Wno-switch
  75   74  
  76   75  #
  77   76  #       Default build targets.
  78   77  #
  79   78  .KEEP_STATE:
  80   79  
  81   80  def:            $(DEF_DEPS)
  82   81  
  83   82  all:            $(ALL_DEPS)
  84   83  
  85   84  clean:          $(CLEAN_DEPS)
  86   85  
  87   86  clobber:        $(CLOBBER_DEPS)
  88   87  
  89   88  lint:           $(LINT_DEPS)
  90   89  
  91   90  modlintlib:     $(MODLINTLIB_DEPS)
  92   91  
  93   92  clean.lint:     $(CLEAN_LINT_DEPS)
  94   93  
  95   94  install:        $(INSTALL_DEPS)
  96   95  
  97   96  $(ROOTLINK):    $(ROOT_SYS_DIR) $(ROOTMODULE)
  98   97          -$(RM) $@; ln $(ROOTMODULE) $@
  99   98  
 100   99  #
 101  100  #       Include common targets.
 102  101  #
 103  102  include $(UTSBASE)/sparc/Makefile.targ
  
    | 
      ↓ open down ↓ | 
    20 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX