Makefile revision 5680
0N/A#
3909N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A
2362N/A#
2362N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/ABUILD_BITS= 64_and_32
0N/Ainclude ../ofed-component-macros.mk
0N/A
0N/ACOMPONENT_NAME= libmlx4
0N/ACOMPONENT_VERSION= 1.0.1
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-1.18.gb810a27.tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:ac3aa335d5749a8edc471630b1f5049122c8b7b66bab88c299e255122028e19c
0N/ACOMPONENT_BUGDB= library/ofuv_lib
0N/A
0N/Ainclude ../ofed-component.mk
1365N/A
1365N/A# --disable-libcheck is not a supported option for this component
1365N/ADISABLE_LIBCHECK=
1365N/A
1365N/ALIBS= -libverbs
1365N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
1365N/A
0N/A# requires an older automake to reconfigure
0N/ACOMPONENT_PREP_ACTION += (if [ x$(MACH) = "xi386" ]; then \
0N/A cp mlx4.driver.i386 $(@D)/mlx4.driver; \
0N/A else \
0N/A cp mlx4.driver.sparc $(@D)/mlx4.driver; \
0N/A fi; \
0N/A cd $(@D) ; \
0N/A aclocal-1.11 --force ; \
0N/A libtoolize --copy --force --ltdl ; \
0N/A autoconf --force ; \
803N/A autoheader --force)
0N/A
0N/ACOMPONENT_POST_INSTALL_ACTION =\
0N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
0N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
0N/A
0N/A