Makefile revision 3996
299N/A#
299N/A# CDDL HEADER START
299N/A#
299N/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.
299N/A#
299N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
299N/A# or http://www.opensolaris.org/os/licensing.
299N/A# See the License for the specific language governing permissions
299N/A# and limitations under the License.
299N/A#
299N/A# When distributing Covered Code, include this CDDL HEADER in each
299N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
299N/A# If applicable, add the following below this CDDL HEADER, with the
299N/A# fields enclosed by brackets "[]" replaced with your own identifying
299N/A# information: Portions Copyright [yyyy] [name of copyright owner]
299N/A#
299N/A# CDDL HEADER END
299N/A#
299N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
299N/A#
299N/Ainclude ../../../make-rules/shared-macros.mk
299N/A
299N/ACOMPONENT_NAME= libsdp
299N/ACOMPONENT_VERSION= 1.1.108
299N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
299N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.15.gd7fdb72.tar.gz
299N/ACOMPONENT_ARCHIVE_HASH= \
299N/A sha256:b72d4d84c7a02207c261082d1837757f8c131942193ceaf017daf684d61e8be1
299N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libsdp/$(COMPONENT_ARCHIVE)
299N/A
299N/Ainclude $(WS_MAKE_RULES)/prep.mk
299N/Ainclude $(WS_MAKE_RULES)/configure.mk
299N/Ainclude ../ofed.mk
493N/A
299N/AMAN3FILES = libsdp.3lib
299N/AMAN4FILES = libsdp.conf.4
851N/A
299N/ASUFFIX.64 = $(MACH64)
911N/A
911N/ACFLAGS += -D_POSIX_PTHREAD_SEMANTICS
911N/A
911N/ALIBS += -lsocket -lnsl
299N/A
851N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
299N/ACONFIGURE_OPTIONS += --libdir=/usr/lib/secure/$(SUFFIX.$(BITS))
299N/A
299N/ACLEANUP_DIRS = $(PROTOUSRBINDIR)/linux
493N/ACLEANUP_FILES =\
493N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(COMPONENT_NAME).la\
299N/A $(PROTO_DIR)/$(CONFIGURE_PREFIX)/lib/secure/$(MACH64)/$(COMPONENT_NAME).la\
300N/A
493N/ACOMPONENT_PREP_ACTION = \
300N/A $(MKDIR) $(@D)/man ; \
493N/A cp manpages/$(MAN3FILES) manpages/$(MAN4FILES) $(@D)/man ; \
375N/A
299N/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)