components/ipmitool/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 05 Jul 2011 13:46:16 -0700
changeset 365 f10c11e3a4a5
parent 268 6518166b581c
child 589 beabcdec3918
permissions -rw-r--r--
7039910 move OpenSSL from SFW to Userland gate (fix fips path and make targets)

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
#

include ../../make-rules/shared-macros.mk

COMPONENT_NAME=		ipmitool
COMPONENT_VERSION=	1.8.10
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_PROJECT_URL=	http://ipmitool.sourceforge.net
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=	sha1:61605c1f11b74b0f6ff0ba4d019cd8d2e1bdc2c4
COMPONENT_ARCHIVE_URL=	http://cdnetworks-us-2.dl.sourceforge.net/sourceforge/ipmitool/$(COMPONENT_ARCHIVE)

include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk

# The version of libtool in the source archive causes the build to fail to
# link in src/plugins/lan.  The bundled vesion works fine.
COMPONENT_PREP_ACTION=(cd $(@D) ; libtoolize -f)

COMPILER=gcc

CONFIGURE_OPTIONS  +=		--prefix=/usr/sfw
CONFIGURE_OPTIONS  +=		--enable-intf-free=no
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"


# common targets
build:		$(BUILD_32)

install:	$(INSTALL_32)

# run test_ipmitool && test_ipmievd as root vs self
# on test vs build machine in tmp vs workspace dir
test:		$(NO_TESTS)

BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)

include ../../make-rules/depend.mk