Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / lib / mpapi / libmpscsi_vhci / Makefile.com
blob5a669561b00d8e95d9c48b8e48fd7de46af0fd84
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # Copyright (c) 2018, Joyent, Inc.
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 \
46                 MP_GetProprietaryLBOidListPlugin.o MP_GetProprietaryLBProp.o \
47                 MP_GetTargetPortGroupProperties.o MP_GetTargetPortOidList.o \
48                 MP_GetTargetPortProperties.o MP_RegForObjPropChangesPlugin.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
57 include ../../../Makefile.lib
58 include ../../../Makefile.rootfs
60 SRCDIR =        ../common
62 LIBS =          $(DYNLIB)
63 LDLIBS +=       -lc -ldevinfo -lsysevent -lnvpair
65 CPPFLAGS += -I$(SRCTOP)/include
66 CPPFLAGS +=     -I$(SRCDIR) -D_POSIX_PTHREAD_SEMANTICS
67 CPPFLAGS +=     -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
69 # not linted
70 SMATCH=off
72 .KEEP_STATE:
74 all: $(LIBS)
77 include ../../../Makefile.targ