Makefile revision 844
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# CDDL HEADER START
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# The contents of this file are subject to the terms of the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Common Development and Distribution License (the "License").
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You may not use this file except in compliance with the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# or http://www.opensolaris.org/os/licensing.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# See the License for the specific language governing permissions
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# and limitations under the License.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# When distributing Covered Code, include this CDDL HEADER in each
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# If applicable, add the following below this CDDL HEADER, with the
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# fields enclosed by brackets "[]" replaced with your own identifying
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# information: Portions Copyright [yyyy] [name of copyright owner]
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
7190e58eec40192c9719d2f2593471eda14e7e7cfuankg# CDDL HEADER END
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankginclude ../../make-rules/shared-macros.mk
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_NAME= wireshark
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_VERSION= 1.6.5
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_PROJECT_URL= http://www.wireshark.org/
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgCOMPONENT_ARCHIVE_HASH= \
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg sha256:151768199f9b50f5593b97025a33303df4d3b3983a203be89d8a1f5ba830bfcd
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/prep.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/configure.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/ips.mk
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPATCH_LEVEL=0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --bindir=/usr/sbin
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgCONFIGURE_OPTIONS += --disable-usr-local
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --disable-randpkt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --disable-dftest
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --disable-idl2wrs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-krb5
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)"
0662ed52e814f8f08ef0e09956413a792584eddffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# create successfully IPS package of different Wireshark branch than is
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# installed on build system without dependency errors.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_POST_CONFIGURE_ACTION = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes (cd $(@D); \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sed -e 's,-L/usr/lib -R/usr/lib,,' -e 's,-R/usr/lib,,' \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes config.status > config.status.new; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes mv config.status.new config.status; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes chmod 755 config.status; \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes ./config.status)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesbuild: $(BUILD_32)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesinstall: $(INSTALL_32)
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes
8d6e239d0e0aa0593fd93b4fef193d8c51b61b3cfuankgtest: $(NO_TESTS)
b387b9d37fc71c534f4718777454a8f5a1169017fuankg
b387b9d37fc71c534f4718777454a8f5a1169017fuankgBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
b387b9d37fc71c534f4718777454a8f5a1169017fuankg
b387b9d37fc71c534f4718777454a8f5a1169017fuankginclude ../../make-rules/depend.mk
b387b9d37fc71c534f4718777454a8f5a1169017fuankg