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 JelinekPROG= acpixtract 15*de5d74c2SJerry Jelinek 16*de5d74c2SJerry Jelinekinclude ../../Makefile.cmd 17*de5d74c2SJerry Jelinekinclude ../../Makefile.ctf 18*de5d74c2SJerry Jelinek 19*de5d74c2SJerry JelinekOBJS= axmain.o acpixtract.o axutils.o 20*de5d74c2SJerry JelinekSRCS = $(OBJS:.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_XTRACT_APP 25*de5d74c2SJerry Jelinek 26*de5d74c2SJerry Jelinek.KEEP_STATE: 27*de5d74c2SJerry Jelinek 28*de5d74c2SJerry Jelinekall: $(PROG) 29*de5d74c2SJerry Jelinek 30*de5d74c2SJerry Jelinek$(PROG): $(OBJS) 31*de5d74c2SJerry Jelinek $(LINK.c) -o $@ $(OBJS) ../common/acpi.a 32*de5d74c2SJerry Jelinek $(POST_PROCESS) 33*de5d74c2SJerry Jelinek 34*de5d74c2SJerry Jelinekinstall: all $(ROOTUSRSBINPROG) 35*de5d74c2SJerry Jelinek 36*de5d74c2SJerry Jelinekclean: 37*de5d74c2SJerry Jelinek $(RM) $(OBJS) 38*de5d74c2SJerry Jelinek 39*de5d74c2SJerry Jelineklint: lint_SRCS 40*de5d74c2SJerry Jelinek 41*de5d74c2SJerry Jelinekinclude ../../Makefile.targ 42