Makefile revision 5706
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A
2N/A#
2N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/ABUILD_ARCH= sparc
2N/ABUILD_BITS= 64
2N/ACOMPILER= gcc
2N/Ainclude ../../../make-rules/shared-macros.mk
2N/A
2N/ACOMPONENT_NAME= libsif
2N/ACOMPONENT_VERSION= 1.0
2N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2N/ACOMPONENT_ARCHIVE_HASH= \
2N/A sha256:501858b4b9d45ebe163d9136f7fb4d08708aaf91cc97c40059ae2a1b4737239d
2N/ACOMPONENT_SERVER= download.oracle.com
2N/ACOMPONENT_ARCHIVE_URL= http://$(COMPONENT_SERVER)/otn-pub/oss/networking/$(COMPONENT_ARCHIVE)
2N/ACOMPONENT_BUGDB= library/ofuv_psif
2N/A
2N/Ainclude ../ofed-component.mk
2N/A
2N/AREMOVE_OLD_SRC= sif.h sif_user.h sif_int_user.h os_header.h psif_api.h psif_endian.h psif_hw_print.h psif_hw_data* psif_hw_setget* psif_hw_macro* kernel_types.h
2N/A# --disable-libcheck is not a supported option for this component
2N/ADISABLE_LIBCHECK=
2N/A
2N/ALIBS += -libverbs
2N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
2N/A
2N/ACPPFLAGS += -DSOLARIS -I../../include/sif/ -I../../include/psifapi/ -I../../$(COMPONENT_SRC)/src/
2N/A
2N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/infiniband
2N/A
2N/ACOMPONENT_PREP_ACTION += cd $(COMPONENT_SRC)/src/ ; rm $(REMOVE_OLD_SRC) ; cd - ; \
2N/A (cd $(@D); \
2N/A autoreconf -ivf ; \
2N/A aclocal --force ; \
2N/A libtoolize --copy --force --ltdl ; \
2N/A autoconf --force ; \
2N/A autoheader --force)
2N/A
2N/ACOMPONENT_POST_INSTALL_ACTION =\
2N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
2N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;
2N/A