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