Makefile revision 6344
436aad11e01e916f75e68a2e9cb89ac217a990d3Tinderbox User#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User#
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User#
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5e047890ac9b745db060d95f7d1b4f876511240dTinderbox User# or http://www.opensolaris.org/os/licensing.
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews#
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
e20309353e6246485c521278131d3fced73d7957Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox User# CDDL HEADER END
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsBUILD_BITS= 64_and_32
df4ebd8217d02dafc12145b55c4d93d0255d1ec7Tinderbox Userinclude ../../../make-rules/shared-macros.mk
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_NAME= expect
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_VERSION= 5.45
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_PROJECT_URL= http://expect.nist.gov/
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_ARCHIVE_HASH= \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater sha256:b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/expect/files/Expect/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntTPNO= 29680
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude $(WS_MAKE_RULES)/common.mk
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox UserCOMPONENT_PRE_CONFIGURE_ACTION = \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt ($(CLONEY) $(SOURCE_DIR) $(@D))
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_BUILD_TARGETS = all ${SCRIPTS}
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# 64-bit executables should also be delivered to relevant MACH subdirectory.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterCONFIGURE_BINDIR.64= $(USRBINDIR64)
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterCONFIGURE_OPTIONS += --enable-shared
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))/generic"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS.64 += -enable-64bit
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS.sparc.64 += --enable-64bit-vis
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsCOMPONENT_TEST_TARGETS = test
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCOMPONENT_TEST_TRANSFORMS += \
e20309353e6246485c521278131d3fced73d7957Tinderbox User '-e "s|$(WS_TOP)|\\$$(WS_TOP)|g"' \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews '-e "s|tcl/build/$(MACH$(BITS))|\\$$(TCLBUILD)|g"'
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User
e20309353e6246485c521278131d3fced73d7957Tinderbox User# special targets due to tcl internals dependencies
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews../tcl/build/%/.built:
7feccf248d2a20a2ae48b290f58ded5abc853e9aTinderbox User (cd ../tcl ; $(GMAKE) build)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c59750de3ea3c7d5890000fb4606e8f5835a52aaTinderbox User$(CONFIGURE_32): ../tcl/build/$(MACH32)/.built
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater$(CONFIGURE_64): ../tcl/build/$(MACH64)/.built
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
ec7751119a08c6a7250f3187beed69a8b836d349Tinderbox UserREQUIRED_PACKAGES += runtime/tcl-8
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsREQUIRED_PACKAGES += shell/ksh93
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark AndrewsREQUIRED_PACKAGES += system/library/math
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews