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