diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 07:04:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 07:04:45 +0000 |
commit | 71bf6b1420138119849603a7419b6bc5b19a2218 (patch) | |
tree | 5e56079a2b4de5c5975429e1f82ab3cd3c0fd447 /lib | |
parent | 009bf56df8e176b27b1bfa4c9fe71867bf08ae93 (diff) | |
download | coreutils-71bf6b1420138119849603a7419b6bc5b19a2218.tar.xz |
.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index db3a599b5..d371c1d23 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -67,6 +67,7 @@ GETLOADAVG_LIBS = @GETLOADAVG_LIBS@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GNU_PACKAGE = @GNU_PACKAGE@ +HAVE__BOOL = @HAVE__BOOL@ HELP2MAN = @HELP2MAN@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -110,6 +111,7 @@ SEQ_LIBM = @SEQ_LIBM@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SQRT_LIBM = @SQRT_LIBM@ +STDBOOL_H = @STDBOOL_H@ STRIP = @STRIP@ U = @U@ USE_NLS = @USE_NLS@ @@ -263,10 +265,11 @@ libfetish_a_DEPENDENCIES = $(libfetish_a_LIBADD) BUILT_SOURCES = getdate.c MAINTAINERCLEANFILES = $(BUILT_SOURCES) +MOSTLYCLEANFILES = stdbool.h EXTRA_DIST = config.charset ref-add.sin ref-del.sin \ - fnmatch_loop.c inttostr.c inttostr.h - + fnmatch_loop.c inttostr.c inttostr.h\ +stdbool.hin charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp @@ -736,6 +739,7 @@ install-strip: `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) @@ -845,6 +849,12 @@ uninstall-local: all-local charset.alias: config.charset $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ mv t-$@ $@ + +# Create stdbool.h on systems that lack a working one. +all-local $(lib_OBJECTS): $(STDBOOL_H) +stdbool.h: stdbool.hin + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool.hin > t-$@ + mv t-$@ $@ .sin.sed: sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ mv t-$@ $@ |