1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

* README: using Automake 1.2d

* configure.in: AC_CHECK_FUNCS: add "system".
	* simpos.c (scm_system): always define: use sysmissing if not
	available.  Check for HAVE_SYSTEM instead of _Windows (does
	Windows lack system or does it have an unusable one?).
	Check for error conditions -1 and 127.  Use SCM_DEFER_INTS.
	Let the argument be optional: if not supplied, call system(NULL).
	* ports.c (scm_close_port): relax the type check from OPPORTP to
	PORTP; closing a closed port is allowed.
This commit is contained in:
Gary Houston 1997-12-07 07:02:17 +00:00
parent 8122b543c1
commit 341eaef04b
16 changed files with 468 additions and 378 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 7 06:11:24 1997 Gary Houston <ghouston@actrix.gen.nz>
* README: using Automake 1.2d
* configure.in: AC_CHECK_FUNCS: add "system".
1997-12-01 Tim Pierce <twp@skepsis.com> 1997-12-01 Tim Pierce <twp@skepsis.com>
* acconfig.h: Add USCORE. * acconfig.h: Add USCORE.

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@
@ -156,7 +156,7 @@ all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \ installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive: check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \ @set fnord $(MAKEFLAGS); amf=$$2; \
for subdir in $(SUBDIRS); do \ list='$(SUBDIRS)'; for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \ target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \ echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $$target) \ (cd $$subdir && $(MAKE) $$target) \
@ -166,7 +166,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
mostlyclean-recursive clean-recursive distclean-recursive \ mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive: maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \ @set fnord $(MAKEFLAGS); amf=$$2; \
rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
done; \
for subdir in $$rev; do \ for subdir in $$rev; do \
target=`echo $@ | sed s/-recursive//`; \ target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \ echo "Making $$target in $$subdir"; \
@ -180,17 +182,18 @@ tags-recursive:
tags: TAGS tags: TAGS
ID: $(HEADERS) $(SOURCES) ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \ tags=; \
here=`pwd`; \ here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \ list='$(SUBDIRS)'; for subdir in $$list; do \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
done; \ done; \
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
mostlyclean-tags: mostlyclean-tags:

2
README
View file

@ -91,7 +91,7 @@ Autoconf 2.12 --- a system for automatically generating `configure'
program would like to use. Available in program would like to use. Available in
"ftp://prep.ai.mit.edu/pub/gnu". "ftp://prep.ai.mit.edu/pub/gnu".
Automake 1.2c --- a system for automatically generating Makefiles that Automake 1.2d --- a system for automatically generating Makefiles that
conform to the (rather Byzantine) GNU coding standards. The conform to the (rather Byzantine) GNU coding standards. The
nice thing is that it takes care of hairy targets like 'make nice thing is that it takes care of hairy targets like 'make
dist' and 'make distclean', and automatically generates dist' and 'make distclean', and automatically generates

19
aclocal.m4 vendored
View file

@ -1,4 +1,4 @@
dnl aclocal.m4 generated automatically by aclocal 1.2c dnl aclocal.m4 generated automatically by aclocal 1.2d
dnl Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. dnl Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
dnl This Makefile.in is free software; the Free Software Foundation dnl This Makefile.in is free software; the Free Software Foundation
@ -176,8 +176,8 @@ fi
ifelse([$3],, ifelse([$3],,
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")) AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
AM_SANITY_CHECK AC_REQUIRE([AM_SANITY_CHECK])
AC_ARG_PROGRAM AC_REQUIRE([AC_ARG_PROGRAM])
dnl FIXME This is truly gross. dnl FIXME This is truly gross.
missing_dir=`cd $ac_aux_dir && pwd` missing_dir=`cd $ac_aux_dir && pwd`
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
@ -185,7 +185,7 @@ AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_PROG_MAKE_SET]) AC_REQUIRE([AC_PROG_MAKE_SET])])
# serial 1 # serial 1
@ -216,6 +216,17 @@ if (
# -L didn't work. # -L didn't work.
set X `ls -t $srcdir/configure conftestfile` set X `ls -t $srcdir/configure conftestfile`
fi fi
if test "[$]*" != "X $srcdir/configure conftestfile" \
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "[$]2" = conftestfile test "[$]2" = conftestfile
) )
then then

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -52,12 +52,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@

580
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -92,7 +92,7 @@ fi
GUILE_DLSYM_USCORE GUILE_DLSYM_USCORE
AC_CHECK_FUNCS(ctermid ftime getcwd geteuid gethostent gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid bzero) AC_CHECK_FUNCS(ctermid ftime getcwd geteuid gethostent gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid bzero system)
dnl <GNU-WIN32 hacks> dnl <GNU-WIN32 hacks>

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@
@ -145,14 +145,15 @@ uninstall-subpkgdataDATA:
tags: TAGS tags: TAGS
ID: $(HEADERS) $(SOURCES) ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \ tags=; \
here=`pwd`; \ here=`pwd`; \
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
mostlyclean-tags: mostlyclean-tags:

View file

@ -1,3 +1,14 @@
Sun Dec 7 01:43:56 1997 Gary Houston <ghouston@actrix.gen.nz>
* simpos.c (scm_system): always define: use sysmissing if not
available. Check for HAVE_SYSTEM instead of _Windows (does
Windows lack system or does it have an unusable one?).
Check for error conditions -1 and 127. Use SCM_DEFER_INTS.
Let the argument be optional: if not supplied, call system(NULL).
* ports.c (scm_close_port): relax the type check from OPPORTP to
PORTP; closing a closed port is allowed.
1997-12-04 Tim Pierce <twp@ppp39.Nantucket.net> 1997-12-04 Tim Pierce <twp@ppp39.Nantucket.net>
* fports.c (scm_fgets): Return if the last char in a chunk is * fports.c (scm_fgets): Return if the last char in a chunk is

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@
@ -245,7 +245,7 @@ OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test
default: all default: all
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .lo .o .x .SUFFIXES: .S .c .lo .o .s .x
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign libguile/Makefile cd $(top_srcdir) && $(AUTOMAKE) --foreign libguile/Makefile
@ -291,8 +291,8 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
$(mkinstalldirs) $(libdir) $(mkinstalldirs) $(libdir)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \ if test -f $$p; then \
echo "$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p"; \ echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p"; \
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p; \ $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p; \
else :; fi; \ else :; fi; \
done done
@ -305,6 +305,12 @@ uninstall-libLTLIBRARIES:
.c.o: .c.o:
$(COMPILE) -c $< $(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile: mostlyclean-compile:
-rm -f *.o core -rm -f *.o core
@ -318,11 +324,17 @@ maintainer-clean-compile:
.c.lo: .c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $< $(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool: mostlyclean-libtool:
-rm -f *.lo -rm -f *.lo
clean-libtool: clean-libtool:
-rm -rf .libs -rm -rf .libs _libs
distclean-libtool: distclean-libtool:
@ -459,14 +471,15 @@ uninstall-pkgincludeHEADERS:
tags: TAGS tags: TAGS
ID: $(HEADERS) $(SOURCES) ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES) TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
tags=; \ tags=; \
here=`pwd`; \ here=`pwd`; \
test -z "$(ETAGS_ARGS)scmconfig.h.in$(SOURCES)$(HEADERS)$$tags" \ test -z "$(ETAGS_ARGS)scmconfig.h.in$(SOURCES)$(HEADERS)$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags scmconfig.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS) || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags scmconfig.h.in $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
mostlyclean-tags: mostlyclean-tags:

View file

@ -418,7 +418,7 @@ scm_close_port (port)
port = SCM_COERCE_OUTPORT (port); port = SCM_COERCE_OUTPORT (port);
SCM_ASSERT (SCM_NIMP (port) && SCM_OPPORTP (port), port, SCM_ARG1, SCM_ASSERT (SCM_NIMP (port) && SCM_PORTP (port), port, SCM_ARG1,
s_close_port); s_close_port);
if (SCM_CLOSEDP (port)) if (SCM_CLOSEDP (port))
return SCM_BOOL_F; return SCM_BOOL_F;

View file

@ -314,6 +314,9 @@
/* Define if you have the sync function. */ /* Define if you have the sync function. */
#undef HAVE_SYNC #undef HAVE_SYNC
/* Define if you have the system function. */
#undef HAVE_SYSTEM
/* Define if you have the tcgetpgrp function. */ /* Define if you have the tcgetpgrp function. */
#undef HAVE_TCGETPGRP #undef HAVE_TCGETPGRP

View file

@ -57,24 +57,38 @@
extern int system(); extern int system();
#ifndef _Windows SCM_PROC(s_system, "system", 0, 1, 0, scm_system);
SCM_PROC(s_system, "system", 1, 0, 0, scm_system);
SCM SCM
scm_system(cmd) scm_system(cmd)
SCM cmd; SCM cmd;
{ {
int rv;
if (SCM_UNBNDP (cmd))
{
#ifdef HAVE_SYSTEM
rv = system (NULL);
#else
rv = 0;
#endif
return rv ? SCM_BOOL_T : SCM_BOOL_F;
}
SCM_ASSERT(SCM_NIMP(cmd) && SCM_ROSTRINGP(cmd), cmd, SCM_ARG1, s_system); SCM_ASSERT(SCM_NIMP(cmd) && SCM_ROSTRINGP(cmd), cmd, SCM_ARG1, s_system);
#ifdef HAVE_SYSTEM
SCM_DEFER_INTS;
errno = 0;
if (SCM_ROSTRINGP (cmd)) if (SCM_ROSTRINGP (cmd))
cmd = scm_makfromstr (SCM_ROCHARS (cmd), SCM_ROLENGTH (cmd), 0); cmd = scm_makfromstr (SCM_ROCHARS (cmd), SCM_ROLENGTH (cmd), 0);
# ifdef AZTEC_C rv = system(SCM_ROCHARS(cmd));
cmd = SCM_MAKINUM(Execute(SCM_ROCHARS(cmd), 0, 0)); if (rv == -1 || (rv == 127 && errno != 0))
# else scm_syserror (s_system);
cmd = SCM_MAKINUM(0L+system(SCM_ROCHARS(cmd))); SCM_ALLOW_INTS;
# endif return SCM_MAKINUM (rv);
return cmd; #else
} scm_sysmissing (s_system);
#endif #endif
}
extern char *getenv(); extern char *getenv();
SCM_PROC (s_getenv, "getenv", 1, 0, 0, scm_getenv); SCM_PROC (s_getenv, "getenv", 1, 0, 0, scm_getenv);

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@
@ -126,7 +126,7 @@ OBJECTS = $(libqthreads_a_OBJECTS)
default: all default: all
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .lo .o .SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign qt/Makefile cd $(top_srcdir) && $(AUTOMAKE) --foreign qt/Makefile
@ -172,6 +172,12 @@ uninstall-libLIBRARIES:
.c.o: .c.o:
$(COMPILE) -c $< $(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile: mostlyclean-compile:
-rm -f *.o core -rm -f *.o core
@ -185,11 +191,17 @@ maintainer-clean-compile:
.c.lo: .c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $< $(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool: mostlyclean-libtool:
-rm -f *.lo -rm -f *.lo
clean-libtool: clean-libtool:
-rm -rf .libs -rm -rf .libs _libs
distclean-libtool: distclean-libtool:
@ -213,7 +225,7 @@ all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \ installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive: check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \ @set fnord $(MAKEFLAGS); amf=$$2; \
for subdir in $(SUBDIRS); do \ list='$(SUBDIRS)'; for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \ target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \ echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $$target) \ (cd $$subdir && $(MAKE) $$target) \
@ -223,7 +235,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
mostlyclean-recursive clean-recursive distclean-recursive \ mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive: maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \ @set fnord $(MAKEFLAGS); amf=$$2; \
rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
done; \
for subdir in $$rev; do \ for subdir in $$rev; do \
target=`echo $@ | sed s/-recursive//`; \ target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \ echo "Making $$target in $$subdir"; \
@ -237,17 +251,18 @@ tags-recursive:
tags: TAGS tags: TAGS
ID: $(HEADERS) $(SOURCES) ID: $(HEADERS) $(SOURCES) $(LISP)
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \ tags=; \
here=`pwd`; \ here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \ list='$(SUBDIRS)'; for subdir in $$list; do \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
done; \ done; \
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
mostlyclean-tags: mostlyclean-tags:

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.2c from Makefile.am # Makefile.in generated automatically by automake 1.2d from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
@ -49,12 +49,12 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@ transform = @program_transform_name@
NORMAL_INSTALL = true NORMAL_INSTALL = :
PRE_INSTALL = true PRE_INSTALL = :
POST_INSTALL = true POST_INSTALL = :
NORMAL_UNINSTALL = true NORMAL_UNINSTALL = :
PRE_UNINSTALL = true PRE_UNINSTALL = :
POST_UNINSTALL = true POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AWK = @AWK@ AWK = @AWK@