Makefile revision 2996
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
5e047890ac9b745db060d95f7d1b4f876511240dTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# See the License for the specific language governing permissions
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews# and limitations under the License.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_PROJECT_URL= http://www.wireshark.org/
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson sha256:27d9cf4f0ca1ac436104b7f27caf8ad65f73db09edc8df0742ce9688c7d38763
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Micro version for easy libraries packaging
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Enable ASLR for this component
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsCONFIGURE_OPTIONS += PATH="/usr/perl5/bin:/usr/gnu/bin:$(PATH)"
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Use the 64-bit versions of pkg-config files
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Version 1.10 (libwireshark.so) doesn't play nicely with -Bdirect.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# We need to avoid RPATH=/usr/lib in Wireshark libraries so that we can
7feccf248d2a20a2ae48b290f58ded5abc853e9aTinderbox User# create successfully IPS package of different Wireshark branch than is
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# installed on build system without dependency errors.