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