Sdiff Makefile.sfw


3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 # 22 23 24 # 25 # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. 26 # Use is subject to license terms. 27 # 28 # 29 30 VER=expect-5.39 31 32 SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ 33 passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ 34 tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm 35 36 all: $(VER)/config.status 37 (cd $(VER); env \ 38 CC="$(SRC)/tools/cc -I/usr/sfw/include" \ 39 CXX=$(SRC)/tools/cc \ 40 "LD_OPTIONS=-L/usr/sfw/lib -L$(ROOT)/opt/sfw/lib -R/usr/sfw/lib:/opt/sfw/lib" \ 41 MAKE=/usr/sfw/bin/gmake \ 42 /usr/sfw/bin/gmake all ${SCRIPTS}) 43 @find . -name core -exec rm -f {} \; 44 45 include ../Makefile.cmd 46 47 install: all 48 $(SH) ./install-sfw 49 50 $(VER)/config.status: $(VER)/configure 51 (cd $(VER); env \ 52 env ac_cv_sys_long_file_names=yes \ 53 CC="$(SRC)/tools/cc -I/usr/sfw/include" \ 54 CXX=$(SRC)/tools/cc \ 55 "LD_OPTIONS=-L/usr/sfw/lib -L$(ROOT)/opt/sfw/lib -R/usr/sfw/lib:/opt/sfw/lib" \ 56 MAKE=/usr/sfw/bin/gmake \ 57 ./configure --prefix=/opt/sfw \ 58 --with-tcl=/usr/sfw/lib \ 59 --with-tk=/usr/sfw/lib \ 60 --with-tclinclude=/usr/sfw/src/tcl \ 61 --with-tkinclude=/usr/sfw/src/tk) 62 63 $(VER)/configure: $(VER).tar.gz 64 /usr/bin/gzip -dc $(VER).tar.gz | /usr/sfw/bin/gtar xpf - 65 touch $(VER)/configure 66 /usr/bin/gpatch -p0 < fixline1.patch 67 68 clean: 69 -rm -rf $(VER) 70 71 include ../Makefile.targ 72 73 .SUFFIXES: 74 75 FRC:


3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 # 22 23 # 24 # Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. 25 # Use is subject to license terms. 26 # 27 # 28 29 VER=expect-5.43 30 31 SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ 32 passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ 33 tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm 34 35 all: $(VER)/config.status 36 (cd $(VER); env \ 37 CC="$(SRC)/tools/cc -I/usr/sfw/include" \ 38 CXX=$(SRC)/tools/cc \ 39 "LD_OPTIONS=-L/usr/sfw/lib -L$(ROOT)/opt/sfw/lib -R/usr/sfw/lib:/opt/sfw/lib" \ 40 MAKE=/usr/sfw/bin/gmake \ 41 /usr/sfw/bin/gmake all ${SCRIPTS}) 42 @find . -name core -exec rm -f {} \; 43 44 include ../Makefile.cmd 45 46 install: all 47 $(SH) ./install-sfw 48 49 $(VER)/config.status: $(VER)/configure 50 (cd $(VER); env \ 51 env ac_cv_sys_long_file_names=yes \ 52 CC="$(SRC)/tools/cc -I/usr/sfw/include" \ 53 CXX=$(SRC)/tools/cc \ 54 "LD_OPTIONS=-L/usr/sfw/lib -L$(ROOT)/opt/sfw/lib -R/usr/sfw/lib:/opt/sfw/lib" \ 55 MAKE=/usr/sfw/bin/gmake \ 56 ./configure --prefix=/opt/sfw \ 57 --with-tcl=/usr/lib \ 58 --with-tk=/usr/lib \ 59 --with-tclinclude=$(SRC)/lib/tcl/tcl8.4.14 \ 60 --with-tkinclude=$(SRC)/lib/tk/tk8.4.14 ) 61 62 $(VER)/configure: $(VER).tar.bz2 63 bzip2 -dc $(VER).tar.bz2 | /usr/sfw/bin/gtar xpf - 64 touch $(VER)/configure 65 /usr/bin/gpatch -p0 < fixline1.patch 66 67 clean: 68 -rm -rf $(VER) 69 70 include ../Makefile.targ 71 72 .SUFFIXES: 73 74 FRC: