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