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# 2281d9f076SRobert Johnston# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 239113a79cSeschrock# Use is subject to license terms. 249113a79cSeschrock# 259113a79cSeschrock 269113a79cSeschrockLIBRARY= libipmi.a 279113a79cSeschrockVERS= .1 289113a79cSeschrock 299113a79cSeschrockOBJECTS= ipmi_bmc.o \ 302eeaed14Srobj ipmi_entity.o \ 31283bfb4dSEric Schrock ipmi_event.o \ 324557a2a1Srobj ipmi_fru.o \ 332eeaed14Srobj ipmi_hash.o \ 34283bfb4dSEric Schrock ipmi_lan.o \ 3581d9f076SRobert Johnston ipmi_lancfg.o \ 362eeaed14Srobj ipmi_list.o \ 379113a79cSeschrock ipmi_misc.o \ 389113a79cSeschrock ipmi_sdr.o \ 39283bfb4dSEric Schrock ipmi_sel.o \ 409113a79cSeschrock ipmi_sensor.o \ 419113a79cSeschrock ipmi_sunoem.o \ 422eeaed14Srobj ipmi_tables.o \ 431af98250Seschrock ipmi_user.o \ 449113a79cSeschrock ipmi_util.o \ 459113a79cSeschrock libipmi.o 469113a79cSeschrock 479113a79cSeschrockinclude ../../Makefile.lib 489113a79cSeschrock 49*793ac993SRichard LoweLIBS= $(DYNLIB) 509113a79cSeschrock 519113a79cSeschrockSRCDIR= ../common 529113a79cSeschrock 53*793ac993SRichard LoweCLEANFILES += $(SRCDIR)/ipmi_tables.c 549113a79cSeschrockINCS += -I$(SRCDIR) 5581d9f076SRobert JohnstonLDLIBS += -lc -lm -lnvpair -lsocket -lnsl 569113a79cSeschrockCPPFLAGS += $(INCS) 57bd0ce624SYuri PankovCSTD = $(CSTD_GNU99) 589113a79cSeschrock 59d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 607014882cSRichard Lowe 619113a79cSeschrock.KEEP_STATE: 629113a79cSeschrock 639113a79cSeschrockall: $(LIBS) 649113a79cSeschrock 652eeaed14Srobj$(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h 662eeaed14Srobj sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@ 672eeaed14Srobj 689113a79cSeschrockinclude ../../Makefile.targ 69