Makefile revision 3996
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
943N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
919N/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, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../../make-rules/shared-macros.mk
919N/A
98N/ACOMPONENT_NAME= libsdp
98N/ACOMPONENT_VERSION= 1.1.108
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
98N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.15.gd7fdb72.tar.gz
493N/ACOMPONENT_ARCHIVE_HASH= \
98N/A sha256:b72d4d84c7a02207c261082d1837757f8c131942193ceaf017daf684d61e8be1
98N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libsdp/$(COMPONENT_ARCHIVE)
705N/A
98N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/configure.mk
911N/Ainclude ../ofed.mk
911N/A
911N/AMAN3FILES = libsdp.3lib
98N/AMAN4FILES = libsdp.conf.4
851N/A
851N/ASUFFIX.64 = $(MACH64)
851N/A
851N/ACFLAGS += -D_POSIX_PTHREAD_SEMANTICS
903N/A
691N/ALIBS += -lsocket -lnsl
691N/A
691N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
691N/ACONFIGURE_OPTIONS += --libdir=/usr/lib/secure/$(SUFFIX.$(BITS))
691N/A
691N/ACLEANUP_DIRS = $(PROTOUSRBINDIR)/linux
98N/ACLEANUP_FILES =\
98N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(COMPONENT_NAME).la\
98N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(MACH64)/$(COMPONENT_NAME).la\
493N/A
493N/ACOMPONENT_PREP_ACTION = \
98N/A $(MKDIR) $(@D)/man ; \
98N/A cp manpages/$(MAN3FILES) manpages/$(MAN4FILES) $(@D)/man ; \
965N/A
965N/ACOMPONENT_POST_INSTALL_ACTION=\
965N/A $(RM) $(CLEANUP_FILES);\
493N/A $(RM) $(CLEANUP_DIRS)
493N/A
493N/A# common targets
965N/Abuild: $(BUILD_32_and_64)
98N/A
98N/Ainstall: $(INSTALL_32_and_64)
test: $(NO_TESTS)