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# 222eeaed14Srobj# Copyright 2008 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 \ 312eeaed14Srobj ipmi_entity.o \ 324557a2a1Srobj ipmi_fru.o \ 332eeaed14Srobj ipmi_hash.o \ 342eeaed14Srobj ipmi_list.o \ 359113a79cSeschrock ipmi_misc.o \ 362eeaed14Srobj ipmi_sel.o \ 379113a79cSeschrock ipmi_sdr.o \ 389113a79cSeschrock ipmi_sensor.o \ 399113a79cSeschrock ipmi_sunoem.o \ 402eeaed14Srobj ipmi_tables.o \ 411af98250Seschrock ipmi_user.o \ 429113a79cSeschrock ipmi_util.o \ 439113a79cSeschrock libipmi.o 449113a79cSeschrock 459113a79cSeschrockSRCS= $(OBJECTS:%.o:$(SRCDIR)/%c.) 469113a79cSeschrock 479113a79cSeschrockinclude ../../Makefile.lib 489113a79cSeschrock 499113a79cSeschrockLIBS= $(DYNLIB) $(LINTLIB) 509113a79cSeschrock 519113a79cSeschrockSRCDIR= ../common 529113a79cSeschrock 53*5c69b57aSrobjCLEANFILES += $(SRCDIR)/ipmi_tables.c 549113a79cSeschrockINCS += -I$(SRCDIR) 559113a79cSeschrockLDLIBS += -lc 569113a79cSeschrockCPPFLAGS += $(INCS) 579113a79cSeschrock 589113a79cSeschrock$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) 599113a79cSeschrock 609113a79cSeschrock.KEEP_STATE: 619113a79cSeschrock 629113a79cSeschrockall: $(LIBS) 639113a79cSeschrock 649113a79cSeschrocklint: lintcheck 659113a79cSeschrock 662eeaed14Srobj$(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h 672eeaed14Srobj sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@ 682eeaed14Srobj 699113a79cSeschrockinclude ../../Makefile.targ 70