Makefile revision 7118
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# CDDL HEADER START
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# The contents of this file are subject to the terms of the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# Common Development and Distribution License (the "License").
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# You may not use this file except in compliance with the License.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# or http://www.opensolaris.org/os/licensing.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# See the License for the specific language governing permissions
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# and limitations under the License.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# If applicable, add the following below this CDDL HEADER, with the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# CDDL HEADER END
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsyncBUILD_ARCH= sparc
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsyncBUILD_BITS= 64
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsyncCOMPILER= gcc
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncinclude ../../../make-rules/shared-macros.mk
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_NAME= libsif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_VERSION= 1.1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_ARCHIVE_HASH= \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync sha256:ffa472db19614ff27988875ed474e6dcd233273c14dec3ad589ff149288d44b3
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_SERVER= download.oracle.com
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_ARCHIVE_URL= http://$(COMPONENT_SERVER)/otn-pub/oss/networking/$(COMPONENT_ARCHIVE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_BUGDB= library/ofuv_psif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncinclude ../ofed-component.mk
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncREMOVE_OLD_SRC= sif.h sif_user.h sif_int_user.h os_header.h psif_api.h psif_endian.h psif_hw_print.c psif_hw_print.h psif_hw_data* \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync psif_hw_setget* psif_hw_macro* kernel_types.h
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync# --disable-libcheck is not a supported option for this component
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDISABLE_LIBCHECK=
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLIBS += -libverbs
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncLDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCPPFLAGS += -DSOLARIS -I../../include/sif/ -I../../include/psifapi/ -I../../$(COMPONENT_SRC)/src/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/infiniband
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_PREP_ACTION += cd $(COMPONENT_SRC)/src/ ; rm $(REMOVE_OLD_SRC) ; cd - ; \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync (cd $(@D); \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync autoreconf -ivf ; \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync aclocal --force ; \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync libtoolize --copy --force --ltdl ; \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync autoconf --force ; \
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync autoheader --force)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncCOMPONENT_POST_INSTALL_ACTION =\
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync