aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gnulib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnulib.mk')
-rw-r--r--lib/gnulib.mk113
1 files changed, 112 insertions, 1 deletions
diff --git a/lib/gnulib.mk b/lib/gnulib.mk
index cd6a1d00c15..030f95b7a68 100644
--- a/lib/gnulib.mk
+++ b/lib/gnulib.mk
@@ -9,7 +9,7 @@
9# the same distribution terms as the rest of that program. 9# the same distribution terms as the rest of that program.
10# 10#
11# Generated by gnulib-tool. 11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink strftime symlink sys_stat 12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime symlink sys_stat
13 13
14 14
15MOSTLYCLEANFILES += core *.stackdump 15MOSTLYCLEANFILES += core *.stackdump
@@ -280,6 +280,117 @@ EXTRA_DIST += stdint.in.h
280 280
281## end gnulib module stdint 281## end gnulib module stdint
282 282
283## begin gnulib module stdio
284
285BUILT_SOURCES += stdio.h
286
287# We need the following in order to create <stdio.h> when the system
288# doesn't have one that works with the given compiler.
289stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
290 $(AM_V_GEN)rm -f $@-t $@ && \
291 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
292 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
293 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
294 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
295 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
296 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
297 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
298 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
299 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
300 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
301 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
302 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
303 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
304 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
305 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
306 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
307 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
308 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
309 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
310 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
311 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
312 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
313 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
314 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
315 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
316 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
317 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
318 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
319 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
320 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
321 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
322 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
323 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
324 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
325 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
326 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
327 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
328 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
329 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
330 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
331 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
332 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
333 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
334 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
335 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
336 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
337 < $(srcdir)/stdio.in.h | \
338 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
339 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
340 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
341 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
342 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
343 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
344 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
345 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
346 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
347 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
348 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
349 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
350 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
351 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
352 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
353 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
354 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
355 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
356 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
357 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
358 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
359 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
360 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
361 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
362 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
363 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
364 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
365 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
366 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
367 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
368 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
369 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
370 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
371 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
372 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
373 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
374 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
375 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
376 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
377 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
378 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
379 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
380 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
381 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
382 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
383 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
384 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
385 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
386 } > $@-t && \
387 mv $@-t $@
388MOSTLYCLEANFILES += stdio.h stdio.h-t
389
390EXTRA_DIST += stdio.in.h
391
392## end gnulib module stdio
393
283## begin gnulib module stdlib 394## begin gnulib module stdlib
284 395
285BUILT_SOURCES += stdlib.h 396BUILT_SOURCES += stdlib.h