Makefile revision 844
1439N/A#
1439N/A# CDDL HEADER START
1439N/A#
1439N/A# The contents of this file are subject to the terms of the
1439N/A# Common Development and Distribution License (the "License").
1439N/A# You may not use this file except in compliance with the License.
1439N/A#
146N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
146N/A# or http://www.opensolaris.org/os/licensing.
146N/A# See the License for the specific language governing permissions
146N/A# and limitations under the License.
146N/A#
146N/A# When distributing Covered Code, include this CDDL HEADER in each
146N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
146N/A# If applicable, add the following below this CDDL HEADER, with the
146N/A# fields enclosed by brackets "[]" replaced with your own identifying
1439N/A# information: Portions Copyright [yyyy] [name of copyright owner]
146N/A#
146N/A# CDDL HEADER END
146N/A#
1439N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
1439N/A#
146N/Ainclude ../../../make-rules/shared-macros.mk
146N/A
146N/ACOMPONENT_NAME= qperf
146N/ACOMPONENT_VERSION= 0.4.6
614N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
146N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.1.gb81434e.tar.gz
146N/ACOMPONENT_ARCHIVE_HASH= \
1439N/A sha256:304b89d1b006c959cad3b132346a6d061526fe626953ef99c764df396e43f959
146N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/qperf/$(COMPONENT_ARCHIVE)
146N/A
146N/Ainclude $(WS_TOP)/make-rules/prep.mk
146N/Ainclude $(WS_TOP)/make-rules/configure.mk
146N/Ainclude ../ofed.mk
1439N/A
1439N/ALIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs
1439N/A
1439N/ACOMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755"
1439N/A
146N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
146N/A (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \
146N/A ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman)
146N/A
146N/A# common targets
146N/Abuild: $(BUILD_32_and_64)
1439N/A
1439N/Ainstall: $(INSTALL_32_and_64)
1439N/A
146N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
146N/A
146N/Atest: $(NO_TESTS)
146N/A
1439N/Ainclude $(WS_TOP)/make-rules/depend.mk
1439N/A