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