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