Makefile revision 844
9N/A#
9N/A# CDDL HEADER START
9N/A#
9N/A# The contents of this file are subject to the terms of the
9N/A# Common Development and Distribution License (the "License").
9N/A# You may not use this file except in compliance with the License.
9N/A#
9N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9N/A# or http://www.opensolaris.org/os/licensing.
9N/A# See the License for the specific language governing permissions
9N/A# and limitations under the License.
9N/A#
9N/A# When distributing Covered Code, include this CDDL HEADER in each
9N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9N/A# If applicable, add the following below this CDDL HEADER, with the
9N/A# fields enclosed by brackets "[]" replaced with your own identifying
9N/A# information: Portions Copyright [yyyy] [name of copyright owner]
9N/A#
9N/A# CDDL HEADER END
9N/A#
5506N/A
9N/A#
9N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
9N/A#
9N/A
814N/Ainclude ../../make-rules/shared-macros.mk
5567N/A
814N/ACOMPONENT_NAME= pmtools
814N/ACOMPONENT_VERSION= 20071116
814N/AIPS_COMPONENT_VERSION= 0.2007.11.16
814N/ACOMPONENT_PROJECT_URL= http://www.lesswatts.org/projects/acpi/utilities.php
814N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
814N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1845N/ACOMPONENT_ARCHIVE_HASH= \
814N/A sha256:91751774976e39f6237efd0326eb35196a9346220b92ad35894a33283e872748
1845N/ACOMPONENT_ARCHIVE_URL= http://www.lesswatts.org/patches/linux_acpi/$(COMPONENT_ARCHIVE)
1845N/A
1845N/A# we're i386-only
1845N/Aifeq ($(MACH), sparc)
1845N/APUBLISH_STAMP=
3441N/Aendif
3441N/A
1845N/Ainclude ../../make-rules/prep.mk
1845N/Ainclude ../../make-rules/justmake.mk
1845N/Ainclude ../../make-rules/ips.mk
814N/A
814N/APKG_PROTO_DIRS += $(BUILD_DIR_32)
1470N/A
1470N/ACOMPILER = gcc
1470N/A
1470N/ACOMPONENT_BUILD_ENV += CC=$(CC)
1470N/A
1470N/A
1470N/A# common targets. we're i386-only so we have to
16N/A# be slightly tricky.
16N/A
16N/Abuild_sparc:
16N/A @echo "Not available."
16N/A
1470N/Abuild_i386: $(BUILD_32)
9N/A
16N/Abuild: build_$(MACH)
1470N/A
16N/Ainstall: build
16N/A
1470N/Atest: $(NO_TESTS)
1470N/A
16N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
16N/A
1470N/Ainclude ../../make-rules/depend.mk
5506N/A