1998-10-10 04:09:05 +00:00
|
|
|
--- Makefile.in.ORIG Wed Oct 7 14:07:34 1998
|
|
|
|
+++ Makefile.in Wed Oct 7 14:11:25 1998
|
|
|
|
@@ -24,7 +24,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
TCL_LIBRARY = @TCL_LIBRARY@
|
|
|
|
|
|
|
|
# Tcl library uninstalled. Should be something like -ltcl or ../tcl/libtcl.a
|
|
|
|
-TCLLIB = @TCL_BUILD_LIB_SPEC@
|
|
|
|
+TCLLIB = @TCL_LIB_SPEC@
|
|
|
|
# Tcl library installed. Should be something like -ltcl or ../tcl/libtcl.a
|
|
|
|
TCLLIB_INSTALLED = @TCL_LIB_SPEC@
|
|
|
|
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -32,7 +32,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
# Tk include files
|
|
|
|
TKHDIRDASHI = @TKHDIRDASHI@
|
|
|
|
# Tk library
|
|
|
|
-TKLIB = @TK_BUILD_LIB_SPEC@
|
|
|
|
+TKLIB = @TK_LIB_SPEC@
|
|
|
|
TKLIB_INSTALLED = @TK_LIB_SPEC@
|
|
|
|
# X11 include files and other flags to compiler
|
|
|
|
X11_CFLAGS = @TK_XINCLUDES@
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -57,7 +57,7 @@
|
1998-09-28 15:15:04 +00:00
|
|
|
# your Expect scripts.
|
|
|
|
# Note: On Linux systems which only have dynamic X libraries, the -g prevents
|
|
|
|
# the linker from using them. So do not use -g on such systems.
|
|
|
|
-CFLAGS = @CFLAGS@
|
|
|
|
+CFLAGS = @CFLAGS@ -DKANJI -DBUGFIX -DKINPUT2 -DXIM_IMPROVE -DCHECK_XTT
|
|
|
|
#XCFLAGS = @CFLAGS@ @EXP_CFLAGS@ @EXP_SHLIB_CFLAGS@
|
|
|
|
XCFLAGS = @CFLAGS@ @EXP_CFLAGS@
|
|
|
|
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -171,7 +171,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
man3dir = $(mandir)/man3
|
|
|
|
infodir = @infodir@
|
|
|
|
-includedir = @includedir@
|
1997-10-18 00:24:29 +00:00
|
|
|
+includedir = @includedir@/expect$(VERSION)
|
1997-03-11 11:52:43 +00:00
|
|
|
|
|
|
|
# Expect's utility script directories - arch-independent and arch-non-
|
|
|
|
# independent. These correspond to the variables "exp_library" and
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -183,12 +183,13 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
AR = ar
|
|
|
|
ARFLAGS = cr
|
|
|
|
|
|
|
|
-LOCAL_EXPECT=LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./expect
|
|
|
|
+LOCAL_EXPECT=LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./expectjp
|
|
|
|
|
|
|
|
# These definitions are used by the "subdirs_do" target to pass
|
|
|
|
# the compile flags down recursively.
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -199,6 +200,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
"HDEFS=$(HDEFS)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
+ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"RUNTEST=$(RUNTEST)" \
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -214,9 +216,9 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
# These let the DejaGnu test suite run when DejaGnu isn't
|
|
|
|
# installed yet, so run it from the srcdir and objdir.
|
|
|
|
EXPECT = ` \
|
|
|
|
- if [ -f $${rootme}/expect ] ; then \
|
|
|
|
- echo $${rootme}/expect ; \
|
|
|
|
- else echo expect ; fi`
|
|
|
|
+ if [ -f $${rootme}/expectjp ] ; then \
|
|
|
|
+ echo $${rootme}/expectjp ; \
|
|
|
|
+ else echo expectjp ; fi`
|
|
|
|
|
|
|
|
RUNTESTFLAGS =
|
|
|
|
RUNTEST = ` \
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -316,16 +318,16 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
$(CC) -c $(CFLAGS_INT) @EXP_SHLIB_CFLAGS@ $(STTY) $(HDEFS) $< -o shared/$@ ; \
|
|
|
|
fi
|
|
|
|
|
1997-10-17 05:58:08 +00:00
|
|
|
-all: expect $(EXP_LIB_FILES) ${X11_PROGS}
|
|
|
|
+all: expectjp $(EXP_LIB_FILES) ${X11_PROGS}
|
1997-03-11 11:52:43 +00:00
|
|
|
@$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS)
|
|
|
|
|
|
|
|
info:
|
|
|
|
dvi:
|
|
|
|
|
|
|
|
# build expect binary that does not depend on Expect's shared libs
|
1997-10-17 05:58:08 +00:00
|
|
|
-expect: exp_main_exp.o $(EXP_UNSHARED_LIB_FILE)
|
|
|
|
- $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expect exp_main_exp.o $(EXP_UNSHARED_LIB_FILE) $(TCLLIB) $(EXP_AND_TCL_LIBS)
|
1997-03-11 11:52:43 +00:00
|
|
|
- $(SETUID) expect
|
1997-10-17 05:58:08 +00:00
|
|
|
+expectjp: exp_main_exp.o $(EXP_UNSHARED_LIB_FILE)
|
|
|
|
+ $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectjp exp_main_exp.o $(EXP_UNSHARED_LIB_FILE) $(TCLLIB) $(EXP_AND_TCL_LIBS)
|
1997-03-11 11:52:43 +00:00
|
|
|
+ $(SETUID) expectjp
|
|
|
|
|
|
|
|
# install Expect library
|
|
|
|
# This is done before the install target because the libraries have to be
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -338,21 +340,25 @@
|
1997-10-18 00:24:29 +00:00
|
|
|
# Local copy is pkgIndex rather than pkgIndex.tcl because pkgIndex.tcl.in
|
|
|
|
# is too long for some filesystems, sigh.
|
|
|
|
install_shared_lib: $(EXP_LIB_FILES)
|
|
|
|
+ ${srcdir}/mkinstalldirs $(tcl_libdir)
|
|
|
|
${srcdir}/mkinstalldirs $(libdir)
|
|
|
|
if [ -s $(EXP_UNSHARED_LIB_FILE) ] ; then \
|
|
|
|
- $(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
- $(UNSHARED_RANLIB) $(libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
- $(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(tcl_libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
- $(UNSHARED_RANLIB) $(tcl_libdir)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
+ $(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(LIB_INSTALL_DIR)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
+ $(UNSHARED_RANLIB) $(LIB_INSTALL_DIR)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
+ $(INSTALL_DATA) $(EXP_UNSHARED_LIB_FILE) $(LIB_INSTALL_DIR)/$(EXP_UNSHARED_LIB_FILE) ; \
|
|
|
|
+ $(UNSHARED_RANLIB) $(LIB_INSTALL_DIR)/$(EXP_UNSHARED_LIB_FILE) ; \
|
1997-10-17 05:58:08 +00:00
|
|
|
else true; fi
|
|
|
|
if [ -s $(EXP_SHARED_LIB_FILE) ] ; then \
|
1997-10-18 00:24:29 +00:00
|
|
|
- $(INSTALL_PROGRAM) $(EXP_SHARED_LIB_FILE) $(tcl_libdir)/$(EXP_SHARED_LIB_FILE) ; \
|
1997-10-17 05:58:08 +00:00
|
|
|
- $(INSTALL_PROGRAM) pkgIndex $(libdir)/pkgIndex.tcl ; \
|
1997-10-18 00:24:29 +00:00
|
|
|
+ $(INSTALL_PROGRAM) $(EXP_SHARED_LIB_FILE) $(LIB_INSTALL_DIR)/$(EXP_SHARED_LIB_FILE) ; \
|
1998-09-28 15:15:04 +00:00
|
|
|
+ if [ "${PORTOBJFORMAT}X" = "elfX" ] ; then \
|
|
|
|
+ (cd $(LIB_INSTALL_DIR) ; ln -sf $(EXP_SHARED_LIB_FILE) `echo $(EXP_SHARED_LIB_FILE) | sed 's/\.so.*$$/.so/'`) \
|
|
|
|
+ fi; \
|
1997-10-17 05:58:08 +00:00
|
|
|
+ $(INSTALL_SCRIPT) pkgIndex $(libdir)/pkgIndex.tcl ; \
|
|
|
|
else true; fi
|
|
|
|
|
|
|
|
-expect_installed: exp_main_exp.o $(EXP_LIB_FILE) install_shared_lib
|
|
|
|
- $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expect_installed exp_main_exp.o @EXP_LIB_SPEC@ $(TCLLIB_INSTALLED) $(EXP_AND_TCL_LIBS)
|
|
|
|
- $(SETUID) expect_installed
|
|
|
|
+expectjp_installed: exp_main_exp.o $(EXP_LIB_FILE) install_shared_lib
|
|
|
|
+ $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectjp_installed exp_main_exp.o @EXP_LIB_SPEC@ $(TCLLIB_INSTALLED) $(EXP_AND_TCL_LIBS)
|
|
|
|
+ $(SETUID) expectjp_installed
|
|
|
|
|
|
|
|
# Build Expect with TestCenter
|
|
|
|
expect.tc: exp_main_exp.o $(OFILES)
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -365,13 +371,13 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
# together. I could fix it by testing all the libraries (again, in Expect's
|
|
|
|
# configure) separately for Expectk, but as far as I know, it doesn't hurt
|
|
|
|
# anything here, so I'm not worrying about it.
|
1997-10-17 05:58:08 +00:00
|
|
|
-expectk: exp_main_tk.o $(EXP_UNSHARED_LIB_FILE)
|
|
|
|
- $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectk exp_main_tk.o $(EXP_UNSHARED_LIB_FILE) $(TKLIB) $(TCLLIB) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
|
1997-03-11 11:52:43 +00:00
|
|
|
- $(SETUID) expectk
|
1997-10-17 05:58:08 +00:00
|
|
|
-
|
|
|
|
-expectk_installed: exp_main_tk.o $(EXP_LIB_FILE)
|
|
|
|
- $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectk_installed exp_main_tk.o @EXP_LIB_SPEC@ $(TKLIB_INSTALLED) $(TCLLIB_INSTALLED) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
|
|
|
|
- $(SETUID) expectk_installed
|
|
|
|
+expectkjp: exp_main_tk.o $(EXP_UNSHARED_LIB_FILE)
|
|
|
|
+ $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectkjp exp_main_tk.o $(EXP_UNSHARED_LIB_FILE) $(TKLIB) $(TCLLIB) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
|
1997-03-11 11:52:43 +00:00
|
|
|
+ $(SETUID) expectkjp
|
1997-10-17 05:58:08 +00:00
|
|
|
+
|
|
|
|
+expectkjp_installed: exp_main_tk.o $(EXP_LIB_FILE)
|
|
|
|
+ $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectkjp_installed exp_main_tk.o @EXP_LIB_SPEC@ $(TKLIB_INSTALLED) $(TCLLIB_INSTALLED) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
|
|
|
|
+ $(SETUID) expectkjp_installed
|
1997-03-11 11:52:43 +00:00
|
|
|
|
1997-10-17 05:58:08 +00:00
|
|
|
# Build Expectk with TestCenter
|
|
|
|
expectk.tc: exp_main_tk.o $(OFILES)
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -389,24 +395,24 @@
|
1998-09-28 15:15:04 +00:00
|
|
|
# rule out for each file, sigh).
|
|
|
|
$(EXP_SHARED_LIB_FILE): $(OFILES)
|
|
|
|
-rm -f $(EXP_SHARED_LIB_FILE)
|
1998-10-06 20:44:35 +00:00
|
|
|
+.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
@TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
|
|
|
|
+.else
|
1998-09-28 15:15:04 +00:00
|
|
|
+ @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) -Wl,-soname,$(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
|
1998-10-06 20:44:35 +00:00
|
|
|
+.endif
|
1998-09-28 15:15:04 +00:00
|
|
|
+ ln -sf $(EXP_SHARED_LIB_FILE) `echo $(EXP_SHARED_LIB_FILE) | sed 's/\.so.*$$/.so/'`
|
|
|
|
|
1997-03-11 11:52:43 +00:00
|
|
|
.PHONY: install-info install info
|
|
|
|
install-info:
|
|
|
|
|
1997-10-17 05:58:08 +00:00
|
|
|
-install: expect expect_installed ${X11_PROGS_INSTALLED} $(SCRIPTS)
|
|
|
|
- ${srcdir}/mkinstalldirs $(man1dir) $(man3dir) $(bindir) $(tcl_libdir) $(includedir)
|
|
|
|
+install: expectjp expectjp_installed ${X11_PROGS_INSTALLED} $(SCRIPTS)
|
|
|
|
+ ${srcdir}/mkinstalldirs $(bindir) $(tcl_libdir) $(includedir)
|
1997-03-11 11:52:43 +00:00
|
|
|
# install Expect
|
|
|
|
- $(INSTALL_PROGRAM) expect_installed $(bindir)/expect
|
1997-10-17 05:58:08 +00:00
|
|
|
+ $(INSTALL_PROGRAM) expectjp_installed $(bindir)/expectjp
|
1997-03-11 11:52:43 +00:00
|
|
|
# install Expectk (and man page) if present
|
1997-10-17 05:58:08 +00:00
|
|
|
- -if [ -s expectk_installed ] ; then \
|
1997-03-11 11:52:43 +00:00
|
|
|
- $(INSTALL_PROGRAM) expectk_installed $(bindir)/expectk ; \
|
1997-10-17 05:58:08 +00:00
|
|
|
- $(INSTALL_DATA) $(srcdir)/expectk.man $(man1dir)/expectk.1 ; \
|
|
|
|
+ -if [ -s expectkjp_installed ] ; then \
|
|
|
|
+ $(INSTALL_PROGRAM) expectkjp_installed $(bindir)/expectkjp ; \
|
1997-03-11 11:52:43 +00:00
|
|
|
else true; fi
|
1997-10-17 05:58:08 +00:00
|
|
|
-# install Expect man page
|
|
|
|
- $(INSTALL_DATA) $(srcdir)/expect.man $(man1dir)/expect.1
|
|
|
|
-# install man page for Expect and Expectk libraries
|
|
|
|
- $(INSTALL_DATA) $(srcdir)/libexpect.man $(man3dir)/libexpect.3
|
|
|
|
# install Expect's public include files
|
|
|
|
# $(INSTALL_DATA) expect_cf.h $(includedir)
|
|
|
|
$(INSTALL_DATA) $(srcdir)/expect.h $(includedir)
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -421,21 +427,16 @@
|
|
|
|
TCL_LIBRARY=$(TCL_LIBRARY) ; \
|
|
|
|
export TCL_LIBRARY ; \
|
|
|
|
if $(LOCAL_EXPECT) $(srcdir)/fixcat ; then \
|
|
|
|
- $(INSTALL_DATA) $(srcdir)/fixcat $(EXECSCRIPTDIR)/cat-buffers ; \
|
|
|
|
+ $(INSTALL_DATA) $(srcdir)/fixcat $(EXECSCRIPTDIR)/cat-buffers-jp ; \
|
|
|
|
else true; fi
|
|
|
|
# install standalone scripts and their man pages, if requested
|
1997-03-11 11:52:43 +00:00
|
|
|
${srcdir}/mkinstalldirs $(bindir_arch_indep) $(man1dir) $(SCRIPTDIR) $(EXECSCRIPTDIR)
|
|
|
|
-for i in $(SCRIPT_LIST) ; do \
|
|
|
|
if [ -f $$i ] ; then \
|
|
|
|
- $(INSTALL_PROGRAM) $$i $(bindir_arch_indep)/$$i ; \
|
|
|
|
+ $(INSTALL_SCRIPT) $$i $(bindir_arch_indep)/$$i-jp ; \
|
|
|
|
rm -f $$i ; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
1997-10-17 05:58:08 +00:00
|
|
|
- -for i in $(SCRIPT_MANPAGE_LIST) ; do \
|
|
|
|
- if [ -f $(srcdir)/example/$$i.man ] ; then \
|
|
|
|
- $(INSTALL_DATA) $(srcdir)/example/$$i.man $(man1dir)/$$i.1 ; \
|
|
|
|
- else true; fi ; \
|
|
|
|
- done
|
|
|
|
|
|
|
|
$(SCRIPT_LIST):
|
|
|
|
TCL_LIBRARY=$(TCL_LIBRARY) ; \
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -445,27 +446,21 @@
|
1997-10-17 05:58:08 +00:00
|
|
|
# Delete all the installed files that the `install' target creates
|
|
|
|
# (but not the noninstalled files such as `make all' creates)
|
|
|
|
uninstall:
|
|
|
|
- -rm -f $(bindir)/expectk \
|
|
|
|
- $(man1dir)/expect.1 \
|
|
|
|
- $(man1dir)/expectk.1 \
|
|
|
|
+ -rm -f $(bindir)/expectkjp \
|
1998-10-10 04:09:05 +00:00
|
|
|
$(libdir)/$(EXP_SHARED_LIB_FILE) \
|
1997-10-17 05:58:08 +00:00
|
|
|
$(tcl_libdir)/$(EXP_SHARED_LIB_FILE) \
|
1998-10-10 04:09:05 +00:00
|
|
|
$(libdir)/$(EXP_UNSHARED_LIB_FILE) \
|
1997-10-17 05:58:08 +00:00
|
|
|
$(tcl_libdir)/$(EXP_UNSHARED_LIB_FILE) \
|
1998-10-10 04:09:05 +00:00
|
|
|
$(libdir)/pkgIndex.tcl \
|
1997-10-17 05:58:08 +00:00
|
|
|
- $(man3dir)/libexpect.3 \
|
|
|
|
$(includedir)/expect_cf.h \
|
|
|
|
$(includedir)/expect.h \
|
|
|
|
$(includedir)/expect_tcl.h \
|
1998-10-10 04:09:05 +00:00
|
|
|
$(includedir)/expect_comm.h \
|
|
|
|
- $(EXECSCRIPTDIR)/cat-buffers
|
|
|
|
+ $(EXECSCRIPTDIR)/cat-buffers-jp
|
1997-10-17 05:58:08 +00:00
|
|
|
# debugger is not removed, since other things could depend on it
|
|
|
|
# remove standalone scripts and man pages
|
|
|
|
-for i in $(SCRIPT_LIST) ; do \
|
|
|
|
- rm -f $(bindir_arch_indep)/$$i ; \
|
|
|
|
- done
|
|
|
|
- -for i in $(SCRIPT_MANPAGE_LIST) ; do \
|
|
|
|
- rm -f $(man1dir)/$$i.1 ; \
|
|
|
|
+ rm -f $(bindir_arch_indep)/$$i-jp ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
###################################
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -516,7 +511,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
# delete all files from current directory that are created by "make"
|
|
|
|
clean:
|
|
|
|
-rm -rf *~ *.o shared core \
|
|
|
|
- expect expect_installed expectk expectk_installed \
|
1997-10-17 05:58:08 +00:00
|
|
|
+ expectjp expectjp_installed expectkjp expectkjp_installed \
|
1997-03-11 11:52:43 +00:00
|
|
|
dumb exho devtty \
|
1997-10-17 05:58:08 +00:00
|
|
|
$(EXP_UNSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE) \
|
1997-03-11 11:52:43 +00:00
|
|
|
$(SCRIPT_LIST)
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -532,7 +527,7 @@
|
1997-03-11 11:52:43 +00:00
|
|
|
# because most people don't have to worry about them
|
|
|
|
mostlyclean:
|
|
|
|
-rm -rf *~ *.o shared core \
|
|
|
|
- expect expect_installed expectk expectk_installed \
|
1997-10-17 05:58:08 +00:00
|
|
|
+ expectjp expectjp_installed expectkjp expectkjp_installed \
|
|
|
|
$(EXP_UNSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE)
|
1997-03-11 11:52:43 +00:00
|
|
|
@$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS)
|
|
|
|
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -684,7 +679,7 @@
|
1997-10-17 05:58:08 +00:00
|
|
|
expect-$(VERSION).tar.gz: expect-$(VERSION).tar
|
|
|
|
gzip -fc expect-$(VERSION).tar > $@
|
|
|
|
|
|
|
|
-test: expect
|
|
|
|
+test: expectjp
|
|
|
|
rm -f .tmp
|
|
|
|
echo "set objdir" `pwd` > .tmp
|
|
|
|
if [ "$(srcdir)" = "." ] ; then \
|
1998-10-10 04:09:05 +00:00
|
|
|
@@ -694,7 +689,7 @@
|
1997-10-17 05:58:08 +00:00
|
|
|
echo "source all" >> .tmp
|
|
|
|
rootme=`pwd`; export rootme; \
|
|
|
|
srcdir=${srcdir} ; export srcdir ; \
|
|
|
|
- if [ -f ./expect ] ; then \
|
|
|
|
+ if [ -f ./expectjp ] ; then \
|
|
|
|
TCL_LIBRARY=$(TCL_LIBRARY) ; \
|
|
|
|
export TCL_LIBRARY ; fi ; \
|
|
|
|
$(LOCAL_EXPECT) -f .tmp
|