Makefile revision 3817
32N/A#
32N/A# CDDL HEADER START
1062N/A#
32N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
32N/A
32N/A# OFED only builds with GCC
32N/ACOMPILER=gcc3
32N/A
493N/Ainclude ../../../make-rules/shared-macros.mk
32N/A
32N/ACOMPONENT_NAME= libibmad
1062N/ACOMPONENT_VERSION= 1.3.7
32N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
911N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1062N/ACOMPONENT_ARCHIVE_HASH= \
1062N/A sha256:825a1ff5c2df0a6a158e0058560772998d39ae633a838c19b58a99650dc199b0
911N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
32N/A
606N/Ainclude $(WS_MAKE_RULES)/prep.mk
32N/Ainclude $(WS_MAKE_RULES)/configure.mk
970N/Ainclude ../ofed.mk
970N/A
970N/ALIBS += -lsocket -lnsl -libumad
970N/A
970N/ACOMPONENT_POST_INSTALL_ACTION =\
970N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
970N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
970N/A
32N/A# common targets
32N/Aconfigure: $(CONFIGURE_32_and_64)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)