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