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