From 08ebdda2cbf6b814bd3efdf6fa0ff36ebc199a6c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 26 Sep 2001 08:22:37 +0000 Subject: [PATCH] . --- lib/Makefile.in | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/lib/Makefile.in b/lib/Makefile.in index b69dd0256f..26e0ce48fc 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -205,7 +205,7 @@ BUILT_SOURCES = getdate.c lstat.c stat.c unlocked-io.h MAINTAINERCLEANFILES = $(BUILT_SOURCES) DISTCLEANFILES = lstat.c stat.c unlocked-io.h -EXTRA_DIST = xstat.in config.charset ref-add.sin ref-del.sin unlocked-io.hin +EXTRA_DIST = xstat.in config.charset ref-add.sin ref-del.sin gen-uio charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp @@ -221,9 +221,6 @@ io_functions = \ clearerr feof ferror fflush fgets fputc fputs \ fread fwrite getc getchar putc putchar - -a_z = abcdefghijklmnopqrstuvwxyz -A_Z = ABCDEFGHIJKLMNOPQRSTUVWXYZ subdir = lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h @@ -1002,19 +999,8 @@ charset.alias: config.charset sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > $@-t mv $@-t $@ -unlocked-io.h: $(srcdir)/unlocked-io.hin Makefile.am - tmp=t$$$$; \ - for f in $(io_functions); do \ - u=`echo $$f|tr $(a_z) $(A_Z)`; \ - echo "# if HAVE_$${u}_UNLOCKED" ; \ - echo "# undef $$f" ; \ - echo "# define $$f(S) $${f}_unlocked (S)" ; \ - echo '# endif' ; \ - done > $$tmp; \ - sed '/^@replace_this@$$/r '$$tmp $(srcdir)/unlocked-io.hin \ - | sed '/^@replace_this@$$/d' \ - > $@t; \ - rm -f $$tmp; \ +unlocked-io.h: $(srcdir)/gen-uio Makefile.am + srcdir=$(srcdir) $(SHELL) $(srcdir)/gen-uio $(io_functions) > $@t mv $@t $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. -- 2.30.2