Makefile revision 690
606N/A#
606N/A# CDDL HEADER START
606N/A#
1252N/A# The contents of this file are subject to the terms of the
606N/A# Common Development and Distribution License (the "License").
606N/A# You may not use this file except in compliance with the License.
606N/A#
387N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
387N/A# or http://www.opensolaris.org/os/licensing.
387N/A# See the License for the specific language governing permissions
387N/A# and limitations under the License.
822N/A#
822N/A# When distributing Covered Code, include this CDDL HEADER in each
822N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
822N/A# If applicable, add the following below this CDDL HEADER, with the
822N/A# fields enclosed by brackets "[]" replaced with your own identifying
1252N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1252N/A#
1252N/A# CDDL HEADER END
1252N/A#
1252N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
1252N/A#
1252N/Ainclude ../../../make-rules/shared-macros.mk
1252N/A
1252N/ACOMPONENT_NAME= libmlx4
1252N/ACOMPONENT_VERSION= 1.0.1
1252N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1252N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-1.18.gb810a27.tar.gz
1252N/ACOMPONENT_ARCHIVE_HASH= sha1:fd6742451eb6efaad87c6feb78fc01d0e962387d
1252N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libmlx4/$(COMPONENT_ARCHIVE)
1252N/A
1252N/Ainclude $(WS_TOP)/make-rules/prep.mk
1252N/Ainclude $(WS_TOP)/make-rules/configure.mk
822N/Ainclude ../ofed.mk
822N/A
822N/A# --disable-libcheck is not a supported option for this component
822N/ADISABLE_LIBCHECK=
1252N/A
1252N/ALIBS += -libverbs
1252N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
822N/A
822N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
822N/A
387N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
387N/A
387N/ACOMPONENT_PREP_ACTION += (cd $(@D) ; \
387N/A aclocal --force ; \
387N/A libtoolize --copy --force --ltdl ; \
387N/A autoconf --force ; \
387N/A autoheader --force)
387N/A
387N/ACOMPONENT_POST_INSTALL_ACTION =\
822N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
387N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
387N/A
387N/A# common targets
387N/Abuild: $(BUILD_32_and_64)
387N/A
387N/Ainstall: $(INSTALL_32_and_64)
387N/A
387N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
387N/A
387N/Atest: $(NO_TESTS)
387N/A
387N/Ainclude $(WS_TOP)/make-rules/depend.mk
387N/A