Print this page
10079 smatch Makefile changes for usr/src/lib
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/mpapi/libmpscsi_vhci/Makefile.com
+++ new/usr/src/lib/mpapi/libmpscsi_vhci/Makefile.com
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 (c) 2018, Joyent, Inc.
25 26
26 27 LIBRARY= libmpscsi_vhci.a
27 28 VERS= .1
28 29 OBJECTS= Initialize.o MP_AssignLogicalUnitToTPG.o \
29 30 MP_CancelOverridePath.o MP_DeregForObjPropChangesPlugin.o \
30 31 MP_DeregForObjVisChangesPlugin.o MP_DisableAutoFailbackLu.o \
31 32 MP_DisableAutoFailbackPlugin.o MP_DisableAutoProbingLu.o \
32 33 MP_DisableAutoProbingPlugin.o MP_DisablePath.o \
33 34 MP_EnableAutoFailbackLu.o MP_EnableAutoFailbackPlugin.o \
34 35 MP_EnableAutoProbingLu.o MP_EnableAutoProbingPlugin.o \
35 36 MP_EnablePath.o MP_GetAssociatedPathOidList.o \
36 37 MP_GetAssociatedTPGOidList.o \
37 38 MP_GetDeviceProductOidListPlugin.o \
38 39 MP_GetDeviceProductProperties.o \
39 40 MP_GetInitiatorPortOidListPlugin.o \
40 41 MP_GetInitiatorPortProperties.o \
41 42 MP_GetMPLogicalUnitProperties.o \
42 43 MP_GetMPLuOidListFromTPG.o MP_GetMultipathLusDevProd.o \
43 44 MP_GetMultipathLusPlugin.o MP_GetPathLogicalUnitProperties.o \
44 45 MP_GetPluginPropertiesPlugin.o \
45 46 MP_GetProprietaryLBOidListPlugin.o MP_GetProprietaryLBProp.o \
46 47 MP_GetTargetPortGroupProperties.o MP_GetTargetPortOidList.o \
47 48 MP_GetTargetPortProperties.o MP_RegForObjPropChangesPlugin.o \
48 49 MP_RegForObjVisChangesPlugin.o MP_SetFailbackPollingRateLu.o \
49 50 MP_SetFailbackPollingRatePlugin.o \
50 51 MP_SetLogicalUnitLoadBalanceType.o MP_SetOverridePath.o \
51 52 MP_SetPathWeight.o MP_SetPluginLBTypePlugin.o \
52 53 MP_SetProbingPollingRateLu.o MP_SetProbingPollingRatePlugin.o \
53 54 MP_SetProprietaryProperties.o MP_SetTPGAccess.o \
54 55 Sun_MP_SendScsiCmd.o Terminate.o debug_logging.o mp_utils.o
55 56
56 57 include ../../../Makefile.lib
57 58 include ../../../Makefile.rootfs
↓ open down ↓ |
23 lines elided |
↑ open up ↑ |
58 59
59 60 SRCDIR = ../common
60 61
61 62 LIBS = $(DYNLIB)
62 63 LDLIBS += -lc -ldevinfo -lsysevent -lnvpair
63 64
64 65 CFLAGS += $(CCVERBOSE)
65 66 CPPFLAGS += -I$(SRCDIR) -D_POSIX_PTHREAD_SEMANTICS
66 67 CPPFLAGS += -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
67 68
69 +# not linted
70 +SMATCH=off
71 +
68 72 .KEEP_STATE:
69 73
70 74 all: $(LIBS)
71 75
72 76 lint: lintcheck
73 77
74 78 include ../../../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX