1a3114836SGerry Liu# 2a3114836SGerry Liu# CDDL HEADER START 3a3114836SGerry Liu# 4a3114836SGerry Liu# The contents of this file are subject to the terms of the 5a3114836SGerry Liu# Common Development and Distribution License (the "License"). 6a3114836SGerry Liu# You may not use this file except in compliance with the License. 7a3114836SGerry Liu# 8a3114836SGerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9a3114836SGerry Liu# or http://www.opensolaris.org/os/licensing. 10a3114836SGerry Liu# See the License for the specific language governing permissions 11a3114836SGerry Liu# and limitations under the License. 12a3114836SGerry Liu# 13a3114836SGerry Liu# When distributing Covered Code, include this CDDL HEADER in each 14a3114836SGerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15a3114836SGerry Liu# If applicable, add the following below this CDDL HEADER, with the 16a3114836SGerry Liu# fields enclosed by brackets "[]" replaced with your own identifying 17a3114836SGerry Liu# information: Portions Copyright [yyyy] [name of copyright owner] 18a3114836SGerry Liu# 19a3114836SGerry Liu# CDDL HEADER END 20a3114836SGerry Liu# 21*5084e753SMark J. Nelson 22a3114836SGerry Liu# 23*5084e753SMark J. Nelson# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24*5084e753SMark J. Nelson# 25*5084e753SMark J. Nelson 26a3114836SGerry Liu# 27a3114836SGerry Liu# Copyright (c) 2010, Intel Corporation. 28a3114836SGerry Liu# All rights reserved. 29a3114836SGerry Liu# 30*5084e753SMark J. Nelson 31*5084e753SMark J. Nelson# 32a3114836SGerry Liu# cmd/acpihpd/Makefile 33a3114836SGerry Liu# 34a3114836SGerry Liu 35a3114836SGerry LiuPLATFORM = i86pc 36a3114836SGerry LiuMANIFEST = acpihpd.xml 37a3114836SGerry LiuSVCMETHOD = svc-acpihpd 38a3114836SGerry Liu 39a3114836SGerry Liuinclude ../Makefile.cmd 40a3114836SGerry Liu 41a3114836SGerry Liu$(64ONLY)SUBDIRS= $(MACH) 42a3114836SGerry Liu 43a3114836SGerry LiuROOTMANIFESTDIR = $(ROOTSVCPLATFORM)/${PLATFORM} 44a3114836SGerry Liu 45a3114836SGerry Liuall := TARGET = all 46a3114836SGerry Liuinstall := TARGET = install 47a3114836SGerry Liuclean := TARGET = clean 48a3114836SGerry Liuclobber := TARGET = clobber 49a3114836SGerry Liulint := TARGET = lint 50a3114836SGerry Liu 51a3114836SGerry Liu.KEEP_STATE: 52a3114836SGerry Liu 53*5084e753SMark J. NelsonCLOBBERFILES += THIRDPARTYLICENSE 54*5084e753SMark J. Nelson 55a3114836SGerry Liuall: $(SUBDIRS) 56a3114836SGerry Liu 57a3114836SGerry Liuinstall: $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 58a3114836SGerry Liu 59*5084e753SMark J. Nelsonall install: THIRDPARTYLICENSE 60*5084e753SMark J. Nelson 61*5084e753SMark J. NelsonTHIRDPARTYLICENSE: acpihpd.c 62*5084e753SMark J. Nelson $(SED) -e '/sys\/param.h/,$$ d' acpihpd.c > $@ 63*5084e753SMark J. Nelson 64a3114836SGerry Liuclean clobber lint: $(SUBDIRS) 65a3114836SGerry Liu 66a3114836SGerry Liucheck: $(CHKMANIFEST) 67a3114836SGerry Liu 68a3114836SGerry Liu$(SUBDIRS): FRC 69a3114836SGerry Liu @cd $@; pwd; $(MAKE) $(TARGET) 70a3114836SGerry Liu 71a3114836SGerry LiuFRC: 72a3114836SGerry Liu 73a3114836SGerry Liuinclude ../Makefile.targ 74