17aec1d6eScindi# 27aec1d6eScindi# CDDL HEADER START 37aec1d6eScindi# 47aec1d6eScindi# The contents of this file are subject to the terms of the 54557a2a1Srobj# Common Development and Distribution License (the "License"). 64557a2a1Srobj# You may not use this file except in compliance with the License. 77aec1d6eScindi# 87aec1d6eScindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97aec1d6eScindi# or http://www.opensolaris.org/os/licensing. 107aec1d6eScindi# See the License for the specific language governing permissions 117aec1d6eScindi# and limitations under the License. 127aec1d6eScindi# 137aec1d6eScindi# When distributing Covered Code, include this CDDL HEADER in each 147aec1d6eScindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157aec1d6eScindi# If applicable, add the following below this CDDL HEADER, with the 167aec1d6eScindi# fields enclosed by brackets "[]" replaced with your own identifying 177aec1d6eScindi# information: Portions Copyright [yyyy] [name of copyright owner] 187aec1d6eScindi# 197aec1d6eScindi# CDDL HEADER END 207aec1d6eScindi# 217aec1d6eScindi# 22074bb90dSTom Pothier# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237aec1d6eScindi# Use is subject to license terms. 247aec1d6eScindi# 25*f2dbfd32SRobert Mustacchi# Copyright 2019, Joyent, Inc. 267aec1d6eScindi 277aec1d6eScindiMODULE = chip 287aec1d6eScindiARCH = i86pc 297aec1d6eScindiCLASS = arch 30*f2dbfd32SRobert MustacchiSHAREDDIR = ../../common/shared/ 31*f2dbfd32SRobert Mustacchi 322cb5535aSrobjMODULESRCS = chip.c chip_label.c chip_subr.c chip_amd.c chip_intel.c \ 33*f2dbfd32SRobert Mustacchichip_serial.c chip_smbios.c chip_temp.o 34*f2dbfd32SRobert MustacchiMODULESRCS += topo_sensor.c 357aec1d6eScindi 367aec1d6eScindiinclude ../../Makefile.plugin 37c26bf377SRob JohnstonLDLIBS += -lipmi -lfmd_agent -lumem -lsmbios -lkstat 3805ede3dbSJohn Levon 39*f2dbfd32SRobert MustacchiCPPFLAGS += -I$(SHAREDDIR) 40*f2dbfd32SRobert Mustacchi 41*f2dbfd32SRobert Mustacchi%.o: $(SHAREDDIR)/%.c 42*f2dbfd32SRobert Mustacchi $(COMPILE.c) -o $@ $< 43*f2dbfd32SRobert Mustacchi $(CTFCONVERT_O) 44