Makefile revision 3911
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../../make-rules/shared-macros.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_NAME= expect
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_VERSION= 5.45
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_PROJECT_URL= http://expect.nist.gov/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE_HASH= \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte sha256:b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/expect/files/Expect/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_BUGDB= utility/expect
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTPNO= 5552
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(WS_MAKE_RULES)/prep.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(WS_MAKE_RULES)/configure.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(WS_MAKE_RULES)/ips.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_PRE_CONFIGURE_ACTION = \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ($(CLONEY) $(SOURCE_DIR) $(@D))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_BUILD_TARGETS = all ${SCRIPTS}
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONFIGURE_OPTIONS += --enable-shared
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONFIGURE_OPTIONS += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONFIGURE_OPTIONS += --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))/generic"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONFIGURE_OPTIONS.64 += LDFLAGS="$(LDFLAGS) -m64"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_TARGETS = test
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_TEST_TRANSFORMS += \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|$(WS_TOP)|\\$$(WS_TOP)|g"' \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|tcl/build/$(MACH$(BITS))|\\$$(TCLBUILD)|g"'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteASLR_MODE = $(ASLR_ENABLE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# common targets
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteconfigure: $(CONFIGURE_32_and_64)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortebuild: $(BUILD_32_and_64)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinstall: $(INSTALL_32_and_64)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetest: $(TEST_32_and_64)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# special targets due to tcl internals dependencies
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte../tcl/build/%/.built:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (cd ../tcl ; $(GMAKE) build)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(CONFIGURE_32): ../tcl/build/$(MACH32)/.built
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(CONFIGURE_64): ../tcl/build/$(MACH64)/.built
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREQUIRED_PACKAGES += runtime/tcl-8
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREQUIRED_PACKAGES += shell/ksh93
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREQUIRED_PACKAGES += system/library
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREQUIRED_PACKAGES += system/library/math
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteREQUIRED_PACKAGES += system/linker
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte