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