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