Makefile revision 844
46af69f1239553d4a1c315f6eee51379828942f9Mark Andrews#
70f292a50f9840fc25b3dbecfed71cdf835d4094Mark Andrews# CDDL HEADER START
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews#
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews# The contents of this file are subject to the terms of the
f19e6ef1eb7d5abf547fc1af24e561bdc5d75b22Mark Andrews# Common Development and Distribution License (the "License").
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews# You may not use this file except in compliance with the License.
53cd44e7168acb379b1c5c74b3ffc4336694779dMark Andrews#
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews# or http://www.opensolaris.org/os/licensing.
e80b69327290953b825c7778d8de9d314bed6198Mark Andrews# See the License for the specific language governing permissions
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# and limitations under the License.
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉#
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# When distributing Covered Code, include this CDDL HEADER in each
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉# If applicable, add the following below this CDDL HEADER, with the
f895c5b042cc0f7e3547fac7f6a4bd8d3d45acd8Tatuya JINMEI 神明達哉# fields enclosed by brackets "[]" replaced with your own identifying
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉# information: Portions Copyright [yyyy] [name of copyright owner]
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews#
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews# CDDL HEADER END
f148f53794956f491f6527430a93c2c8d884a212Mark Andrews#
00f83773169d9020a3ddcdaf88b198a27f571ff8Mark Andrews
00f83773169d9020a3ddcdaf88b198a27f571ff8Mark Andrews#
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
10e8f96abe072fcf4e0c938548f0970cd26f624cMark Andrews#
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrews
31b7a2fed64e388db772a74742a4adc95d1a21e6Mark Andrewsinclude ../../../make-rules/shared-macros.mk
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy Reed
5567f54834089be35d0df6afe2ccfaa039ab2233Jeremy ReedCOMPONENT_NAME= expect
ed4efb08050b31571c6b9540a2b78b502c667206Mark AndrewsCOMPONENT_VERSION= 5.45
ed4efb08050b31571c6b9540a2b78b502c667206Mark AndrewsCOMPONENT_PROJECT_URL= http://expect.nist.gov/
ed4efb08050b31571c6b9540a2b78b502c667206Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
13f4bdc9b4f7b438cf5c2a071f108211534fae3fMark AndrewsCOMPONENT_ARCHIVE_HASH= \
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews sha256:b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040
3efa3f07d51793a0e477d68787c210746b5d4af3Mark AndrewsCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/expect/files/Expect/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
3efa3f07d51793a0e477d68787c210746b5d4af3Mark Andrews
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsinclude ../../../make-rules/prep.mk
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsinclude ../../../make-rules/configure.mk
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrewsinclude ../../../make-rules/ips.mk
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Hunt
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan HuntSCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
a8673c536b5827d87ef6c50a04afd34af2253fd9Evan Hunt passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉 tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
616b4544d0228604b1c5169b0c9d742f67567232Tatuya JINMEI 神明達哉
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉COMPONENT_PRE_CONFIGURE_ACTION = \
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉 ($(CLONEY) $(SOURCE_DIR) $(@D))
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉
bc4bc3579b92f2e4c6a6a2c5284d1c792c70e264Tatuya JINMEI 神明達哉COMPONENT_PRE_BUILD_ACTION = \
7781f25078c491a9650dec555bdc86cb0ed49861Tatuya JINMEI 神明達哉 (cd $(@D); $(GMAKE) all ${SCRIPTS};)
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉CONFIGURE_OPTIONS += --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH32)"
609f86163a9e80aa5ce0db79b67ee0b6e2a34b34Tatuya JINMEI 神明達哉CONFIGURE_OPTIONS += --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH32)/generic"
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis DupontCONFIGURE_OPTIONS += --enable-shared
1879dbe0d962f6f929417b02bf07f64ed41b1aabFrancis Dupont
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis DupontCOMPONENT_TEST_TARGETS = test
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont
b393e55a763d2bb0f326706b3851a2a22fc389d5Francis Dupont# common targets
fa7ef31685393f7c7ba1cec485d8e395bfa28867Francis Dupontbuild: $(BUILD_32)
52cee51063613b9be335d3078f13863fd0cad2cfMark Andrews
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrewsinstall: $(INSTALL_32)
ddb35cf2f301ae1c3fa601792034f6d349efc8c5Mark Andrews
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉test: $(TEST_32)
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉
4aa174ddd5556f6c1792c69546679b17f1ceec83Tatuya JINMEI 神明達哉# special targets due to tcl internals dependencies
09d7358c48bb032566e5bb70703c2c3ea35a0cb2Mark Andrews../tcl/build/%/.built:
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉 (cd ../tcl ; $(GMAKE) build)
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉$(BUILD_32): ../tcl/build/$(MACH32)/.built
10a6f640ed599cbe4a8b98c46b71a61d24e5bbe7Tatuya JINMEI 神明達哉
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrews
1ee054ca444765a3d1b98208c83115b4f34bebc2Mark Andrewsinclude ../../../make-rules/depend.mk
7f658603910358db7ee27ffb9783096250afab62Tatuya JINMEI 神明達哉