Makefile revision 3996
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2362N/A#
2362N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= tcpdump
0N/ACOMPONENT_VERSION= 4.5.1
0N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:14ab39657128f3a650aed4cf455f76c7590601087b6101c253d698f6e73f0b96
0N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/tcpdump
0N/A
0N/ATPNO= 16021
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/A# fix my alignment issues instead of falling over on sparc
0N/Astudio_ALIGN.sparc.64=-xmemalign=16i
0N/ACONFIGURE_OPTIONS.sparc += ac_cv___attribute__=no
0N/ACONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(MACH))
0N/A
0N/A# lazyloading (indirectly enabled by -Bdirect) seems to cause problems with
0N/A# libpcap device enumeration.
0N/ALD_B_DIRECT=
0N/A
0N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_OPTIONS += --enable-ipv6=yes
0N/ACONFIGURE_OPTIONS += --with-user=nobody
0N/ACONFIGURE_OPTIONS += --without-crypto
0N/A
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/A# common targets
0N/Abuild: $(BUILD_64)
0N/A
0N/Ainstall: $(INSTALL_64)
0N/A
0N/ACOMPONENT_PRE_TEST_ACTION = \
0N/A ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
0N/A
0N/Atest: $(TEST_64)
0N/A
0N/A
0N/A
0N/AREQUIRED_PACKAGES += system/library
0N/AREQUIRED_PACKAGES += system/library/libpcap
0N/A