Makefile revision 7008
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
806N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
147N/A#
147N/Ainclude ../../make-rules/shared-macros.mk
147N/A
147N/ACOMPONENT_NAME= libpcap
147N/ACOMPONENT_VERSION= 1.5.1
147N/ACOMPONENT_PROJECT_URL= http://www.tcpdump.org/
147N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
147N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4
147N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
147N/ACOMPONENT_BUGDB= library/libpcap
147N/A
147N/ATPNO= 15968
147N/A
147N/Ainclude $(WS_MAKE_RULES)/prep.mk
147N/Ainclude $(WS_MAKE_RULES)/configure.mk
147N/Ainclude $(WS_MAKE_RULES)/ips.mk
206N/A
206N/A#
206N/A# libpcap Makefile does not use CFLAGS when building shared library
206N/A# so we require the following line to add the -m option to CC
806N/A#
806N/ACC += $(CC_BITS)
806N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
806N/ACONFIGURE_OPTIONS += --disable-dbus
806N/A
147N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
147N/A
147N/A# common targets
806N/Abuild: $(BUILD_32_and_64)
206N/A
147N/Ainstall: $(INSTALL_32_and_64)
147N/A
147N/A
147N/Atest: $(NO_TESTS)
147N/A
147N/AREQUIRED_PACKAGES += shell/ksh93
147N/AREQUIRED_PACKAGES += system/library
147N/AREQUIRED_PACKAGES += system/network/bpf
181N/A