Makefile revision 369
6033N/A#
6033N/A# CDDL HEADER START
6033N/A#
6033N/A# The contents of this file are subject to the terms of the
6033N/A# Common Development and Distribution License (the "License").
6033N/A# You may not use this file except in compliance with the License.
6033N/A#
6033N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6033N/A# or http://www.opensolaris.org/os/licensing.
6033N/A# See the License for the specific language governing permissions
6033N/A# and limitations under the License.
6033N/A#
6033N/A# When distributing Covered Code, include this CDDL HEADER in each
6033N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6033N/A# If applicable, add the following below this CDDL HEADER, with the
6033N/A# fields enclosed by brackets "[]" replaced with your own identifying
6033N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6033N/A#
6033N/A# CDDL HEADER END
6033N/A#
6033N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6033N/A#
6033N/Ainclude ../../../make-rules/shared-macros.mk
6033N/A
6033N/ACOMPONENT_NAME= ibutils
6033N/ACOMPONENT_VERSION= 1.5.7
6033N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6033N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6033N/ACOMPONENT_ARCHIVE_HASH= sha1:25c7fe1135bf8dc4c572a9462710c17902259015
6033N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/ibutils/$(COMPONENT_ARCHIVE)
6033N/A
6033N/Ainclude $(WS_TOP)/make-rules/prep.mk
6033N/Ainclude $(WS_TOP)/make-rules/configure.mk
6033N/Ainclude ../ofed.mk
6033N/A
6033N/ALIBS += -lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad
6033N/A
6033N/A# we want to use the libcheck here
6033N/ADISABLE_LIBCHECK=
6033N/A
6033N/ACONFIGURE_ENV += INSTALL_DATA="$(INSTALL) -m 644"
6033N/A
6033N/ACONFIGURE_OPTIONS += --with-osm=$(PROTO_DIR)/usr
6033N/A
6033N/APROTOMAN = $(PROTO_DIR)/$(CONFIGURE_MANDIR)
6033N/A
6033N/ACLEANUP_FILES =\
6033N/A $(PROTOUSRLIBDIR)/libibdm.la\
6033N/A $(PROTOUSRLIBDIR)/libibdmcom.la\
6033N/A $(PROTOUSRLIBDIR)/libibdm.a\
6033N/A $(PROTOUSRLIBDIR)/libibdm.so\
6033N/A $(PROTOUSRLIBDIR)/libibdm.so.1 \
6033N/A $(PROTOUSRLIBDIR)/libibdmcom.a\
6033N/A $(PROTOUSRLIBDIR)/libibdm.so.1.1.1 \
6033N/A $(PROTOUSRLIBDIR)/libibdmcom.so\
6033N/A $(PROTOUSRLIBDIR)/libibdmcom.so.1 \
6033N/A $(PROTOUSRLIBDIR)/libibdmcom.so.1.1.1\
6033N/A $(PROTOUSRLIBDIR)/libibsysapi.a\
6033N/A $(PROTOUSRLIBDIR)/libibsysapi.la \
6033N/A $(PROTOUSRLIBDIR)/libibsysapi.so\
6033N/A $(PROTOUSRLIBDIR)/libibsysapi.so.1 \
6033N/A $(PROTOUSRLIBDIR)/libibsysapi.so.1.0.0 \
6033N/A $(PROTOUSRBINDIR)/ibtopodiff\
6033N/A $(PROTOUSRBINDIR)/git_version.tcl \
6033N/A $(PROTOUSRBINDIR)/ibdmsh*\
6033N/A $(PROTOUSRBINDIR)/ibdmtr* \
6033N/A $(PROTOUSRBINDIR)/ibdmchk*\
6033N/A $(PROTOUSRBINDIR)/ibdiagui* \
6033N/A $(PROTOUSRBINDIR)/ibnlparse*\
6033N/A $(PROTOUSRBINDIR)/ibdiagpath* \
6033N/A $(PROTOMAN)/man1//ibdmsh.1 \
6033N/A $(PROTOMAN)/man1//ibdmtr.1\
6033N/A $(PROTOMAN)/man1//ibdmchk.1\
6033N/A $(PROTOMAN)/man1//ibdiagui.1 \
6033N/A $(PROTOMAN)/man1//ibdiagpath.1\
6033N/A $(PROTOMAN)/man1//ibtopodiff.1 \
6033N/A $(PROTOMAN)/man1//ibdm-ibnl-file.1\
6033N/A $(PROTOMAN)/man1//ibdm-topo-file.1 \
6033N/A $(PROTOMAN)/man3//ibnd_discover_fabric.3\
6033N/A $(PROTOMAN)/man3//ibnd_find_node_dr.3 \
6033N/A $(PROTOMAN)/man3//ibnd_find_node_guid.3\
6033N/A $(PROTOMAN)/man3//ibnd_iter_nodes.3 \
6033N/A $(PROTOMAN)/man3//ibnd_iter_nodes_type.3\
6033N/A $(PROTOMAN)/man3//ibnd_show_progress.3 \
6033N/A
6033N/ACLEANUP_DIRS=\
6033N/A $(PROTOUSRINCDIR)/ibdm\
6033N/A $(PROTOUSRLIBDIR)/ibdiagui1.*\
6033N/A $(PROTOUSRLIBDIR)/ibdiagpath1.*
6033N/A
6033N/ACOMPONENT_POST_INSTALL_ACTION=\
6033N/A $(RM) $(CLEANUP_FILES);\
6033N/A $(RM) -r $(CLEANUP_DIRS)
6033N/A
6033N/A# common targets
6033N/Abuild: $(BUILD_32)
6033N/A
6033N/Ainstall: $(INSTALL_32)
6033N/A
6033N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6033N/A
6033N/Atest: $(NO_TESTS)
6033N/A
6033N/Ainclude $(WS_TOP)/make-rules/depend.mk
6033N/A