Makefile revision 1209
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
371N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/Ainclude ../../make-rules/shared-macros.mk
98N/A
98N/ACOMPONENT_NAME= wireshark
98N/ACOMPONENT_VERSION= 1.8.3
98N/ACOMPONENT_PROJECT_URL= http://www.wireshark.org/
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
98N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
98N/ACOMPONENT_ARCHIVE_HASH= \
98N/A sha256:83a85ff506b5e2a70f03c49de7af291802404983a23c7779e0f4ac3e672a2fb3
98N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
493N/A
98N/Ainclude ../../make-rules/prep.mk
98N/Ainclude ../../make-rules/configure.mk
98N/Ainclude ../../make-rules/ips.mk
493N/A
98N/APATCH_LEVEL=0
98N/A
493N/ACONFIGURE_OPTIONS += --bindir=/usr/sbin
98N/ACONFIGURE_OPTIONS += --disable-usr-local
98N/ACONFIGURE_OPTIONS += --disable-randpkt
98N/ACONFIGURE_OPTIONS += --disable-dftest
98N/ACONFIGURE_OPTIONS += --with-krb5
98N/ACONFIGURE_OPTIONS += --with-lua=no
98N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
493N/ACONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)"
493N/A
98N/A# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
98N/A# create successfully IPS package of different Wireshark branch than is
# installed on build system without dependency errors.
COMPONENT_POST_CONFIGURE_ACTION = \
(cd $(@D); \
sed -e 's,-L/usr/lib -R/usr/lib,,' -e 's,-R/usr/lib,,' \
config.status > config.status.new; \
mv config.status.new config.status; \
chmod 755 config.status; \
./config.status)
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk