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