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