Makefile revision 3661
68N/A#
68N/A# CDDL HEADER START
68N/A#
68N/A# The contents of this file are subject to the terms of the
68N/A# Common Development and Distribution License (the "License").
68N/A# You may not use this file except in compliance with the License.
68N/A#
68N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68N/A# or http://www.opensolaris.org/os/licensing.
68N/A# See the License for the specific language governing permissions
68N/A# and limitations under the License.
68N/A#
68N/A# When distributing Covered Code, include this CDDL HEADER in each
68N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68N/A# If applicable, add the following below this CDDL HEADER, with the
68N/A# fields enclosed by brackets "[]" replaced with your own identifying
68N/A# information: Portions Copyright [yyyy] [name of copyright owner]
68N/A#
68N/A# CDDL HEADER END
68N/A#
75N/A
75N/A#
68N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
68N/A#
68N/A
68N/Ainclude ../../make-rules/shared-macros.mk
68N/A
68N/ACOMPONENT_NAME= iftop
68N/ACOMPONENT_VERSION= 0.17
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
68N/ACOMPONENT_PROJECT_URL= http://www.ex-parrot.com/~pdw/iftop/
68N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
68N/ACOMPONENT_ARCHIVE_HASH= \
618N/A sha256:d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
68N/ACOMPONENT_ARCHIVE_URL= http://www.ex-parrot.com/~pdw/iftop/download/$(COMPONENT_ARCHIVE)
68N/ACOMPONENT_BUGDB= utility/iftop
68N/A
68N/ATPNO= 9256
68N/A
68N/Ainclude ../../make-rules/prep.mk
68N/Ainclude ../../make-rules/configure.mk
68N/Ainclude ../../make-rules/ips.mk
68N/A
68N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
68N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
68N/A
181N/APATCH_LEVEL= 0
83N/A
68N/A# without this we bus error on sparc. sadly I don't see any patches
68N/A# that might relate from the upstream (though maybe that's really
68N/A# "happily", as this is simpler)
studio_ALIGN.sparc.32= -xmemalign=1i
IFTOP_LIBDIR= /usr/gnu/lib
LDFLAGS += -L$(IFTOP_LIBDIR) -R$(IFTOP_LIBDIR)
CPPFLAGS += -I/usr/gnu/include -I/usr/include/ncurses
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk