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