Makefile revision 2295
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# CDDL HEADER START
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# The contents of this file are subject to the terms of the
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# Common Development and Distribution License (the "License").
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# You may not use this file except in compliance with the License.
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# See the License for the specific language governing permissions
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# and limitations under the License.
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# CDDL HEADER END
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt sha256:259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# libpcap Makefile does not use CFLAGS when building shared library
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# so we require the following line to add the -m option to CC
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan HuntCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# common targets