15714154dSmikechr#
25714154dSmikechr# CDDL HEADER START
35714154dSmikechr#
45714154dSmikechr# 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.
75714154dSmikechr#
85714154dSmikechr# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95714154dSmikechr# or http://www.opensolaris.org/os/licensing.
105714154dSmikechr# See the License for the specific language governing permissions
115714154dSmikechr# and limitations under the License.
125714154dSmikechr#
135714154dSmikechr# When distributing Covered Code, include this CDDL HEADER in each
145714154dSmikechr# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155714154dSmikechr# If applicable, add the following below this CDDL HEADER, with the
165714154dSmikechr# fields enclosed by brackets "[]" replaced with your own identifying
175714154dSmikechr# information: Portions Copyright [yyyy] [name of copyright owner]
185714154dSmikechr#
195714154dSmikechr# CDDL HEADER END
205714154dSmikechr#
215714154dSmikechr#
22074bb90dSTom Pothier# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
235714154dSmikechr# Use is subject to license terms.
245714154dSmikechr#
25*f2dbfd32SRobert Mustacchi# Copyright 2019, Joyent, Inc.
265714154dSmikechr
277aec1d6eScindiMODULE = chip
287aec1d6eScindiARCH = i86pc
297aec1d6eScindiCLASS = arch
30*f2dbfd32SRobert MustacchiSHAREDDIR = ../../common/shared/
31*f2dbfd32SRobert Mustacchi
32*f2dbfd32SRobert MustacchiMODULESRCS = 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
355714154dSmikechr
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