6195N/A#
6195N/A# CDDL HEADER START
6195N/A#
6195N/A# The contents of this file are subject to the terms of the
6195N/A# Common Development and Distribution License (the "License").
6195N/A# You may not use this file except in compliance with the License.
6195N/A#
6195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6195N/A# or http://www.opensolaris.org/os/licensing.
6195N/A# See the License for the specific language governing permissions
6195N/A# and limitations under the License.
6195N/A#
6195N/A# When distributing Covered Code, include this CDDL HEADER in each
6195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6195N/A# If applicable, add the following below this CDDL HEADER, with the
6195N/A# fields enclosed by brackets "[]" replaced with your own identifying
6195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6195N/A#
6195N/A# CDDL HEADER END
6195N/A#
6195N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6195N/A#
6195N/Ainclude ../../../make-rules/shared-macros.mk
6195N/A
6195N/ACOMPONENT_NAME= libsdp
6195N/ACOMPONENT_VERSION= 1.1.108
6195N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6195N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.15.gd7fdb72.tar.gz
6195N/ACOMPONENT_ARCHIVE_HASH= \
6195N/A sha256:b72d4d84c7a02207c261082d1837757f8c131942193ceaf017daf684d61e8be1
6195N/ACOMPONENT_ARCHIVE_URL= https://www.openfabrics.org/downloads/libsdp/$(COMPONENT_ARCHIVE)
6195N/A
6195N/Ainclude $(WS_MAKE_RULES)/prep.mk
6195N/Ainclude $(WS_MAKE_RULES)/configure.mk
6195N/Ainclude ../ofed.mk
6195N/A
6195N/AMAN3FILES = libsdp.3lib
6195N/AMAN4FILES = libsdp.conf.4
6195N/A
6195N/ASUFFIX.64 = $(MACH64)
6195N/A
6195N/ACFLAGS += -D_POSIX_PTHREAD_SEMANTICS
6195N/A
6195N/ALIBS += -lsocket -lnsl
6195N/A
6195N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/infiniband
6195N/ACONFIGURE_OPTIONS += --libdir=/usr/lib/secure/$(SUFFIX.$(BITS))
6195N/A
6195N/ACLEANUP_DIRS = $(PROTOUSRBINDIR)/linux
6195N/ACLEANUP_FILES =\
6195N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(COMPONENT_NAME).la\
6195N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(MACH64)/$(COMPONENT_NAME).la\
6195N/A
6195N/ACOMPONENT_PREP_ACTION = \
6195N/A $(MKDIR) $(@D)/man ; \
6195N/A cp manpages/$(MAN3FILES) manpages/$(MAN4FILES) $(@D)/man ; \
6195N/A
6195N/ACOMPONENT_POST_INSTALL_ACTION=\
6195N/A $(RM) $(CLEANUP_FILES);\
6195N/A $(RM) $(CLEANUP_DIRS)
6195N/A
6195N/A# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)