Print this page
10079 smatch Makefile changes for usr/src/lib


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #

  25 
  26 LIBRARY=        libmpscsi_vhci.a
  27 VERS=           .1
  28 OBJECTS=        Initialize.o MP_AssignLogicalUnitToTPG.o \
  29                 MP_CancelOverridePath.o MP_DeregForObjPropChangesPlugin.o \
  30                 MP_DeregForObjVisChangesPlugin.o MP_DisableAutoFailbackLu.o \
  31                 MP_DisableAutoFailbackPlugin.o MP_DisableAutoProbingLu.o \
  32                 MP_DisableAutoProbingPlugin.o MP_DisablePath.o \
  33                 MP_EnableAutoFailbackLu.o MP_EnableAutoFailbackPlugin.o \
  34                 MP_EnableAutoProbingLu.o MP_EnableAutoProbingPlugin.o \
  35                 MP_EnablePath.o MP_GetAssociatedPathOidList.o \
  36                 MP_GetAssociatedTPGOidList.o \
  37                 MP_GetDeviceProductOidListPlugin.o \
  38                 MP_GetDeviceProductProperties.o \
  39                 MP_GetInitiatorPortOidListPlugin.o \
  40                 MP_GetInitiatorPortProperties.o \
  41                 MP_GetMPLogicalUnitProperties.o \
  42                 MP_GetMPLuOidListFromTPG.o MP_GetMultipathLusDevProd.o \
  43                 MP_GetMultipathLusPlugin.o MP_GetPathLogicalUnitProperties.o \
  44                 MP_GetPluginPropertiesPlugin.o \


  48                 MP_RegForObjVisChangesPlugin.o MP_SetFailbackPollingRateLu.o \
  49                 MP_SetFailbackPollingRatePlugin.o \
  50                 MP_SetLogicalUnitLoadBalanceType.o MP_SetOverridePath.o \
  51                 MP_SetPathWeight.o MP_SetPluginLBTypePlugin.o \
  52                 MP_SetProbingPollingRateLu.o MP_SetProbingPollingRatePlugin.o \
  53                 MP_SetProprietaryProperties.o MP_SetTPGAccess.o \
  54                 Sun_MP_SendScsiCmd.o Terminate.o debug_logging.o mp_utils.o
  55 
  56 include ../../../Makefile.lib
  57 include ../../../Makefile.rootfs
  58 
  59 SRCDIR =        ../common
  60 
  61 LIBS =          $(DYNLIB)
  62 LDLIBS +=       -lc -ldevinfo -lsysevent -lnvpair
  63 
  64 CFLAGS +=       $(CCVERBOSE)
  65 CPPFLAGS +=     -I$(SRCDIR) -D_POSIX_PTHREAD_SEMANTICS
  66 CPPFLAGS +=     -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
  67 



  68 .KEEP_STATE:
  69 
  70 all: $(LIBS)
  71 
  72 lint: lintcheck
  73 
  74 include ../../../Makefile.targ


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY=        libmpscsi_vhci.a
  28 VERS=           .1
  29 OBJECTS=        Initialize.o MP_AssignLogicalUnitToTPG.o \
  30                 MP_CancelOverridePath.o MP_DeregForObjPropChangesPlugin.o \
  31                 MP_DeregForObjVisChangesPlugin.o MP_DisableAutoFailbackLu.o \
  32                 MP_DisableAutoFailbackPlugin.o MP_DisableAutoProbingLu.o \
  33                 MP_DisableAutoProbingPlugin.o MP_DisablePath.o \
  34                 MP_EnableAutoFailbackLu.o MP_EnableAutoFailbackPlugin.o \
  35                 MP_EnableAutoProbingLu.o MP_EnableAutoProbingPlugin.o \
  36                 MP_EnablePath.o MP_GetAssociatedPathOidList.o \
  37                 MP_GetAssociatedTPGOidList.o \
  38                 MP_GetDeviceProductOidListPlugin.o \
  39                 MP_GetDeviceProductProperties.o \
  40                 MP_GetInitiatorPortOidListPlugin.o \
  41                 MP_GetInitiatorPortProperties.o \
  42                 MP_GetMPLogicalUnitProperties.o \
  43                 MP_GetMPLuOidListFromTPG.o MP_GetMultipathLusDevProd.o \
  44                 MP_GetMultipathLusPlugin.o MP_GetPathLogicalUnitProperties.o \
  45                 MP_GetPluginPropertiesPlugin.o \


  49                 MP_RegForObjVisChangesPlugin.o MP_SetFailbackPollingRateLu.o \
  50                 MP_SetFailbackPollingRatePlugin.o \
  51                 MP_SetLogicalUnitLoadBalanceType.o MP_SetOverridePath.o \
  52                 MP_SetPathWeight.o MP_SetPluginLBTypePlugin.o \
  53                 MP_SetProbingPollingRateLu.o MP_SetProbingPollingRatePlugin.o \
  54                 MP_SetProprietaryProperties.o MP_SetTPGAccess.o \
  55                 Sun_MP_SendScsiCmd.o Terminate.o debug_logging.o mp_utils.o
  56 
  57 include ../../../Makefile.lib
  58 include ../../../Makefile.rootfs
  59 
  60 SRCDIR =        ../common
  61 
  62 LIBS =          $(DYNLIB)
  63 LDLIBS +=       -lc -ldevinfo -lsysevent -lnvpair
  64 
  65 CFLAGS +=       $(CCVERBOSE)
  66 CPPFLAGS +=     -I$(SRCDIR) -D_POSIX_PTHREAD_SEMANTICS
  67 CPPFLAGS +=     -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
  68 
  69 # not linted
  70 SMATCH=off
  71 
  72 .KEEP_STATE:
  73 
  74 all: $(LIBS)
  75 
  76 lint: lintcheck
  77 
  78 include ../../../Makefile.targ