Makefile revision 221
346N/A#
346N/A# CDDL HEADER START
346N/A#
346N/A# The contents of this file are subject to the terms of the
346N/A# Common Development and Distribution License (the "License").
346N/A# You may not use this file except in compliance with the License.
346N/A#
346N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
346N/A# or http://www.opensolaris.org/os/licensing.
346N/A# See the License for the specific language governing permissions
346N/A# and limitations under the License.
346N/A#
346N/A# When distributing Covered Code, include this CDDL HEADER in each
346N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
346N/A# If applicable, add the following below this CDDL HEADER, with the
346N/A# fields enclosed by brackets "[]" replaced with your own identifying
346N/A# information: Portions Copyright [yyyy] [name of copyright owner]
346N/A#
346N/A# CDDL HEADER END
346N/A#
346N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
346N/A#
346N/Ainclude ../../make-rules/shared-macros.mk
346N/A
346N/ACOMPONENT_NAME= tcpdump
346N/ACOMPONENT_VERSION= 4.1.1
346N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
346N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
346N/ACOMPONENT_ARCHIVE_HASH= sha1:8f356cbc781192ecb527623d68db90e06aa9d4b9
346N/ACOMPONENT_ARCHIVE_URL= http://www.tcpdump.org/release/$(COMPONENT_ARCHIVE)
346N/A
346N/Ainclude ../../make-rules/prep.mk
346N/Ainclude ../../make-rules/configure.mk
346N/Ainclude ../../make-rules/ips.mk
346N/A
346N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
346N/ACONFIGURE_OPTIONS += --enable-ipv6=yes
493N/ACONFIGURE_OPTIONS += --with-user=nobody
346N/ACONFIGURE_OPTIONS += --without-crypto
346N/A
493N/A# common targets
346N/Abuild: $(BUILD_32)
346N/A
346N/Ainstall: $(INSTALL_32)
346N/A
346N/Atest: $(NO_TESTS)
346N/A
493N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
493N/A
346N/Ainclude ../../make-rules/depend.mk
346N/A
346N/A