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