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