xref: /titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/Makefile.com (revision f0e308969424e7466232f0795ba1891698c3adf7)
1#
2# CDDL HEADER START
3#
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.
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
26LIBRARY=	libmpscsi_vhci.a
27VERS=		.1
28OBJECTS=	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 \
45		MP_GetProprietaryLBOidListPlugin.o MP_GetProprietaryLBProp.o \
46		MP_GetTargetPortGroupProperties.o MP_GetTargetPortOidList.o \
47		MP_GetTargetPortProperties.o MP_RegForObjPropChangesPlugin.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
56include ../../../Makefile.lib
57include ../../../Makefile.rootfs
58
59SRCDIR = 	../common
60
61LIBS =		$(DYNLIB)
62LDLIBS +=	-lc -ldevinfo -lsysevent -lnvpair
63
64CFLAGS +=	$(CCVERBOSE)
65CPPFLAGS +=	-I$(SRCDIR) -D_POSIX_PTHREAD_SEMANTICS
66CPPFLAGS +=	-DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
67
68.KEEP_STATE:
69
70all: $(LIBS)
71
72lint: lintcheck
73
74include ../../../Makefile.targ
75