2021-12-24 Paul Eggert <eggert@cs.ucla.edu>
+ maint: avoid empty lines in recipes
+ AIX 7.2 ‘make’ complains about recipe lines that are empty after
+ macro expansion, and I suppose there’s a good chance some
+ non-POSIX ‘make’ would prohibit them. Rework macros so
+ that we can avoid them.
+ * gnulib-tool (func_emit_lib_Makefile_am)
+ (func_emit_lib_Makefile_am): Support @!NMD@ too.
+ * modules/gen-header (@gl_V_at): New macro.
+ * modules/alloca-opt, modules/argz, modules/assert-h:
+ * modules/byteswap, modules/configmake, modules/ctype:
+ * modules/dirent, modules/errno, modules/execinfo, modules/fcntl-h:
+ * modules/float, modules/fnmatch-h, modules/getopt-posix:
+ * modules/glob-h, modules/iconv-h, modules/ieee754-h:
+ * modules/inttypes-incomplete, modules/langinfo:
+ * modules/libtextstyle-optional, modules/limits-h, modules/locale:
+ * modules/malloc-h, modules/math, modules/monetary, modules/netdb:
+ * modules/openmp-init, modules/poll-h, modules/posix-shell:
+ * modules/pthread-h, modules/pty, modules/sched, modules/search:
+ * modules/signal-h, modules/sigsegv, modules/snippet/link-warning:
+ * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool:
+ * modules/stddef, modules/stdint, modules/stdio, modules/stdlib:
+ * modules/stdnoreturn, modules/string, modules/strings:
+ * modules/sysexits, modules/termios, modules/threads-h:
+ * modules/time, modules/uchar, modules/unicase/base:
+ * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base:
+ * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base:
+ * modules/unistd, modules/unistdio/base, modules/unistr/base:
+ * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base:
+ * modules/utime-h, modules/wchar, modules/wctype-h:
+ Use it.
+
maint: tight-scope-mk need not be read-only
* top/maint.mk (tight-scope.mk): Don’t bother to make
tight-scope.mk read-only either.
# Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations.
# The logic is similar to how we define gl_source_base_prefix.
if $automake_subdir; then
- sed_eliminate_NMD='s/@NMD@//'
+ sed_eliminate_NMD='s/@NMD@//;/@!NMD@/d'
else
- sed_eliminate_NMD='/@NMD@/d'
+ sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//'
fi
if $for_test; then
# When creating a package for testing: Attempt to provoke failures,
fi
# Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations.
# The logic is similar to how we define gl_source_base_prefix.
- sed_eliminate_NMD='/@NMD@/d'
+ sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//'
if $for_test; then
# When creating a package for testing: Attempt to provoke failures,
# especially link errors, already during "make" rather than during
# doesn't have one that works with the given compiler.
if GL_GENERATE_ALLOCA_H
alloca.h: alloca.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
$(srcdir)/alloca.in.h > $@-t
$(AM_V_at)mv $@-t $@
# doesn't have one that works with the given compiler.
if GL_GENERATE_ARGZ_H
argz.h: argz.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h
$(AM_V_at)mv $@-t $@
else
argz.h: $(top_builddir)/config.status
# doesn't have one that works with the given compiler.
if GL_GENERATE_ASSERT_H
assert.h: assert.in.h verify.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at){ $(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at){ $(SED_HEADER_STDOUT) \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
# doesn't have one.
if GL_GENERATE_BYTESWAP_H
byteswap.h: byteswap.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
$(AM_V_at)mv $@-t $@
else
byteswap.h: $(top_builddir)/config.status
m4/configmake.m4
Depends-on:
+gen-header
configure.ac:
gl_CONFIGMAKE_PREP
# The Automake-defined pkg* macros are appended, in the order
# listed in the Automake 1.10a+ documentation.
configmake.h: Makefile
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#if HAVE_WINSOCK2_H'; \
echo '# include <winsock2.h> /* avoid mingw pollution on DATADIR */'; \
echo '#endif'; \
# We need the following in order to create <ctype.h> when the system
# doesn't have one that works with the given compiler.
ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <dirent.h> when the system
# doesn't have one that works with the given compiler.
dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# doesn't have one that is POSIX compliant.
if GL_GENERATE_ERRNO_H
errno.h: errno.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works.
if GL_GENERATE_EXECINFO_H
execinfo.h: execinfo.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h
$(AM_V_at)mv $@-t $@
else
execinfo.h: $(top_builddir)/config.status
# We need the following in order to create <fcntl.h> when the system
# doesn't have one that works with the given compiler.
fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
if GL_GENERATE_FLOAT_H
float.h: float.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <fnmatch.h>.
if GL_GENERATE_FNMATCH_H
fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e x \
-e 'w $@-t'
+# Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
+# is its recipe's first line if and only if @NMD@ lines are absent.
+@NMD@gl_V_at = $(AM_V_at)
+@!NMD@gl_V_at = $(AM_V_GEN)
+
Include:
License:
# doesn't have one that works with the given compiler.
if GL_GENERATE_GETOPT_H
getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <glob.h>.
if GL_GENERATE_GLOB_H
glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# doesn't have one that works with the given compiler.
if GL_GENERATE_ICONV_H
iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
if GL_GENERATE_IEEE754_H
ieee754.h: ieee754.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \
$(srcdir)/ieee754.in.h > $@-t
$(AM_V_at)mv $@-t $@
# We need the following in order to create <inttypes.h> when the system
# doesn't have one that works with the given compiler.
inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create an empty placeholder for
# <langinfo.h> when the system doesn't have one.
langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# <textstyle.h> when the system doesn't have one.
if GL_GENERATE_TEXTSTYLE_H
textstyle.h: textstyle.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h
$(AM_V_at)mv $@-t $@
else
textstyle.h: $(top_builddir)/config.status
# doesn't have one that is compatible with GNU.
if GL_GENERATE_LIMITS_H
limits.h: limits.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <locale.h> when the system
# doesn't have one that provides all definitions.
locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <malloc.h> when we add workarounds.
malloc.h: malloc.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <math.h> when the system
# doesn't have one that works with the given compiler.
math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
if GL_GENERATE_MONETARY_H
monetary.h: monetary.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <netdb.h> when the system
# doesn't have one that works with the given compiler.
netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <poll.h> when the system
# doesn't have one.
poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
m4/posix-shell.m4
Depends-on:
+gen-header
configure.ac:
gl_POSIX_SHELL
Makefile.am:
##Sample usage of posix-shell module:
#script: script.in
-# $(AM_V_GEN)
-#@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
-# $(AM_V_at)sed \
+#@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+# $(gl_V_at)sed \
# -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \
# -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \
# -e $(srcdir)/$@.in > $@-t
# We need the following in order to create <pthread.h> when the system
# doesn't have one that works with the given compiler.
pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <pty.h> when the system
# doesn't have one that works with the given compiler.
pty.h: pty.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create a replacement for <sched.h> when
# the system doesn't have one.
sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
-e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
# We need the following in order to create <search.h> when the system
# doesn't have one that works with the given compiler.
search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <signal.h> when the system
# doesn't have a complete one.
signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
if GL_GENERATE_SIGSEGV_H
sigsegv.h: sigsegv.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h
$(AM_V_at)mv $@-t $@
else
sigsegv.h: $(top_builddir)/config.status
build-aux/snippet/link-warning.h
Depends-on:
+gen-header
configure.ac:
AC_REQUIRE([gl_FEATURES_H])
BUILT_SOURCES += link-warning.h
link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \
< $(top_srcdir)/build-aux/snippet/link-warning.h \
| sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
> $@-t
# We need the following in order to create a replacement for <spawn.h> when
# the system doesn't have one.
spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# doesn't have one that works.
if GL_GENERATE_STDALIGN_H
stdalign.h: stdalign.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
$(AM_V_at)mv $@-t $@
else
stdalign.h: $(top_builddir)/config.status
# doesn't have one that works with the given compiler.
if GL_GENERATE_STDARG_H
stdarg.h: stdarg.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works.
if GL_GENERATE_STDBOOL_H
stdbool.h: stdbool.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
$(srcdir)/stdbool.in.h > $@-t
$(AM_V_at)mv $@-t $@
# doesn't have one that works with the given compiler.
if GL_GENERATE_STDDEF_H
stddef.h: stddef.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
if GL_GENERATE_STDINT_H
stdint.h: stdint.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <stdio.h> when the system
# doesn't have one that works with the given compiler.
stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works with the given compiler.
stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# doesn't have one that works.
if GL_GENERATE_STDNORETURN_H
stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e '/definition of _Noreturn/r $(_NORETURN_H)' \
$(srcdir)/stdnoreturn.in.h > $@-t
$(AM_V_at)mv $@-t $@
# We need the following in order to create <string.h> when the system
# doesn't have one that works with the given compiler.
string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <strings.h> when the system
# doesn't have one that works with the given compiler.
strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
m4/pid_t.m4
Depends-on:
-sed-header
+gen-header
include_next
ssize_t
# doesn't have one that works with the given compiler.
if GL_GENERATE_SYSEXITS_H
sysexits.h: sysexits.in.h $(top_builddir)/config.status
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <termios.h> when the system
# version does not have all declarations.
termios.h: termios.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <threads.h> when the system
# doesn't have one.
threads.h: threads.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <time.h> when the system
# doesn't have one that works with the given compiler.
time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
BUILT_SOURCES += uchar.h
uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H)
unicase.h: unicase.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unicase.h unicase.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H)
uniconv.h: uniconv.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniconv.h uniconv.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H)
unictype.h: unictype.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unictype.h unictype.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H)
unigbrk.h: unigbrk.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unigbrk.h unigbrk.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H)
unilbrk.h: unilbrk.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H)
uniname.h: uniname.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniname.h uniname.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H)
uninorm.h: uninorm.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uninorm.h uninorm.h-t
# We need the following in order to create an empty placeholder for
# <unistd.h> when the system doesn't have one.
unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H)
unistdio.h: unistdio.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unistdio.h unistdio.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
unistr.h: unistr.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unistr.h unistr.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
unitypes.h: unitypes.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unitypes.h unitypes.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H)
uniwbrk.h: uniwbrk.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniwbrk.h uniwbrk.h-t
BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
uniwidth.h: uniwidth.in.h
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h
$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
# We need the following in order to create <utime.h> when the system
# doesn't have one that works with the given compiler.
utime.h: utime.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UTIME_H''@/$(HAVE_UTIME_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# We need the following in order to create <wchar.h> when the system
# version does not work standalone.
wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
# We need the following in order to create <wctype.h> when the system
# doesn't have one that works with the given compiler.
wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)
-@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \