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