a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER START
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# The contents of this file are subject to the terms of the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Common Development and Distribution License (the "License").
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You may not use this file except in compliance with the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# or http://www.opensolaris.org/os/licensing.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# See the License for the specific language governing permissions
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# and limitations under the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# When distributing Covered Code, include this CDDL HEADER in each
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# If applicable, add the following below this CDDL HEADER, with the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# fields enclosed by brackets "[]" replaced with your own identifying
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# information: Portions Copyright [yyyy] [name of copyright owner]
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER END
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson#
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Copyright (c) 2010, Intel Corporation.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# All rights reserved.
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson#
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# cmd/acpihpd/Makefile
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuPLATFORM = i86pc
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuMANIFEST = acpihpd.xml
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuSVCMETHOD = svc-acpihpd
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinclude ../Makefile.cmd
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu$(64ONLY)SUBDIRS= $(MACH)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuROOTMANIFESTDIR = $(ROOTSVCPLATFORM)/${PLATFORM}
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuall := TARGET = all
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinstall := TARGET = install
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuclean := TARGET = clean
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuclobber := TARGET = clobber
a31148363f598def767ac48c5d82e1572e44b935Gerry Liulint := TARGET = lint
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu.KEEP_STATE:
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. NelsonCLOBBERFILES += THIRDPARTYLICENSE
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuall: $(SUBDIRS)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinstall: $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelsonall install: THIRDPARTYLICENSE
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. NelsonTHIRDPARTYLICENSE: acpihpd.c
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson $(SED) -e '/sys\/param.h/,$$ d' acpihpd.c > $@
5084e753b79a753c8b532c06eb3ad1d025e8e472Mark J. Nelson
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuclean clobber lint: $(SUBDIRS)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liucheck: $(CHKMANIFEST)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu$(SUBDIRS): FRC
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu @cd $@; pwd; $(MAKE) $(TARGET)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuFRC:
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinclude ../Makefile.targ