1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --libtool --macro-prefix=gl --no-vc-files autobuild fdl-1.3 gendocs getopt-gnu maintainer-makefile manywarnings pmccabe2html progname read-file stdint update-copyright valgrind-tests version-etc-fsf warnings
14 AUTOMAKE_OPTIONS = 1.5 gnits
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
28 EXTRA_DIST += m4/gnulib-cache.m4
33 noinst_LTLIBRARIES += libgnu.la
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
41 ## begin gnulib module arg-nonnull
43 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
44 # statements but through direct file reference. Therefore this snippet must be
45 # present in all Makefile.am that need it. This is ensured by the applicability
46 # 'all' defined above.
48 BUILT_SOURCES += arg-nonnull.h
49 # The arg-nonnull.h that gets inserted into generated .h files is the same as
50 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
51 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
52 $(AM_V_GEN)rm -f $@-t $@ && \
53 sed -n -e '/GL_ARG_NONNULL/,$$p' \
54 < $(top_srcdir)/build-aux/arg-nonnull.h \
57 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
59 ARG_NONNULL_H=arg-nonnull.h
61 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
63 ## end gnulib module arg-nonnull
65 ## begin gnulib module c++defs
67 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
68 # statements but through direct file reference. Therefore this snippet must be
69 # present in all Makefile.am that need it. This is ensured by the applicability
70 # 'all' defined above.
72 BUILT_SOURCES += c++defs.h
73 # The c++defs.h that gets inserted into generated .h files is the same as
74 # build-aux/c++defs.h, except that it has the copyright header cut off.
75 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
76 $(AM_V_GEN)rm -f $@-t $@ && \
77 sed -n -e '/_GL_CXXDEFS/,$$p' \
78 < $(top_srcdir)/build-aux/c++defs.h \
81 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
85 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
87 ## end gnulib module c++defs
89 ## begin gnulib module ftello
92 EXTRA_DIST += ftello.c stdio-impl.h
94 EXTRA_libgnu_la_SOURCES += ftello.c
96 ## end gnulib module ftello
98 ## begin gnulib module gendocs
101 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
103 ## end gnulib module gendocs
105 ## begin gnulib module getopt-posix
107 BUILT_SOURCES += $(GETOPT_H)
109 # We need the following in order to create <getopt.h> when the system
110 # doesn't have one that works with the given compiler.
111 getopt.h: getopt.in.h $(ARG_NONNULL_H)
112 $(AM_V_GEN)rm -f $@-t $@ && \
113 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
114 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
115 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
116 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
117 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
118 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
119 < $(srcdir)/getopt.in.h; \
122 MOSTLYCLEANFILES += getopt.h getopt.h-t
124 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
126 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
128 ## end gnulib module getopt-posix
130 ## begin gnulib module gettext-h
132 libgnu_la_SOURCES += gettext.h
134 ## end gnulib module gettext-h
136 ## begin gnulib module gnumakefile
138 distclean-local: clean-GNUmakefile
140 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
142 EXTRA_DIST += $(top_srcdir)/GNUmakefile
144 ## end gnulib module gnumakefile
146 ## begin gnulib module lseek
149 EXTRA_DIST += lseek.c
151 EXTRA_libgnu_la_SOURCES += lseek.c
153 ## end gnulib module lseek
155 ## begin gnulib module maintainer-makefile
157 EXTRA_DIST += $(top_srcdir)/maint.mk
159 ## end gnulib module maintainer-makefile
161 ## begin gnulib module malloc-posix
164 EXTRA_DIST += malloc.c
166 EXTRA_libgnu_la_SOURCES += malloc.c
168 ## end gnulib module malloc-posix
170 ## begin gnulib module pmccabe2html
173 EXTRA_DIST += $(top_srcdir)/build-aux/pmccabe2html $(top_srcdir)/build-aux/pmccabe.css
175 ## end gnulib module pmccabe2html
177 ## begin gnulib module progname
179 libgnu_la_SOURCES += progname.h progname.c
181 ## end gnulib module progname
183 ## begin gnulib module read-file
186 EXTRA_DIST += read-file.c read-file.h
188 EXTRA_libgnu_la_SOURCES += read-file.c
190 ## end gnulib module read-file
192 ## begin gnulib module realloc-posix
195 EXTRA_DIST += realloc.c
197 EXTRA_libgnu_la_SOURCES += realloc.c
199 ## end gnulib module realloc-posix
201 ## begin gnulib module stdarg
203 BUILT_SOURCES += $(STDARG_H)
205 # We need the following in order to create <stdarg.h> when the system
206 # doesn't have one that works with the given compiler.
207 stdarg.h: stdarg.in.h
208 $(AM_V_GEN)rm -f $@-t $@ && \
209 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
210 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
211 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
212 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
213 < $(srcdir)/stdarg.in.h; \
216 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
218 EXTRA_DIST += stdarg.in.h
220 ## end gnulib module stdarg
222 ## begin gnulib module stddef
224 BUILT_SOURCES += $(STDDEF_H)
226 # We need the following in order to create <stddef.h> when the system
227 # doesn't have one that works with the given compiler.
228 stddef.h: stddef.in.h
229 $(AM_V_GEN)rm -f $@-t $@ && \
230 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
231 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
232 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
233 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
234 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
235 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
236 < $(srcdir)/stddef.in.h; \
239 MOSTLYCLEANFILES += stddef.h stddef.h-t
241 EXTRA_DIST += stddef.in.h
243 ## end gnulib module stddef
245 ## begin gnulib module stdint
247 BUILT_SOURCES += $(STDINT_H)
249 # We need the following in order to create <stdint.h> when the system
250 # doesn't have one that works with the given compiler.
251 stdint.h: stdint.in.h
252 $(AM_V_GEN)rm -f $@-t $@ && \
253 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
254 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
255 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
256 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
257 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
258 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
259 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
260 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
261 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
262 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
263 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
264 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
265 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
266 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
267 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
268 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
269 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
270 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
271 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
272 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
273 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
274 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
275 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
276 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
277 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
278 < $(srcdir)/stdint.in.h; \
281 MOSTLYCLEANFILES += stdint.h stdint.h-t
283 EXTRA_DIST += stdint.in.h
285 ## end gnulib module stdint
287 ## begin gnulib module stdio
289 BUILT_SOURCES += stdio.h
291 # We need the following in order to create <stdio.h> when the system
292 # doesn't have one that works with the given compiler.
293 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
294 $(AM_V_GEN)rm -f $@-t $@ && \
295 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
296 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
297 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
298 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
299 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
300 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
301 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
302 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
303 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
304 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
305 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
306 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
307 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
308 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
309 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
310 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
311 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
312 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
313 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
314 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
315 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
316 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
317 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
318 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
319 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
320 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
321 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
322 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
323 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
324 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
325 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
326 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
327 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
328 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
329 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
330 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
331 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
332 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
333 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
334 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
335 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
336 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
337 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
338 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
339 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
340 < $(srcdir)/stdio.in.h | \
341 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
342 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
343 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
344 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
345 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
346 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
347 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
348 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
349 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
350 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
351 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
352 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
353 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
354 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
355 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
356 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
357 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
358 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
359 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
360 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
361 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
362 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
363 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
364 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
365 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
366 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
367 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
368 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
369 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
370 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
371 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
372 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
373 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
374 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
375 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
376 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
377 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
378 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
379 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
380 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
381 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
382 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
383 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
384 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
385 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
386 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
389 MOSTLYCLEANFILES += stdio.h stdio.h-t
391 EXTRA_DIST += stdio-write.c stdio.in.h
393 EXTRA_libgnu_la_SOURCES += stdio-write.c
395 ## end gnulib module stdio
397 ## begin gnulib module stdlib
399 BUILT_SOURCES += stdlib.h
401 # We need the following in order to create <stdlib.h> when the system
402 # doesn't have one that works with the given compiler.
403 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
404 $(AM_V_GEN)rm -f $@-t $@ && \
405 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
406 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
407 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
408 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
409 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
410 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
411 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
412 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
413 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
414 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
415 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
416 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
417 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
418 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
419 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
420 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
421 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
422 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
423 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
424 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
425 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
426 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
427 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
428 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
429 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
430 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
431 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
432 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
433 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
434 -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
435 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
436 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
437 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
438 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
439 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
440 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
441 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
442 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
443 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
444 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
445 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
446 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
447 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
448 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
449 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
450 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
451 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
452 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
453 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
454 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
455 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
456 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
457 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
458 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
459 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
460 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
461 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
462 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
463 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
464 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
465 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
466 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
467 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
468 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
469 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
470 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
471 < $(srcdir)/stdlib.in.h; \
474 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
476 EXTRA_DIST += stdlib.in.h
478 ## end gnulib module stdlib
480 ## begin gnulib module sys_stat
482 BUILT_SOURCES += sys/stat.h
484 # We need the following in order to create <sys/stat.h> when the system
485 # has one that is incomplete.
486 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
487 $(AM_V_at)$(MKDIR_P) sys
488 $(AM_V_GEN)rm -f $@-t $@ && \
489 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
490 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
491 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
492 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
493 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
494 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
495 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
496 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
497 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
498 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
499 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
500 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
501 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
502 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
503 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
504 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
505 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
506 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
507 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
508 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
509 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
510 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
511 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
512 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
513 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
514 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
515 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
516 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
517 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
518 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
519 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
520 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
521 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
522 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
523 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
524 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
525 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
526 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
527 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
528 < $(srcdir)/sys_stat.in.h; \
531 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
532 MOSTLYCLEANDIRS += sys
534 EXTRA_DIST += sys_stat.in.h
536 ## end gnulib module sys_stat
538 ## begin gnulib module sys_wait
540 BUILT_SOURCES += sys/wait.h
542 # We need the following in order to create <sys/wait.h> when the system
543 # has one that is incomplete.
544 sys/wait.h: sys_wait.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
545 $(AM_V_at)$(MKDIR_P) sys
546 $(AM_V_GEN)rm -f $@-t $@ && \
547 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
548 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
549 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
550 -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \
551 -e 's|@''GNULIB_WAITPID''@|$(GNULIB_WAITPID)|g' \
552 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
553 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
554 < $(srcdir)/sys_wait.in.h; \
557 MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t
558 MOSTLYCLEANDIRS += sys
560 EXTRA_DIST += sys_wait.in.h
562 ## end gnulib module sys_wait
564 ## begin gnulib module time
566 BUILT_SOURCES += time.h
568 # We need the following in order to create <time.h> when the system
569 # doesn't have one that works with the given compiler.
570 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
571 $(AM_V_GEN)rm -f $@-t $@ && \
572 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
573 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
574 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
575 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
576 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
577 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
578 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
579 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
580 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
581 -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
582 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
583 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
584 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
585 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
586 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
587 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
588 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
589 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
590 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
591 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
592 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
593 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
594 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
595 < $(srcdir)/time.in.h; \
598 MOSTLYCLEANFILES += time.h time.h-t
600 EXTRA_DIST += time.in.h
602 ## end gnulib module time
604 ## begin gnulib module unistd
606 BUILT_SOURCES += unistd.h
608 # We need the following in order to create an empty placeholder for
609 # <unistd.h> when the system doesn't have one.
610 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
611 $(AM_V_GEN)rm -f $@-t $@ && \
612 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
613 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
614 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
615 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
616 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
617 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
618 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
619 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
620 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
621 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
622 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
623 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
624 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
625 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
626 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
627 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
628 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
629 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
630 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
631 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
632 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
633 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
634 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
635 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
636 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
637 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
638 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
639 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
640 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
641 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
642 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
643 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
644 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
645 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
646 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
647 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
648 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
649 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
650 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
651 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
652 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
653 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
654 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
655 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
656 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
657 < $(srcdir)/unistd.in.h | \
658 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
659 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
660 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
661 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
662 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
663 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
664 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
665 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
666 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
667 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
668 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
669 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
670 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
671 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
672 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
673 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
674 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
675 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
676 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
677 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
678 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
679 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
680 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
681 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
682 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
683 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
684 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
685 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
686 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
687 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
688 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
689 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
690 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
691 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
692 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
693 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
694 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
695 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
696 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
697 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
698 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
699 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
700 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
701 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
702 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
703 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
704 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
705 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
706 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
707 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
708 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
709 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
710 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
711 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
712 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
713 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
714 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
715 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
716 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
717 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
718 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
719 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
720 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
723 MOSTLYCLEANFILES += unistd.h unistd.h-t
725 EXTRA_DIST += unistd.in.h
727 ## end gnulib module unistd
729 ## begin gnulib module update-copyright
732 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
734 ## end gnulib module update-copyright
736 ## begin gnulib module useless-if-before-free
739 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
741 ## end gnulib module useless-if-before-free
743 ## begin gnulib module vc-list-files
746 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
748 ## end gnulib module vc-list-files
750 ## begin gnulib module version-etc
752 libgnu_la_SOURCES += version-etc.h version-etc.c
754 ## end gnulib module version-etc
756 ## begin gnulib module version-etc-fsf
758 libgnu_la_SOURCES += version-etc-fsf.c
760 ## end gnulib module version-etc-fsf
762 ## begin gnulib module warn-on-use
764 BUILT_SOURCES += warn-on-use.h
765 # The warn-on-use.h that gets inserted into generated .h files is the same as
766 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
767 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
768 $(AM_V_GEN)rm -f $@-t $@ && \
769 sed -n -e '/^.ifndef/,$$p' \
770 < $(top_srcdir)/build-aux/warn-on-use.h \
773 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
775 WARN_ON_USE_H=warn-on-use.h
777 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
779 ## end gnulib module warn-on-use
781 ## begin gnulib module wchar
783 BUILT_SOURCES += wchar.h
785 # We need the following in order to create <wchar.h> when the system
786 # version does not work standalone.
787 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
788 $(AM_V_GEN)rm -f $@-t $@ && \
789 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
790 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
791 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
792 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
793 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
794 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
795 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
796 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
797 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
798 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
799 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
800 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
801 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
802 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
803 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
804 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
805 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
806 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
807 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
808 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
809 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
810 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
811 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
812 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
813 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
814 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
815 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
816 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
817 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
818 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
819 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
820 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
821 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
822 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
823 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
824 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
825 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
826 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
827 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
828 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
829 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
830 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
831 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
832 < $(srcdir)/wchar.in.h; \
835 MOSTLYCLEANFILES += wchar.h wchar.h-t
837 EXTRA_DIST += wchar.in.h
839 ## end gnulib module wchar
842 mostlyclean-local: mostlyclean-generic
843 @for dir in '' $(MOSTLYCLEANDIRS); do \
844 if test -n "$$dir" && test -d $$dir; then \
845 echo "rmdir $$dir"; rmdir $$dir; \