Makefile revision 5680
174N/A#
174N/A# CDDL HEADER START
174N/A#
174N/A# The contents of this file are subject to the terms of the
174N/A# Common Development and Distribution License (the "License").
174N/A# You may not use this file except in compliance with the License.
174N/A#
174N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
174N/A# or http://www.opensolaris.org/os/licensing.
174N/A# See the License for the specific language governing permissions
174N/A# and limitations under the License.
174N/A#
174N/A# When distributing Covered Code, include this CDDL HEADER in each
174N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
174N/A# If applicable, add the following below this CDDL HEADER, with the
174N/A# fields enclosed by brackets "[]" replaced with your own identifying
174N/A# information: Portions Copyright [yyyy] [name of copyright owner]
174N/A#
174N/A# CDDL HEADER END
174N/A#
2899N/A
174N/A#
174N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
174N/A#
174N/ABUILD_BITS= 64
174N/Ainclude ../../make-rules/shared-macros.mk
174N/A
174N/ACOMPONENT_NAME= tcpdump
174N/ACOMPONENT_VERSION= 4.7.4
844N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
174N/A sha256:5a321f0fb959b928f26112c9f49f81d754c23c1d8ffb0feb69304fee06b77e0a
1258N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
174N/A
2899N/ATPNO= 22949
2899N/A
174N/A# Prevent macro redefinition error
174N/ACFLAGS += -D _NETINET_IP_H
174N/A
181N/Ainclude $(WS_MAKE_RULES)/common.mk
174N/A
174N/A# fix my alignment issues instead of falling over on sparc
174N/Astudio_ALIGN.sparc.64=-xmemalign=16i
206N/ACONFIGURE_OPTIONS.sparc += ac_cv___attribute__=no
206N/A
181N/A# lazyloading (indirectly enabled by -Bdirect) seems to cause problems with
206N/A# libpcap device enumeration.
206N/ALD_B_DIRECT=
206N/A
206N/ACONFIGURE_OPTIONS += --enable-ipv6=yes
206N/ACONFIGURE_OPTIONS += --with-user=nobody
206N/ACONFIGURE_OPTIONS += --without-crypto
174N/A
174N/A# common targets
174N/ACOMPONENT_PRE_TEST_ACTION = \
174N/A ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
206N/A
206N/AREQUIRED_PACKAGES += system/library/libpcap
174N/A