Makefile revision 5680
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# CDDL HEADER START
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# The contents of this file are subject to the terms of the
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Common Development and Distribution License (the "License").
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# You may not use this file except in compliance with the License.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# See the License for the specific language governing permissions
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# and limitations under the License.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# When distributing Covered Code, include this CDDL HEADER in each
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# If applicable, add the following below this CDDL HEADER, with the
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# fields enclosed by brackets "[]" replaced with your own identifying
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# information: Portions Copyright [yyyy] [name of copyright owner]
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# CDDL HEADER END
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillfCOMPONENT_PROJECT_URL= http://code.google.com/p/libdnet/
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf sha256:83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillfCOMPONENT_ARCHIVE_URL= http://libdnet.googlecode.com/files/$(COMPONENT_ARCHIVE)
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Fix 64-bit linking done via compiler.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Needed to generate libraries with a .so extension.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Remove Linux specific functionality.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Currently only support for Python 2.7.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Needed for "gmake test" to work successfully.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# If SHELLOPTS is exported (as it is by the userland makefiles),
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# then all shell options get exported to child invocations of bash,
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# which results in test failures due to nounset and xtrace being
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# set unexpectedly, and errors such as "$1: unbound variable" and
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# diffs failing due to script tracing in output files.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillfCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf '-e "/TOTAL/p" ' \
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf '-e "/SKIP/p" ' \
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf '-e "/PASS/p" ' \
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf '-e "/FAIL/p" ' \
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf '-e "/ERROR/p" '
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Needed to build the test programs.
54925bf60766fbb4f1f2d7c843721406a7b7a3fbwillf# Get correct libdnet.so.1 from the proto area.