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