Makefile revision 5270
431N/A#
431N/A# CDDL HEADER START
431N/A#
431N/A# The contents of this file are subject to the terms of the
431N/A# Common Development and Distribution License (the "License").
431N/A# You may not use this file except in compliance with the License.
431N/A#
431N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
431N/A# or http://www.opensolaris.org/os/licensing.
431N/A# See the License for the specific language governing permissions
431N/A# and limitations under the License.
431N/A#
431N/A# When distributing Covered Code, include this CDDL HEADER in each
431N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
431N/A# If applicable, add the following below this CDDL HEADER, with the
431N/A# fields enclosed by brackets "[]" replaced with your own identifying
431N/A# information: Portions Copyright [yyyy] [name of copyright owner]
431N/A#
431N/A# CDDL HEADER END
431N/A#
5270N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
431N/A#
431N/Ainclude ../../make-rules/shared-macros.mk
431N/A
431N/ACOMPONENT_NAME= libpcap
4759N/ACOMPONENT_VERSION= 1.7.4
618N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
431N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
431N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
4759N/A sha256:7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libpcap
431N/A
4759N/ATPNO= 23891
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
431N/A
5027N/A# Rebuild the configure script so the man pages are normalized.
5027N/ACOMPONENT_PREP_ACTION = (cd $(@D); autoconf);
5027N/A
431N/A#
431N/A# libpcap Makefile does not use CFLAGS when building shared library
431N/A# so we require the following line to add the -m option to CC
431N/A#
431N/ACC += $(CC_BITS)
5270N/ACFLAGS += -D_SYS_REGSET_H
431N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
2295N/ACONFIGURE_OPTIONS += --disable-dbus
431N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
431N/Abuild: $(BUILD_32_and_64)
431N/A
431N/Ainstall: $(INSTALL_32_and_64)
431N/A
431N/Atest: $(NO_TESTS)
431N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A
3817N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library