Makefile revision 1273
c330021bf3f45cbf187fa644781e67f7e470a58awrowe#
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stas# CDDL HEADER START
c330021bf3f45cbf187fa644781e67f7e470a58awrowe#
c330021bf3f45cbf187fa644781e67f7e470a58awrowe# The contents of this file are subject to the terms of the
c330021bf3f45cbf187fa644781e67f7e470a58awrowe# Common Development and Distribution License (the "License").
c330021bf3f45cbf187fa644781e67f7e470a58awrowe# You may not use this file except in compliance with the License.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
af4c982a7cf4515f124935f99a329744035fc699slive# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
af4c982a7cf4515f124935f99a329744035fc699slive# or http://www.opensolaris.org/os/licensing.
af4c982a7cf4515f124935f99a329744035fc699slive# See the License for the specific language governing permissions
af4c982a7cf4515f124935f99a329744035fc699slive# and limitations under the License.
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# When distributing Covered Code, include this CDDL HEADER in each
af4c982a7cf4515f124935f99a329744035fc699slive# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe# If applicable, add the following below this CDDL HEADER, with the
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe# fields enclosed by brackets "[]" replaced with your own identifying
abdf88f96a56cf5c242d3195c493dbb8a7355d03wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe#
10270f6f94b2069d0d357805c140a9897449b9ccianh# CDDL HEADER END
4b62424416882687387923b3130b96241503cbe0jerenkrantz#
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz#
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddardinclude ../../make-rules/shared-macros.mk
dbec4658981e4f9127e8676457c28d42932be7cdtrawick
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_NAME= top
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_VERSION= 3.8beta1
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_PROJECT_URL= http://www.unixtop.org/
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_ARCHIVE_HASH= \
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stas sha256:6c683e9cb092078cbc1b2233b15fa8bd3d35a00874e6ba27cf54370d1d64fa4d
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stasCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
1b7e9aeb9867a1c94e24e8ae491d2dfcd0d225e3jerenkrantzCOMPONENT_BUGDB= utility/top
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzinclude ../../make-rules/prep.mk
a3f7a6fb4aedec8585efd990cf99d3917b99a0d3jiminclude ../../make-rules/configure.mk
a3f7a6fb4aedec8585efd990cf99d3917b99a0d3jiminclude ../../make-rules/ips.mk
a3f7a6fb4aedec8585efd990cf99d3917b99a0d3jim
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardIPS_COMPONENT_VERSION = 3.8
1e82fcef33ad0da9e76fbb1f5e440b691a8b3551jerenkrantz
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard# viewpathing support in the build is broken in the 'install' target
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard# common targets
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardbuild: $(BUILD_64)
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardinstall: $(INSTALL_64)
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardtest: $(NO_TESTS)
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddardinclude ../../make-rules/depend.mk
9fdeef48d40b7dd34c57d74fcc50a0c6924a4f1dstoddard