1*cb565728SJerry Jelinek# 2*cb565728SJerry Jelinek# This file and its contents are supplied under the terms of the 3*cb565728SJerry Jelinek# Common Development and Distribution License ("CDDL"), version 1.0. 4*cb565728SJerry Jelinek# You may only use this file in accordance with the terms of version 5*cb565728SJerry Jelinek# 1.0 of the CDDL. 6*cb565728SJerry Jelinek# 7*cb565728SJerry Jelinek# A full copy of the text of the CDDL should have accompanied this 8*cb565728SJerry Jelinek# source. A copy of the CDDL is also available via the Internet at 9*cb565728SJerry Jelinek# http://www.illumos.org/license/CDDL. 10*cb565728SJerry Jelinek# 11*cb565728SJerry Jelinek# Copyright 2016 Joyent, Inc. 12*cb565728SJerry Jelinek# 13*cb565728SJerry Jelinek 14*cb565728SJerry JelinekLIBRARY = acpi.a 15*cb565728SJerry Jelinek 16*cb565728SJerry Jelinekinclude $(SRC)/lib/Makefile.lib 17*cb565728SJerry Jelinek 18*cb565728SJerry JelinekOBJECTS= getopt.o osl.o utascii.o utdebug.o utexcep.o utglobal.o utmath.o \ 19*cb565728SJerry Jelinek utnonansi.o utprint.o utxferror.o 20*cb565728SJerry JelinekSRCS = $(OBJECTS:.o=.c) 21*cb565728SJerry Jelinek 22*cb565728SJerry JelinekCERRWARN += -_gcc=-Wno-unused-function 23*cb565728SJerry Jelinek 24*cb565728SJerry JelinekCPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_APPLICATION 25*cb565728SJerry Jelinek 26*cb565728SJerry JelinekLDLIBS += -lc 27*cb565728SJerry Jelinek 28*cb565728SJerry JelinekHSONAME= 29*cb565728SJerry JelinekMAPFILES = mapfile-vers 30*cb565728SJerry Jelinek 31*cb565728SJerry Jelinek.KEEP_STATE: 32*cb565728SJerry Jelinek 33*cb565728SJerry Jelinekall: $(LIBRARY) 34*cb565728SJerry Jelinek 35*cb565728SJerry Jelinekinstall: all 36*cb565728SJerry Jelinek 37*cb565728SJerry Jelinekinclude $(SRC)/lib/Makefile.targ 38