5680N/A#
5680N/A# CDDL HEADER START
5680N/A#
5680N/A# The contents of this file are subject to the terms of the
5680N/A# Common Development and Distribution License (the "License").
5680N/A# You may not use this file except in compliance with the License.
5680N/A#
5680N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5680N/A# or http://www.opensolaris.org/os/licensing.
5680N/A# See the License for the specific language governing permissions
5680N/A# and limitations under the License.
5680N/A#
5680N/A# When distributing Covered Code, include this CDDL HEADER in each
5680N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5680N/A# If applicable, add the following below this CDDL HEADER, with the
5680N/A# fields enclosed by brackets "[]" replaced with your own identifying
5680N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5680N/A#
5680N/A# CDDL HEADER END
5680N/A#
5706N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A
5680N/A#
5680N/A# This file sets up the standard, default options and base requirements for
5680N/A# openfabrics userland components.
5680N/A#
5680N/ACOMPONENT_PROJECT_URL ?= http://www.openfabrics.org/
5706N/ACOMPONENT_ARCHIVE_URL ?= https://www.openfabrics.org/downloads/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5680N/A
5680N/A# component default overrides
5680N/ATEST_TARGET=
5680N/ASYSTEM_TEST_TARGET=
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5680N/Ainclude ../ofed.mk
5680N/A
5706N/AASLR_MODE= $(ASLR_ENABLE)
5680N/A
5680N/A# Almost every component requires these before Solaris 12. Those that do not
5680N/A# can simply override.
5680N/Aifeq ($(OS_VERSION),5.11)
5680N/ALIBS += -lsocket -lnsl
5680N/Aendif
5680N/A
5680N/A# common targets
5680N/Atest: $(NO_TESTS)
5680N/A
5680N/Asystem-test: $(NO_TESTS)
5680N/A