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