xref: /titanic_53/usr/src/lib/libipmi/Makefile.com (revision 1af98250c8b03bdc43d8ac3aac6390221d75b92e)
19113a79cSeschrock#
29113a79cSeschrock# CDDL HEADER START
39113a79cSeschrock#
49113a79cSeschrock# The contents of this file are subject to the terms of the
59113a79cSeschrock# Common Development and Distribution License (the "License").
69113a79cSeschrock# You may not use this file except in compliance with the License.
79113a79cSeschrock#
89113a79cSeschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99113a79cSeschrock# or http://www.opensolaris.org/os/licensing.
109113a79cSeschrock# See the License for the specific language governing permissions
119113a79cSeschrock# and limitations under the License.
129113a79cSeschrock#
139113a79cSeschrock# When distributing Covered Code, include this CDDL HEADER in each
149113a79cSeschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159113a79cSeschrock# If applicable, add the following below this CDDL HEADER, with the
169113a79cSeschrock# fields enclosed by brackets "[]" replaced with your own identifying
179113a79cSeschrock# information: Portions Copyright [yyyy] [name of copyright owner]
189113a79cSeschrock#
199113a79cSeschrock# CDDL HEADER END
209113a79cSeschrock#
219113a79cSeschrock#
229113a79cSeschrock# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
239113a79cSeschrock# Use is subject to license terms.
249113a79cSeschrock#
259113a79cSeschrock#ident	"%Z%%M%	%I%	%E% SMI"
269113a79cSeschrock
279113a79cSeschrockLIBRARY=	libipmi.a
289113a79cSeschrockVERS=		.1
299113a79cSeschrock
309113a79cSeschrockOBJECTS=	ipmi_bmc.o	\
314557a2a1Srobj		ipmi_fru.o	\
329113a79cSeschrock		ipmi_misc.o	\
339113a79cSeschrock		ipmi_sdr.o	\
349113a79cSeschrock		ipmi_sensor.o	\
359113a79cSeschrock		ipmi_sunoem.o	\
36*1af98250Seschrock		ipmi_user.o	\
379113a79cSeschrock		ipmi_util.o	\
389113a79cSeschrock		libipmi.o
399113a79cSeschrock
409113a79cSeschrockSRCS=		$(OBJECTS:%.o:$(SRCDIR)/%c.)
419113a79cSeschrock
429113a79cSeschrockinclude ../../Makefile.lib
439113a79cSeschrock
449113a79cSeschrockLIBS=		$(DYNLIB) $(LINTLIB)
459113a79cSeschrock
469113a79cSeschrockSRCDIR=		../common
479113a79cSeschrock
489113a79cSeschrockINCS +=		-I$(SRCDIR)
499113a79cSeschrockLDLIBS +=	-lc
509113a79cSeschrockCPPFLAGS +=	$(INCS)
519113a79cSeschrock
529113a79cSeschrock$(LINTLIB) := SRCS=	$(SRCDIR)/$(LINTSRC)
539113a79cSeschrock
549113a79cSeschrock.KEEP_STATE:
559113a79cSeschrock
569113a79cSeschrockall: $(LIBS)
579113a79cSeschrock
589113a79cSeschrocklint: lintcheck
599113a79cSeschrock
609113a79cSeschrockinclude ../../Makefile.targ
61