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