Makefile revision 493
194N/A#
194N/A# CDDL HEADER START
194N/A#
194N/A# The contents of this file are subject to the terms of the
194N/A# Common Development and Distribution License (the "License").
194N/A# You may not use this file except in compliance with the License.
194N/A#
194N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
194N/A# or http://www.opensolaris.org/os/licensing.
194N/A# See the License for the specific language governing permissions
194N/A# and limitations under the License.
194N/A#
194N/A# When distributing Covered Code, include this CDDL HEADER in each
194N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
194N/A# If applicable, add the following below this CDDL HEADER, with the
194N/A# fields enclosed by brackets "[]" replaced with your own identifying
194N/A# information: Portions Copyright [yyyy] [name of copyright owner]
194N/A#
194N/A# CDDL HEADER END
194N/A#
194N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
194N/A#
844N/Ainclude ../../../make-rules/shared-macros.mk
194N/A
194N/ACOMPONENT_NAME= perftest
194N/ACOMPONENT_VERSION= 1.3.0
194N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
194N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.42.gf350d3d.tar.gz
194N/ACOMPONENT_ARCHIVE_HASH= sha1:dbafe012922d88db2f22c83b1dda8ee8ccc50f1c
618N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/perftest/$(COMPONENT_ARCHIVE)
194N/A
194N/A$(BUILD_32): BITS=32
844N/A$(BUILD_64): BITS=64
844N/A$(INSTALL_32): BITS=32
194N/A$(INSTALL_64): BITS=64
194N/A
194N/Ainclude $(WS_TOP)/make-rules/prep.mk
194N/Ainclude $(WS_TOP)/make-rules/configure.mk
194N/Ainclude ../ofed.mk
194N/A
194N/AMAN1FILES = ib_clock_test.1
194N/A
194N/Ainclude $(WS_TOP)/make-rules/shared-targets.mk
194N/A
194N/ALIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
194N/A
206N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
194N/ACFLAGS += $(SHARED_INCLUDES)
194N/A
194N/ACOMMON_ARGS += CC="$(CC)"
194N/ACOMMON_ARGS += CFLAGS="$(CFLAGS)"
194N/ACOMMON_ARGS += LDFLAGS="$(LDFLAGS) $(LIBS)"
194N/ACOMMON_ARGS += INSTALL=$(INSTALL)
194N/ACOMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS))
194N/ACOMPONENT_BUILD_ARGS += $(COMMON_ARGS)
194N/ACOMPONENT_INSTALL_ARGS += $(COMMON_ARGS)
194N/A
194N/ACOMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure
194N/A
194N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
194N/A
194N/A# common targets
194N/Abuild: $(BUILD_32_and_64)
194N/A
install: $(INSTALL_32_and_64) $(PROTOMAN1FILES)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
test: $(NO_TESTS)
include $(WS_TOP)/make-rules/depend.mk