Makefile revision 1273
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or http://www.opensolaris.org/os/licensing.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../make-rules/shared-macros.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_NAME= top
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_VERSION= 3.8beta1
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PROJECT_URL= http://www.unixtop.org/
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_HASH= \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster sha256:6c683e9cb092078cbc1b2233b15fa8bd3d35a00874e6ba27cf54370d1d64fa4d
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_BUGDB= utility/top
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../make-rules/prep.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../make-rules/configure.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../make-rules/ips.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterIPS_COMPONENT_VERSION = 3.8
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# viewpathing support in the build is broken in the 'install' target
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# common targets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterbuild: $(BUILD_64)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinstall: $(INSTALL_64)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
7ffff39c9d3a5fc02ccf432e74d74418ee5b96fbSachiko Wallacetest: $(NO_TESTS)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude ../../make-rules/depend.mk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster