Makefile revision 1273
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
806N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
147N/A#
147N/Ainclude ../../make-rules/shared-macros.mk
147N/A
147N/ACOMPONENT_NAME= tcpdump
147N/ACOMPONENT_VERSION= 4.3.0
147N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
147N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
147N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286
147N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/tcpdump
147N/A
147N/Ainclude ../../make-rules/prep.mk
147N/Ainclude ../../make-rules/configure.mk
147N/Ainclude ../../make-rules/ips.mk
147N/A
147N/A# the default setting of 8s makes us core dump
147N/Astudio_ALIGN.sparc.32=
206N/A
206N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
206N/ACONFIGURE_OPTIONS += --enable-ipv6=yes
206N/ACONFIGURE_OPTIONS += --with-user=nobody
806N/ACONFIGURE_OPTIONS += --without-crypto
806N/A
806N/A# common targets
806N/Abuild: $(BUILD_32)
806N/A
147N/Ainstall: $(INSTALL_32)
147N/A
147N/ACOMPONENT_PRE_TEST_ACTION = \
806N/A ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
206N/A
147N/Atest: $(TEST_32)
147N/A
147N/A
147N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
147N/A
147N/Ainclude ../../make-rules/depend.mk
147N/A