Makefile revision 883
210N/A#
210N/A# CDDL HEADER START
210N/A#
210N/A# The contents of this file are subject to the terms of the
210N/A# Common Development and Distribution License (the "License").
210N/A# You may not use this file except in compliance with the License.
210N/A#
210N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
210N/A# or http://www.opensolaris.org/os/licensing.
210N/A# See the License for the specific language governing permissions
210N/A# and limitations under the License.
210N/A#
210N/A# When distributing Covered Code, include this CDDL HEADER in each
210N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
210N/A# If applicable, add the following below this CDDL HEADER, with the
210N/A# fields enclosed by brackets "[]" replaced with your own identifying
210N/A# information: Portions Copyright [yyyy] [name of copyright owner]
210N/A#
210N/A# CDDL HEADER END
210N/A#
210N/A
210N/A#
210N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
210N/A#
210N/A
210N/Ainclude ../../../make-rules/shared-macros.mk
210N/A
210N/ACOMPONENT_NAME= expect
210N/ACOMPONENT_VERSION= 5.45
210N/ACOMPONENT_PROJECT_URL= http://expect.nist.gov/
210N/ACOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
210N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
210N/ACOMPONENT_ARCHIVE_HASH= \
210N/A sha256:b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040
210N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/expect/files/Expect/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
210N/A
210N/Ainclude ../../../make-rules/prep.mk
210N/Ainclude ../../../make-rules/configure.mk
210N/Ainclude ../../../make-rules/ips.mk
210N/A
210N/ASCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
210N/A passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
210N/A tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
210N/A
210N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
210N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
210N/A
210N/ACOMPONENT_PRE_BUILD_ACTION = \
210N/A (cd $(@D); $(GMAKE) all ${SCRIPTS};)
210N/A
210N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
210N/ACONFIGURE_OPTIONS += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)"
210N/ACONFIGURE_OPTIONS += --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH32)/generic"
210N/ACONFIGURE_OPTIONS += --enable-shared
210N/A
COMPONENT_TEST_TARGETS = test
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
# special targets due to tcl internals dependencies
../tcl/build/%/.built:
(cd ../tcl ; $(GMAKE) build)
$(BUILD_32): ../tcl/build/$(MACH32)/.built
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../../make-rules/depend.mk