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