Bump to 2.19
[platform/upstream/grep.git] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgreputils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=lock-tests --makefile-name=gnulib.mk --no-conditional-dependencies --no-libtool --macro-prefix=gl alloca announce-gen argmatch binary-io btowc c-ctype closeout do-release-commit-and-tag error exclude fcntl-h fnmatch fstatat fts getopt-gnu getpagesize gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload ignore-value intprops inttypes isatty isblank iswctype largefile locale lseek maintainer-makefile malloc-gnu manywarnings mbrlen mbrtowc memchr memchr2 mempcpy minmax obstack openat-safer perl progname propername quote readme-release realloc-gnu regex safe-read same-inode ssize_t stddef stdlib stpcpy strerror string strtoull strtoumax sys_stat unistd unlocked-io update-copyright useless-if-before-free version-etc-fsf wchar wcrtomb wctob wctype-h xalloc xstrtoimax
25
26
27 MOSTLYCLEANFILES += core *.stackdump
28
29 noinst_LIBRARIES += libgreputils.a
30
31 libgreputils_a_SOURCES =
32 libgreputils_a_LIBADD = $(gl_LIBOBJS)
33 libgreputils_a_DEPENDENCIES = $(gl_LIBOBJS)
34 EXTRA_libgreputils_a_SOURCES =
35
36 ## begin gnulib module absolute-header
37
38 # Use this preprocessor expression to decide whether #include_next works.
39 # Do not rely on a 'configure'-time test for this, since the expression
40 # might appear in an installed header, which is used by some other compiler.
41 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
42
43 ## end   gnulib module absolute-header
44
45 ## begin gnulib module alloca
46
47
48 libgreputils_a_LIBADD += @ALLOCA@
49 libgreputils_a_DEPENDENCIES += @ALLOCA@
50 EXTRA_DIST += alloca.c
51
52 EXTRA_libgreputils_a_SOURCES += alloca.c
53
54 ## end   gnulib module alloca
55
56 ## begin gnulib module alloca-opt
57
58 BUILT_SOURCES += $(ALLOCA_H)
59
60 # We need the following in order to create <alloca.h> when the system
61 # doesn't have one that works with the given compiler.
62 if GL_GENERATE_ALLOCA_H
63 alloca.h: alloca.in.h $(top_builddir)/config.status
64         $(AM_V_GEN)rm -f $@-t $@ && \
65         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
66           cat $(srcdir)/alloca.in.h; \
67         } > $@-t && \
68         mv -f $@-t $@
69 else
70 alloca.h: $(top_builddir)/config.status
71         rm -f $@
72 endif
73 MOSTLYCLEANFILES += alloca.h alloca.h-t
74
75 EXTRA_DIST += alloca.in.h
76
77 ## end   gnulib module alloca-opt
78
79 ## begin gnulib module announce-gen
80
81
82 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
83
84 ## end   gnulib module announce-gen
85
86 ## begin gnulib module argmatch
87
88 libgreputils_a_SOURCES += argmatch.c
89
90 EXTRA_DIST += argmatch.h
91
92 ## end   gnulib module argmatch
93
94 ## begin gnulib module at-internal
95
96
97 EXTRA_DIST += openat-priv.h openat-proc.c
98
99 EXTRA_libgreputils_a_SOURCES += openat-proc.c
100
101 ## end   gnulib module at-internal
102
103 ## begin gnulib module binary-io
104
105 libgreputils_a_SOURCES += binary-io.h binary-io.c
106
107 ## end   gnulib module binary-io
108
109 ## begin gnulib module bitrotate
110
111 libgreputils_a_SOURCES += bitrotate.h bitrotate.c
112
113 ## end   gnulib module bitrotate
114
115 ## begin gnulib module btowc
116
117
118 EXTRA_DIST += btowc.c
119
120 EXTRA_libgreputils_a_SOURCES += btowc.c
121
122 ## end   gnulib module btowc
123
124 ## begin gnulib module c-ctype
125
126 libgreputils_a_SOURCES += c-ctype.h c-ctype.c
127
128 ## end   gnulib module c-ctype
129
130 ## begin gnulib module c-strcase
131
132 libgreputils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
133
134 ## end   gnulib module c-strcase
135
136 ## begin gnulib module c-strcaseeq
137
138
139 EXTRA_DIST += c-strcaseeq.h
140
141 ## end   gnulib module c-strcaseeq
142
143 ## begin gnulib module chdir-long
144
145
146 EXTRA_DIST += chdir-long.c chdir-long.h
147
148 EXTRA_libgreputils_a_SOURCES += chdir-long.c
149
150 ## end   gnulib module chdir-long
151
152 ## begin gnulib module cloexec
153
154 libgreputils_a_SOURCES += cloexec.c
155
156 EXTRA_DIST += cloexec.h
157
158 ## end   gnulib module cloexec
159
160 ## begin gnulib module close
161
162
163 EXTRA_DIST += close.c
164
165 EXTRA_libgreputils_a_SOURCES += close.c
166
167 ## end   gnulib module close
168
169 ## begin gnulib module close-stream
170
171 libgreputils_a_SOURCES += close-stream.c
172
173 EXTRA_DIST += close-stream.h
174
175 ## end   gnulib module close-stream
176
177 ## begin gnulib module closedir
178
179
180 EXTRA_DIST += closedir.c dirent-private.h
181
182 EXTRA_libgreputils_a_SOURCES += closedir.c
183
184 ## end   gnulib module closedir
185
186 ## begin gnulib module closeout
187
188 libgreputils_a_SOURCES += closeout.c
189
190 EXTRA_DIST += closeout.h
191
192 ## end   gnulib module closeout
193
194 ## begin gnulib module configmake
195
196 # Listed in the same order as the GNU makefile conventions, and
197 # provided by autoconf 2.59c+ or 2.70.
198 # The Automake-defined pkg* macros are appended, in the order
199 # listed in the Automake 1.10a+ documentation.
200 configmake.h: Makefile
201         $(AM_V_GEN)rm -f $@-t && \
202         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
203           echo '#define PREFIX "$(prefix)"'; \
204           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
205           echo '#define BINDIR "$(bindir)"'; \
206           echo '#define SBINDIR "$(sbindir)"'; \
207           echo '#define LIBEXECDIR "$(libexecdir)"'; \
208           echo '#define DATAROOTDIR "$(datarootdir)"'; \
209           echo '#define DATADIR "$(datadir)"'; \
210           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
211           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
212           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
213           echo '#define RUNSTATEDIR "$(runstatedir)"'; \
214           echo '#define INCLUDEDIR "$(includedir)"'; \
215           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
216           echo '#define DOCDIR "$(docdir)"'; \
217           echo '#define INFODIR "$(infodir)"'; \
218           echo '#define HTMLDIR "$(htmldir)"'; \
219           echo '#define DVIDIR "$(dvidir)"'; \
220           echo '#define PDFDIR "$(pdfdir)"'; \
221           echo '#define PSDIR "$(psdir)"'; \
222           echo '#define LIBDIR "$(libdir)"'; \
223           echo '#define LISPDIR "$(lispdir)"'; \
224           echo '#define LOCALEDIR "$(localedir)"'; \
225           echo '#define MANDIR "$(mandir)"'; \
226           echo '#define MANEXT "$(manext)"'; \
227           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
228           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
229           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
230           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
231         } | sed '/""/d' > $@-t && \
232         mv -f $@-t $@
233
234 BUILT_SOURCES += configmake.h
235 CLEANFILES += configmake.h configmake.h-t
236
237 ## end   gnulib module configmake
238
239 ## begin gnulib module ctype
240
241 BUILT_SOURCES += ctype.h
242
243 # We need the following in order to create <ctype.h> when the system
244 # doesn't have one that works with the given compiler.
245 ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
246         $(AM_V_GEN)rm -f $@-t $@ && \
247         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
248           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
249               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
250               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
251               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
252               -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
253               -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
254               -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
255               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
256               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
257               < $(srcdir)/ctype.in.h; \
258         } > $@-t && \
259         mv $@-t $@
260 MOSTLYCLEANFILES += ctype.h ctype.h-t
261
262 EXTRA_DIST += ctype.in.h
263
264 ## end   gnulib module ctype
265
266 ## begin gnulib module cycle-check
267
268 libgreputils_a_SOURCES += cycle-check.c
269
270 EXTRA_DIST += cycle-check.h
271
272 ## end   gnulib module cycle-check
273
274 ## begin gnulib module dev-ino
275
276
277 EXTRA_DIST += dev-ino.h
278
279 ## end   gnulib module dev-ino
280
281 ## begin gnulib module dirent
282
283 BUILT_SOURCES += dirent.h
284
285 # We need the following in order to create <dirent.h> when the system
286 # doesn't have one that works with the given compiler.
287 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
288         $(AM_V_GEN)rm -f $@-t $@ && \
289         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
290           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
291               -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
292               -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_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
296               -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
297               -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
298               -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
299               -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
300               -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
301               -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
302               -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
303               -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
304               -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
305               -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
306               -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
307               -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
308               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
309               -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
310               -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
311               -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
312               -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
313               -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
314               -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
315               -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
316               -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
317               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
318               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
319               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
320               < $(srcdir)/dirent.in.h; \
321         } > $@-t && \
322         mv $@-t $@
323 MOSTLYCLEANFILES += dirent.h dirent.h-t
324
325 EXTRA_DIST += dirent.in.h
326
327 ## end   gnulib module dirent
328
329 ## begin gnulib module dirent-safer
330
331 libgreputils_a_SOURCES += opendir-safer.c
332
333 EXTRA_DIST += dirent--.h dirent-safer.h
334
335 ## end   gnulib module dirent-safer
336
337 ## begin gnulib module dirfd
338
339
340 EXTRA_DIST += dirfd.c
341
342 EXTRA_libgreputils_a_SOURCES += dirfd.c
343
344 ## end   gnulib module dirfd
345
346 ## begin gnulib module dirname-lgpl
347
348 libgreputils_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
349
350 EXTRA_DIST += dirname.h
351
352 ## end   gnulib module dirname-lgpl
353
354 ## begin gnulib module do-release-commit-and-tag
355
356
357 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
358
359 ## end   gnulib module do-release-commit-and-tag
360
361 ## begin gnulib module dosname
362
363
364 EXTRA_DIST += dosname.h
365
366 ## end   gnulib module dosname
367
368 ## begin gnulib module dup
369
370
371 EXTRA_DIST += dup.c
372
373 EXTRA_libgreputils_a_SOURCES += dup.c
374
375 ## end   gnulib module dup
376
377 ## begin gnulib module dup2
378
379
380 EXTRA_DIST += dup2.c
381
382 EXTRA_libgreputils_a_SOURCES += dup2.c
383
384 ## end   gnulib module dup2
385
386 ## begin gnulib module errno
387
388 BUILT_SOURCES += $(ERRNO_H)
389
390 # We need the following in order to create <errno.h> when the system
391 # doesn't have one that is POSIX compliant.
392 if GL_GENERATE_ERRNO_H
393 errno.h: errno.in.h $(top_builddir)/config.status
394         $(AM_V_GEN)rm -f $@-t $@ && \
395         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
396           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
397               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
398               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
399               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
400               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
401               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
402               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
403               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
404               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
405               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
406               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
407               < $(srcdir)/errno.in.h; \
408         } > $@-t && \
409         mv $@-t $@
410 else
411 errno.h: $(top_builddir)/config.status
412         rm -f $@
413 endif
414 MOSTLYCLEANFILES += errno.h errno.h-t
415
416 EXTRA_DIST += errno.in.h
417
418 ## end   gnulib module errno
419
420 ## begin gnulib module error
421
422
423 EXTRA_DIST += error.c error.h
424
425 EXTRA_libgreputils_a_SOURCES += error.c
426
427 ## end   gnulib module error
428
429 ## begin gnulib module exclude
430
431 libgreputils_a_SOURCES += exclude.c
432
433 EXTRA_DIST += exclude.h
434
435 ## end   gnulib module exclude
436
437 ## begin gnulib module exitfail
438
439 libgreputils_a_SOURCES += exitfail.c
440
441 EXTRA_DIST += exitfail.h
442
443 ## end   gnulib module exitfail
444
445 ## begin gnulib module fchdir
446
447
448 EXTRA_DIST += fchdir.c
449
450 EXTRA_libgreputils_a_SOURCES += fchdir.c
451
452 ## end   gnulib module fchdir
453
454 ## begin gnulib module fcntl
455
456
457 EXTRA_DIST += fcntl.c
458
459 EXTRA_libgreputils_a_SOURCES += fcntl.c
460
461 ## end   gnulib module fcntl
462
463 ## begin gnulib module fcntl-h
464
465 BUILT_SOURCES += fcntl.h
466
467 # We need the following in order to create <fcntl.h> when the system
468 # doesn't have one that works with the given compiler.
469 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
470         $(AM_V_GEN)rm -f $@-t $@ && \
471         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
472           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
473               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
474               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
475               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
476               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
477               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
478               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
479               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
480               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
481               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
482               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
483               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
484               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
485               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
486               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
487               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
488               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
489               < $(srcdir)/fcntl.in.h; \
490         } > $@-t && \
491         mv $@-t $@
492 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
493
494 EXTRA_DIST += fcntl.in.h
495
496 ## end   gnulib module fcntl-h
497
498 ## begin gnulib module fcntl-safer
499
500 libgreputils_a_SOURCES += creat-safer.c open-safer.c
501
502 EXTRA_DIST += fcntl--.h fcntl-safer.h
503
504 ## end   gnulib module fcntl-safer
505
506 ## begin gnulib module fd-hook
507
508 libgreputils_a_SOURCES += fd-hook.c
509
510 EXTRA_DIST += fd-hook.h
511
512 ## end   gnulib module fd-hook
513
514 ## begin gnulib module fdopendir
515
516
517 EXTRA_DIST += fdopendir.c
518
519 EXTRA_libgreputils_a_SOURCES += fdopendir.c
520
521 ## end   gnulib module fdopendir
522
523 ## begin gnulib module filename
524
525
526 EXTRA_DIST += filename.h
527
528 ## end   gnulib module filename
529
530 ## begin gnulib module filenamecat-lgpl
531
532 libgreputils_a_SOURCES += filenamecat-lgpl.c
533
534 EXTRA_DIST += filenamecat.h
535
536 ## end   gnulib module filenamecat-lgpl
537
538 ## begin gnulib module fnmatch
539
540 BUILT_SOURCES += $(FNMATCH_H)
541
542 # We need the following in order to create <fnmatch.h> when the system
543 # doesn't have one that supports the required API.
544 if GL_GENERATE_FNMATCH_H
545 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
546         $(AM_V_GEN)rm -f $@-t $@ && \
547         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
548           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
549               < $(srcdir)/fnmatch.in.h; \
550         } > $@-t && \
551         mv -f $@-t $@
552 else
553 fnmatch.h: $(top_builddir)/config.status
554         rm -f $@
555 endif
556 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
557
558 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
559
560 EXTRA_libgreputils_a_SOURCES += fnmatch.c fnmatch_loop.c
561
562 ## end   gnulib module fnmatch
563
564 ## begin gnulib module fpending
565
566
567 EXTRA_DIST += fpending.c fpending.h
568
569 EXTRA_libgreputils_a_SOURCES += fpending.c
570
571 ## end   gnulib module fpending
572
573 ## begin gnulib module fstat
574
575
576 EXTRA_DIST += fstat.c
577
578 EXTRA_libgreputils_a_SOURCES += fstat.c
579
580 ## end   gnulib module fstat
581
582 ## begin gnulib module fstatat
583
584
585 EXTRA_DIST += at-func.c fstatat.c
586
587 EXTRA_libgreputils_a_SOURCES += at-func.c fstatat.c
588
589 ## end   gnulib module fstatat
590
591 ## begin gnulib module fts
592
593
594 EXTRA_DIST += fts-cycle.c fts.c fts_.h
595
596 EXTRA_libgreputils_a_SOURCES += fts-cycle.c fts.c
597
598 ## end   gnulib module fts
599
600 ## begin gnulib module gendocs
601
602
603 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
604
605 ## end   gnulib module gendocs
606
607 ## begin gnulib module getcwd-lgpl
608
609
610 EXTRA_DIST += getcwd-lgpl.c
611
612 EXTRA_libgreputils_a_SOURCES += getcwd-lgpl.c
613
614 ## end   gnulib module getcwd-lgpl
615
616 ## begin gnulib module getdtablesize
617
618
619 EXTRA_DIST += getdtablesize.c
620
621 EXTRA_libgreputils_a_SOURCES += getdtablesize.c
622
623 ## end   gnulib module getdtablesize
624
625 ## begin gnulib module getopt-posix
626
627 BUILT_SOURCES += $(GETOPT_H)
628
629 # We need the following in order to create <getopt.h> when the system
630 # doesn't have one that works with the given compiler.
631 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
632         $(AM_V_GEN)rm -f $@-t $@ && \
633         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
634           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
635               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
636               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
637               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
638               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
639               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
640               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
641               < $(srcdir)/getopt.in.h; \
642         } > $@-t && \
643         mv -f $@-t $@
644 MOSTLYCLEANFILES += getopt.h getopt.h-t
645
646 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
647
648 EXTRA_libgreputils_a_SOURCES += getopt.c getopt1.c
649
650 ## end   gnulib module getopt-posix
651
652 ## begin gnulib module getpagesize
653
654
655 EXTRA_DIST += getpagesize.c
656
657 EXTRA_libgreputils_a_SOURCES += getpagesize.c
658
659 ## end   gnulib module getpagesize
660
661 ## begin gnulib module gettext-h
662
663 libgreputils_a_SOURCES += gettext.h
664
665 ## end   gnulib module gettext-h
666
667 ## begin gnulib module gettimeofday
668
669
670 EXTRA_DIST += gettimeofday.c
671
672 EXTRA_libgreputils_a_SOURCES += gettimeofday.c
673
674 ## end   gnulib module gettimeofday
675
676 ## begin gnulib module git-version-gen
677
678
679 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
680
681 ## end   gnulib module git-version-gen
682
683 ## begin gnulib module gitlog-to-changelog
684
685
686 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
687
688 ## end   gnulib module gitlog-to-changelog
689
690 ## begin gnulib module gnu-web-doc-update
691
692
693 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
694
695 ## end   gnulib module gnu-web-doc-update
696
697 ## begin gnulib module gnumakefile
698
699 distclean-local: clean-GNUmakefile
700 clean-GNUmakefile:
701         test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
702
703 EXTRA_DIST += $(top_srcdir)/GNUmakefile
704
705 ## end   gnulib module gnumakefile
706
707 ## begin gnulib module gnupload
708
709
710 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
711
712 ## end   gnulib module gnupload
713
714 ## begin gnulib module gperf
715
716 GPERF = gperf
717
718 ## end   gnulib module gperf
719
720 ## begin gnulib module hash
721
722 libgreputils_a_SOURCES += hash.c
723
724 EXTRA_DIST += hash.h
725
726 ## end   gnulib module hash
727
728 ## begin gnulib module havelib
729
730
731 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
732
733 ## end   gnulib module havelib
734
735 ## begin gnulib module i-ring
736
737 libgreputils_a_SOURCES += i-ring.c
738
739 EXTRA_DIST += i-ring.h
740
741 ## end   gnulib module i-ring
742
743 ## begin gnulib module iconv-h
744
745 BUILT_SOURCES += $(ICONV_H)
746
747 # We need the following in order to create <iconv.h> when the system
748 # doesn't have one that works with the given compiler.
749 if GL_GENERATE_ICONV_H
750 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
751         $(AM_V_GEN)rm -f $@-t $@ && \
752         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
753           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
754               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
755               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
756               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
757               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
758               -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
759               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
760               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
761               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
762               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
763               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
764               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
765               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
766               < $(srcdir)/iconv.in.h; \
767         } > $@-t && \
768         mv $@-t $@
769 else
770 iconv.h: $(top_builddir)/config.status
771         rm -f $@
772 endif
773 MOSTLYCLEANFILES += iconv.h iconv.h-t
774
775 EXTRA_DIST += iconv.in.h
776
777 ## end   gnulib module iconv-h
778
779 ## begin gnulib module iconv_open
780
781 iconv_open-aix.h: iconv_open-aix.gperf
782         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
783         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
784 iconv_open-hpux.h: iconv_open-hpux.gperf
785         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
786         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
787 iconv_open-irix.h: iconv_open-irix.gperf
788         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
789         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
790 iconv_open-osf.h: iconv_open-osf.gperf
791         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
792         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
793 iconv_open-solaris.h: iconv_open-solaris.gperf
794         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
795         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
796 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
797 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
798 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
799 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
800
801 EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
802
803 EXTRA_libgreputils_a_SOURCES += iconv.c iconv_close.c iconv_open.c
804
805 ## end   gnulib module iconv_open
806
807 ## begin gnulib module ignore-value
808
809
810 EXTRA_DIST += ignore-value.h
811
812 ## end   gnulib module ignore-value
813
814 ## begin gnulib module intprops
815
816
817 EXTRA_DIST += intprops.h
818
819 ## end   gnulib module intprops
820
821 ## begin gnulib module inttypes-incomplete
822
823 BUILT_SOURCES += inttypes.h
824
825 # We need the following in order to create <inttypes.h> when the system
826 # doesn't have one that works with the given compiler.
827 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
828         $(AM_V_GEN)rm -f $@-t $@ && \
829         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
830           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
831               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
832               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
833               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
834               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
835               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
836               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
837               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
838               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
839               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
840               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
841               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
842               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
843               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
844               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
845               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
846               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
847               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
848               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
849               -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
850               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
851               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
852               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
853               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
854               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
855               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
856               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
857               < $(srcdir)/inttypes.in.h; \
858         } > $@-t && \
859         mv $@-t $@
860 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
861
862 EXTRA_DIST += inttypes.in.h
863
864 ## end   gnulib module inttypes-incomplete
865
866 ## begin gnulib module isatty
867
868
869 EXTRA_DIST += isatty.c
870
871 EXTRA_libgreputils_a_SOURCES += isatty.c
872
873 ## end   gnulib module isatty
874
875 ## begin gnulib module isblank
876
877
878 EXTRA_DIST += isblank.c
879
880 EXTRA_libgreputils_a_SOURCES += isblank.c
881
882 ## end   gnulib module isblank
883
884 ## begin gnulib module iswblank
885
886
887 EXTRA_DIST += iswblank.c
888
889 EXTRA_libgreputils_a_SOURCES += iswblank.c
890
891 ## end   gnulib module iswblank
892
893 ## begin gnulib module iswctype
894
895
896 EXTRA_DIST += iswctype-impl.h iswctype.c
897
898 EXTRA_libgreputils_a_SOURCES += iswctype.c
899
900 ## end   gnulib module iswctype
901
902 ## begin gnulib module langinfo
903
904 BUILT_SOURCES += langinfo.h
905
906 # We need the following in order to create an empty placeholder for
907 # <langinfo.h> when the system doesn't have one.
908 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
909         $(AM_V_GEN)rm -f $@-t $@ && \
910         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
911           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
912               -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
913               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
914               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
915               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
916               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
917               -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
918               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
919               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
920               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
921               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
922               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
923               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
924               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
925               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
926               < $(srcdir)/langinfo.in.h; \
927         } > $@-t && \
928         mv $@-t $@
929 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
930
931 EXTRA_DIST += langinfo.in.h
932
933 ## end   gnulib module langinfo
934
935 ## begin gnulib module localcharset
936
937 libgreputils_a_SOURCES += localcharset.h localcharset.c
938
939 # We need the following in order to install a simple file in $(libdir)
940 # which is shared with other installed packages. We use a list of referencing
941 # packages so that "make uninstall" will remove the file if and only if it
942 # is not used by another installed package.
943 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
944 # avoid installing it.
945
946 all-local: charset.alias ref-add.sed ref-del.sed
947
948 charset_alias = $(DESTDIR)$(libdir)/charset.alias
949 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
950 install-exec-local: install-exec-localcharset
951 install-exec-localcharset: all-local
952         if test $(GLIBC21) = no; then \
953           case '$(host_os)' in \
954             darwin[56]*) \
955               need_charset_alias=true ;; \
956             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
957               need_charset_alias=false ;; \
958             *) \
959               need_charset_alias=true ;; \
960           esac ; \
961         else \
962           need_charset_alias=false ; \
963         fi ; \
964         if $$need_charset_alias; then \
965           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
966         fi ; \
967         if test -f $(charset_alias); then \
968           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
969           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
970           rm -f $(charset_tmp) ; \
971         else \
972           if $$need_charset_alias; then \
973             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
974             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
975             rm -f $(charset_tmp) ; \
976           fi ; \
977         fi
978
979 uninstall-local: uninstall-localcharset
980 uninstall-localcharset: all-local
981         if test -f $(charset_alias); then \
982           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
983           if grep '^# Packages using this file: $$' $(charset_tmp) \
984               > /dev/null; then \
985             rm -f $(charset_alias); \
986           else \
987             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
988           fi; \
989           rm -f $(charset_tmp); \
990         fi
991
992 charset.alias: config.charset
993         $(AM_V_GEN)rm -f t-$@ $@ && \
994         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
995         mv t-$@ $@
996
997 SUFFIXES += .sed .sin
998 .sin.sed:
999         $(AM_V_GEN)rm -f t-$@ $@ && \
1000         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
1001         mv t-$@ $@
1002
1003 CLEANFILES += charset.alias ref-add.sed ref-del.sed
1004
1005 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
1006
1007 ## end   gnulib module localcharset
1008
1009 ## begin gnulib module locale
1010
1011 BUILT_SOURCES += locale.h
1012
1013 # We need the following in order to create <locale.h> when the system
1014 # doesn't have one that provides all definitions.
1015 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1016         $(AM_V_GEN)rm -f $@-t $@ && \
1017         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1018           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1019               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1020               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1021               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1022               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1023               -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
1024               -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
1025               -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
1026               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
1027               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1028               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
1029               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
1030               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1031               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
1032               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1033               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1034               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1035               < $(srcdir)/locale.in.h; \
1036         } > $@-t && \
1037         mv $@-t $@
1038 MOSTLYCLEANFILES += locale.h locale.h-t
1039
1040 EXTRA_DIST += locale.in.h
1041
1042 ## end   gnulib module locale
1043
1044 ## begin gnulib module localeconv
1045
1046
1047 EXTRA_DIST += localeconv.c
1048
1049 EXTRA_libgreputils_a_SOURCES += localeconv.c
1050
1051 ## end   gnulib module localeconv
1052
1053 ## begin gnulib module lock
1054
1055 libgreputils_a_SOURCES += glthread/lock.h glthread/lock.c
1056
1057 ## end   gnulib module lock
1058
1059 ## begin gnulib module lseek
1060
1061
1062 EXTRA_DIST += lseek.c
1063
1064 EXTRA_libgreputils_a_SOURCES += lseek.c
1065
1066 ## end   gnulib module lseek
1067
1068 ## begin gnulib module lstat
1069
1070
1071 EXTRA_DIST += lstat.c
1072
1073 EXTRA_libgreputils_a_SOURCES += lstat.c
1074
1075 ## end   gnulib module lstat
1076
1077 ## begin gnulib module maintainer-makefile
1078
1079 EXTRA_DIST += $(top_srcdir)/maint.mk
1080
1081 ## end   gnulib module maintainer-makefile
1082
1083 ## begin gnulib module malloc-gnu
1084
1085
1086 EXTRA_DIST += malloc.c
1087
1088 EXTRA_libgreputils_a_SOURCES += malloc.c
1089
1090 ## end   gnulib module malloc-gnu
1091
1092 ## begin gnulib module malloc-posix
1093
1094
1095 EXTRA_DIST += malloc.c
1096
1097 EXTRA_libgreputils_a_SOURCES += malloc.c
1098
1099 ## end   gnulib module malloc-posix
1100
1101 ## begin gnulib module malloca
1102
1103 libgreputils_a_SOURCES += malloca.c
1104
1105 EXTRA_DIST += malloca.h malloca.valgrind
1106
1107 ## end   gnulib module malloca
1108
1109 ## begin gnulib module mbchar
1110
1111 libgreputils_a_SOURCES += mbchar.c
1112
1113 EXTRA_DIST += mbchar.h
1114
1115 ## end   gnulib module mbchar
1116
1117 ## begin gnulib module mbiter
1118
1119 libgreputils_a_SOURCES += mbiter.h mbiter.c
1120
1121 ## end   gnulib module mbiter
1122
1123 ## begin gnulib module mbrlen
1124
1125
1126 EXTRA_DIST += mbrlen.c
1127
1128 EXTRA_libgreputils_a_SOURCES += mbrlen.c
1129
1130 ## end   gnulib module mbrlen
1131
1132 ## begin gnulib module mbrtowc
1133
1134
1135 EXTRA_DIST += mbrtowc.c
1136
1137 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
1138
1139 ## end   gnulib module mbrtowc
1140
1141 ## begin gnulib module mbscasecmp
1142
1143 libgreputils_a_SOURCES += mbscasecmp.c
1144
1145 ## end   gnulib module mbscasecmp
1146
1147 ## begin gnulib module mbsinit
1148
1149
1150 EXTRA_DIST += mbsinit.c
1151
1152 EXTRA_libgreputils_a_SOURCES += mbsinit.c
1153
1154 ## end   gnulib module mbsinit
1155
1156 ## begin gnulib module mbslen
1157
1158 libgreputils_a_SOURCES += mbslen.c
1159
1160 ## end   gnulib module mbslen
1161
1162 ## begin gnulib module mbsrtowcs
1163
1164
1165 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1166
1167 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1168
1169 ## end   gnulib module mbsrtowcs
1170
1171 ## begin gnulib module mbsstr
1172
1173 libgreputils_a_SOURCES += mbsstr.c
1174
1175 EXTRA_DIST += str-kmp.h
1176
1177 ## end   gnulib module mbsstr
1178
1179 ## begin gnulib module mbtowc
1180
1181
1182 EXTRA_DIST += mbtowc-impl.h mbtowc.c
1183
1184 EXTRA_libgreputils_a_SOURCES += mbtowc.c
1185
1186 ## end   gnulib module mbtowc
1187
1188 ## begin gnulib module mbuiter
1189
1190 libgreputils_a_SOURCES += mbuiter.h mbuiter.c
1191
1192 ## end   gnulib module mbuiter
1193
1194 ## begin gnulib module memchr
1195
1196
1197 EXTRA_DIST += memchr.c memchr.valgrind
1198
1199 EXTRA_libgreputils_a_SOURCES += memchr.c
1200
1201 ## end   gnulib module memchr
1202
1203 ## begin gnulib module memchr2
1204
1205 libgreputils_a_SOURCES += memchr2.h memchr2.c
1206
1207 EXTRA_DIST += memchr2.valgrind
1208
1209 ## end   gnulib module memchr2
1210
1211 ## begin gnulib module mempcpy
1212
1213
1214 EXTRA_DIST += mempcpy.c
1215
1216 EXTRA_libgreputils_a_SOURCES += mempcpy.c
1217
1218 ## end   gnulib module mempcpy
1219
1220 ## begin gnulib module memrchr
1221
1222
1223 EXTRA_DIST += memrchr.c
1224
1225 EXTRA_libgreputils_a_SOURCES += memrchr.c
1226
1227 ## end   gnulib module memrchr
1228
1229 ## begin gnulib module minmax
1230
1231 libgreputils_a_SOURCES += minmax.h
1232
1233 ## end   gnulib module minmax
1234
1235 ## begin gnulib module msvc-inval
1236
1237
1238 EXTRA_DIST += msvc-inval.c msvc-inval.h
1239
1240 EXTRA_libgreputils_a_SOURCES += msvc-inval.c
1241
1242 ## end   gnulib module msvc-inval
1243
1244 ## begin gnulib module msvc-nothrow
1245
1246
1247 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1248
1249 EXTRA_libgreputils_a_SOURCES += msvc-nothrow.c
1250
1251 ## end   gnulib module msvc-nothrow
1252
1253 ## begin gnulib module nl_langinfo
1254
1255
1256 EXTRA_DIST += nl_langinfo.c
1257
1258 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
1259
1260 ## end   gnulib module nl_langinfo
1261
1262 ## begin gnulib module obstack
1263
1264
1265 EXTRA_DIST += obstack.c obstack.h
1266
1267 EXTRA_libgreputils_a_SOURCES += obstack.c
1268
1269 ## end   gnulib module obstack
1270
1271 ## begin gnulib module open
1272
1273
1274 EXTRA_DIST += open.c
1275
1276 EXTRA_libgreputils_a_SOURCES += open.c
1277
1278 ## end   gnulib module open
1279
1280 ## begin gnulib module openat
1281
1282
1283 EXTRA_DIST += openat.c
1284
1285 EXTRA_libgreputils_a_SOURCES += openat.c
1286
1287 ## end   gnulib module openat
1288
1289 ## begin gnulib module openat-die
1290
1291 libgreputils_a_SOURCES += openat-die.c
1292
1293 ## end   gnulib module openat-die
1294
1295 ## begin gnulib module openat-h
1296
1297
1298 EXTRA_DIST += openat.h
1299
1300 ## end   gnulib module openat-h
1301
1302 ## begin gnulib module openat-safer
1303
1304 libgreputils_a_SOURCES += openat-safer.c
1305
1306 EXTRA_DIST += fcntl--.h fcntl-safer.h
1307
1308 ## end   gnulib module openat-safer
1309
1310 ## begin gnulib module opendir
1311
1312
1313 EXTRA_DIST += dirent-private.h opendir.c
1314
1315 EXTRA_libgreputils_a_SOURCES += opendir.c
1316
1317 ## end   gnulib module opendir
1318
1319 ## begin gnulib module pathmax
1320
1321
1322 EXTRA_DIST += pathmax.h
1323
1324 ## end   gnulib module pathmax
1325
1326 ## begin gnulib module progname
1327
1328 libgreputils_a_SOURCES += progname.h progname.c
1329
1330 ## end   gnulib module progname
1331
1332 ## begin gnulib module propername
1333
1334 libgreputils_a_SOURCES += propername.h propername.c
1335
1336 ## end   gnulib module propername
1337
1338 ## begin gnulib module quote
1339
1340
1341 EXTRA_DIST += quote.h
1342
1343 ## end   gnulib module quote
1344
1345 ## begin gnulib module quotearg
1346
1347 libgreputils_a_SOURCES += quotearg.c
1348
1349 EXTRA_DIST += quote.h quotearg.h
1350
1351 ## end   gnulib module quotearg
1352
1353 ## begin gnulib module read
1354
1355
1356 EXTRA_DIST += read.c
1357
1358 EXTRA_libgreputils_a_SOURCES += read.c
1359
1360 ## end   gnulib module read
1361
1362 ## begin gnulib module readdir
1363
1364
1365 EXTRA_DIST += dirent-private.h readdir.c
1366
1367 EXTRA_libgreputils_a_SOURCES += readdir.c
1368
1369 ## end   gnulib module readdir
1370
1371 ## begin gnulib module readme-release
1372
1373
1374 EXTRA_DIST += $(top_srcdir)/README-release
1375
1376 ## end   gnulib module readme-release
1377
1378 ## begin gnulib module realloc-gnu
1379
1380
1381 EXTRA_DIST += realloc.c
1382
1383 EXTRA_libgreputils_a_SOURCES += realloc.c
1384
1385 ## end   gnulib module realloc-gnu
1386
1387 ## begin gnulib module realloc-posix
1388
1389
1390 EXTRA_DIST += realloc.c
1391
1392 EXTRA_libgreputils_a_SOURCES += realloc.c
1393
1394 ## end   gnulib module realloc-posix
1395
1396 ## begin gnulib module regex
1397
1398
1399 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1400
1401 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1402
1403 ## end   gnulib module regex
1404
1405 ## begin gnulib module safe-read
1406
1407 libgreputils_a_SOURCES += safe-read.c
1408
1409 EXTRA_DIST += safe-read.h
1410
1411 ## end   gnulib module safe-read
1412
1413 ## begin gnulib module same-inode
1414
1415
1416 EXTRA_DIST += same-inode.h
1417
1418 ## end   gnulib module same-inode
1419
1420 ## begin gnulib module save-cwd
1421
1422 libgreputils_a_SOURCES += save-cwd.c
1423
1424 EXTRA_DIST += save-cwd.h
1425
1426 ## end   gnulib module save-cwd
1427
1428 ## begin gnulib module snippet/_Noreturn
1429
1430 # Because this Makefile snippet defines a variable used by other
1431 # gnulib Makefile snippets, it must be present in all Makefile.am that
1432 # need it. This is ensured by the applicability 'all' defined above.
1433
1434 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1435
1436 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1437
1438 ## end   gnulib module snippet/_Noreturn
1439
1440 ## begin gnulib module snippet/arg-nonnull
1441
1442 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1443 # statements but through direct file reference. Therefore this snippet must be
1444 # present in all Makefile.am that need it. This is ensured by the applicability
1445 # 'all' defined above.
1446
1447 BUILT_SOURCES += arg-nonnull.h
1448 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1449 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1450 # off.
1451 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1452         $(AM_V_GEN)rm -f $@-t $@ && \
1453         sed -n -e '/GL_ARG_NONNULL/,$$p' \
1454           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1455           > $@-t && \
1456         mv $@-t $@
1457 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1458
1459 ARG_NONNULL_H=arg-nonnull.h
1460
1461 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1462
1463 ## end   gnulib module snippet/arg-nonnull
1464
1465 ## begin gnulib module snippet/c++defs
1466
1467 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1468 # statements but through direct file reference. Therefore this snippet must be
1469 # present in all Makefile.am that need it. This is ensured by the applicability
1470 # 'all' defined above.
1471
1472 BUILT_SOURCES += c++defs.h
1473 # The c++defs.h that gets inserted into generated .h files is the same as
1474 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1475 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1476         $(AM_V_GEN)rm -f $@-t $@ && \
1477         sed -n -e '/_GL_CXXDEFS/,$$p' \
1478           < $(top_srcdir)/build-aux/snippet/c++defs.h \
1479           > $@-t && \
1480         mv $@-t $@
1481 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1482
1483 CXXDEFS_H=c++defs.h
1484
1485 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1486
1487 ## end   gnulib module snippet/c++defs
1488
1489 ## begin gnulib module snippet/unused-parameter
1490
1491 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1492 # statements but through direct file reference. Therefore this snippet must be
1493 # present in all Makefile.am that need it. This is ensured by the applicability
1494 # 'all' defined above.
1495
1496 BUILT_SOURCES += unused-parameter.h
1497 # The unused-parameter.h that gets inserted into generated .h files is the same
1498 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1499 # header cut off.
1500 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1501         $(AM_V_GEN)rm -f $@-t $@ && \
1502         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1503           < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1504           > $@-t && \
1505         mv $@-t $@
1506 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1507
1508 UNUSED_PARAMETER_H=unused-parameter.h
1509
1510 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1511
1512 ## end   gnulib module snippet/unused-parameter
1513
1514 ## begin gnulib module snippet/warn-on-use
1515
1516 BUILT_SOURCES += warn-on-use.h
1517 # The warn-on-use.h that gets inserted into generated .h files is the same as
1518 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1519 # off.
1520 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1521         $(AM_V_GEN)rm -f $@-t $@ && \
1522         sed -n -e '/^.ifndef/,$$p' \
1523           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1524           > $@-t && \
1525         mv $@-t $@
1526 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1527
1528 WARN_ON_USE_H=warn-on-use.h
1529
1530 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1531
1532 ## end   gnulib module snippet/warn-on-use
1533
1534 ## begin gnulib module stat
1535
1536
1537 EXTRA_DIST += stat.c
1538
1539 EXTRA_libgreputils_a_SOURCES += stat.c
1540
1541 ## end   gnulib module stat
1542
1543 ## begin gnulib module stdarg
1544
1545 BUILT_SOURCES += $(STDARG_H)
1546
1547 # We need the following in order to create <stdarg.h> when the system
1548 # doesn't have one that works with the given compiler.
1549 if GL_GENERATE_STDARG_H
1550 stdarg.h: stdarg.in.h $(top_builddir)/config.status
1551         $(AM_V_GEN)rm -f $@-t $@ && \
1552         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1553           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1554               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1555               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1556               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1557               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1558               < $(srcdir)/stdarg.in.h; \
1559         } > $@-t && \
1560         mv $@-t $@
1561 else
1562 stdarg.h: $(top_builddir)/config.status
1563         rm -f $@
1564 endif
1565 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1566
1567 EXTRA_DIST += stdarg.in.h
1568
1569 ## end   gnulib module stdarg
1570
1571 ## begin gnulib module stdbool
1572
1573 BUILT_SOURCES += $(STDBOOL_H)
1574
1575 # We need the following in order to create <stdbool.h> when the system
1576 # doesn't have one that works.
1577 if GL_GENERATE_STDBOOL_H
1578 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1579         $(AM_V_GEN)rm -f $@-t $@ && \
1580         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1581           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1582         } > $@-t && \
1583         mv $@-t $@
1584 else
1585 stdbool.h: $(top_builddir)/config.status
1586         rm -f $@
1587 endif
1588 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1589
1590 EXTRA_DIST += stdbool.in.h
1591
1592 ## end   gnulib module stdbool
1593
1594 ## begin gnulib module stddef
1595
1596 BUILT_SOURCES += $(STDDEF_H)
1597
1598 # We need the following in order to create <stddef.h> when the system
1599 # doesn't have one that works with the given compiler.
1600 if GL_GENERATE_STDDEF_H
1601 stddef.h: stddef.in.h $(top_builddir)/config.status
1602         $(AM_V_GEN)rm -f $@-t $@ && \
1603         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1604           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1605               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1606               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1607               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1608               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1609               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1610               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1611               < $(srcdir)/stddef.in.h; \
1612         } > $@-t && \
1613         mv $@-t $@
1614 else
1615 stddef.h: $(top_builddir)/config.status
1616         rm -f $@
1617 endif
1618 MOSTLYCLEANFILES += stddef.h stddef.h-t
1619
1620 EXTRA_DIST += stddef.in.h
1621
1622 ## end   gnulib module stddef
1623
1624 ## begin gnulib module stdint
1625
1626 BUILT_SOURCES += $(STDINT_H)
1627
1628 # We need the following in order to create <stdint.h> when the system
1629 # doesn't have one that works with the given compiler.
1630 if GL_GENERATE_STDINT_H
1631 stdint.h: stdint.in.h $(top_builddir)/config.status
1632         $(AM_V_GEN)rm -f $@-t $@ && \
1633         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1634           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1635               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1636               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1637               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1638               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1639               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1640               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1641               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1642               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1643               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1644               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1645               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1646               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1647               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1648               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1649               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1650               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1651               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1652               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1653               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1654               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1655               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1656               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1657               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1658               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1659               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1660               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1661               < $(srcdir)/stdint.in.h; \
1662         } > $@-t && \
1663         mv $@-t $@
1664 else
1665 stdint.h: $(top_builddir)/config.status
1666         rm -f $@
1667 endif
1668 MOSTLYCLEANFILES += stdint.h stdint.h-t
1669
1670 EXTRA_DIST += stdint.in.h
1671
1672 ## end   gnulib module stdint
1673
1674 ## begin gnulib module stdio
1675
1676 BUILT_SOURCES += stdio.h
1677
1678 # We need the following in order to create <stdio.h> when the system
1679 # doesn't have one that works with the given compiler.
1680 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1681         $(AM_V_GEN)rm -f $@-t $@ && \
1682         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1683           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1684               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1685               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1686               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1687               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1688               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1689               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1690               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1691               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1692               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1693               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1694               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1695               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1696               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1697               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1698               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1699               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1700               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1701               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1702               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1703               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1704               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1705               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1706               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1707               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1708               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1709               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1710               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1711               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1712               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1713               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1714               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1715               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1716               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1717               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1718               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1719               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1720               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1721               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1722               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1723               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1724               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1725               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1726               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1727               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1728               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1729               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1730               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1731               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1732               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1733               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1734               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1735               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1736               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1737               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1738               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1739               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1740               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1741               < $(srcdir)/stdio.in.h | \
1742           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1743               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1744               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1745               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1746               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1747               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1748               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1749               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1750               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1751               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1752               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1753               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1754               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1755               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1756               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1757               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1758               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1759               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1760               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1761               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1762               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1763               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1764               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1765               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1766               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1767               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1768               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1769               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1770               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1771               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1772               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1773               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1774               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1775               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1776               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1777               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1778               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1779               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1780               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1781               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1782               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1783               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1784               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1785               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1786               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1787               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1788               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1789               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1790               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1791               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1792               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1793               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1794         } > $@-t && \
1795         mv $@-t $@
1796 MOSTLYCLEANFILES += stdio.h stdio.h-t
1797
1798 EXTRA_DIST += stdio.in.h
1799
1800 ## end   gnulib module stdio
1801
1802 ## begin gnulib module stdlib
1803
1804 BUILT_SOURCES += stdlib.h
1805
1806 # We need the following in order to create <stdlib.h> when the system
1807 # doesn't have one that works with the given compiler.
1808 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1809   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1810         $(AM_V_GEN)rm -f $@-t $@ && \
1811         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1812           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1813               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1814               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1815               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1816               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1817               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1818               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1819               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1820               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1821               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1822               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1823               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1824               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1825               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1826               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1827               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1828               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1829               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1830               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1831               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1832               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1833               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1834               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1835               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1836               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1837               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1838               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1839               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1840               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1841               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1842               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1843               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1844               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1845               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1846               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1847               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1848               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1849               < $(srcdir)/stdlib.in.h | \
1850           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1851               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1852               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1853               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1854               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1855               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1856               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1857               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1858               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1859               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1860               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1861               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1862               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1863               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1864               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1865               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1866               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1867               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1868               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1869               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1870               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1871               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1872               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1873               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1874               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1875               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1876               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1877               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1878               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1879               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1880               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1881               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1882               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1883               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1884               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1885               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1886               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1887               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1888               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1889               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1890               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1891               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1892               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1893               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1894               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1895               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1896               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1897         } > $@-t && \
1898         mv $@-t $@
1899 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1900
1901 EXTRA_DIST += stdlib.in.h
1902
1903 ## end   gnulib module stdlib
1904
1905 ## begin gnulib module stpcpy
1906
1907
1908 EXTRA_DIST += stpcpy.c
1909
1910 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1911
1912 ## end   gnulib module stpcpy
1913
1914 ## begin gnulib module strdup-posix
1915
1916
1917 EXTRA_DIST += strdup.c
1918
1919 EXTRA_libgreputils_a_SOURCES += strdup.c
1920
1921 ## end   gnulib module strdup-posix
1922
1923 ## begin gnulib module streq
1924
1925
1926 EXTRA_DIST += streq.h
1927
1928 ## end   gnulib module streq
1929
1930 ## begin gnulib module strerror
1931
1932
1933 EXTRA_DIST += strerror.c
1934
1935 EXTRA_libgreputils_a_SOURCES += strerror.c
1936
1937 ## end   gnulib module strerror
1938
1939 ## begin gnulib module strerror-override
1940
1941
1942 EXTRA_DIST += strerror-override.c strerror-override.h
1943
1944 EXTRA_libgreputils_a_SOURCES += strerror-override.c
1945
1946 ## end   gnulib module strerror-override
1947
1948 ## begin gnulib module striconv
1949
1950 libgreputils_a_SOURCES += striconv.h striconv.c
1951 if GL_COND_LIBTOOL
1952 endif
1953
1954 ## end   gnulib module striconv
1955
1956 ## begin gnulib module string
1957
1958 BUILT_SOURCES += string.h
1959
1960 # We need the following in order to create <string.h> when the system
1961 # doesn't have one that works with the given compiler.
1962 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1963         $(AM_V_GEN)rm -f $@-t $@ && \
1964         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1965           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1966               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1967               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1968               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1969               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1970               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1971               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1972               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1973               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1974               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1975               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1976               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1977               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1978               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1979               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1980               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1981               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1982               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1983               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1984               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1985               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1986               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1987               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1988               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1989               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1990               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1991               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1992               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1993               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1994               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1995               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1996               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1997               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1998               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1999               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
2000               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
2001               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
2002               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
2003               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
2004               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
2005               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
2006               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
2007               < $(srcdir)/string.in.h | \
2008           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
2009               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2010               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
2011               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
2012               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2013               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2014               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
2015               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
2016               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2017               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2018               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2019               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
2020               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2021               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2022               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2023               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2024               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2025               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
2026               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
2027               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
2028               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
2029               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
2030               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
2031               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
2032               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
2033               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
2034               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
2035               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
2036               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
2037               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
2038               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
2039               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
2040               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
2041               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
2042               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
2043               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2044               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2045               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2046               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2047               < $(srcdir)/string.in.h; \
2048         } > $@-t && \
2049         mv $@-t $@
2050 MOSTLYCLEANFILES += string.h string.h-t
2051
2052 EXTRA_DIST += string.in.h
2053
2054 ## end   gnulib module string
2055
2056 ## begin gnulib module strnlen
2057
2058
2059 EXTRA_DIST += strnlen.c
2060
2061 EXTRA_libgreputils_a_SOURCES += strnlen.c
2062
2063 ## end   gnulib module strnlen
2064
2065 ## begin gnulib module strnlen1
2066
2067 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
2068
2069 ## end   gnulib module strnlen1
2070
2071 ## begin gnulib module strtoimax
2072
2073
2074 EXTRA_DIST += strtoimax.c
2075
2076 EXTRA_libgreputils_a_SOURCES += strtoimax.c
2077
2078 ## end   gnulib module strtoimax
2079
2080 ## begin gnulib module strtoll
2081
2082
2083 EXTRA_DIST += strtol.c strtoll.c
2084
2085 EXTRA_libgreputils_a_SOURCES += strtol.c strtoll.c
2086
2087 ## end   gnulib module strtoll
2088
2089 ## begin gnulib module strtoull
2090
2091
2092 EXTRA_DIST += strtol.c strtoul.c strtoull.c
2093
2094 EXTRA_libgreputils_a_SOURCES += strtol.c strtoul.c strtoull.c
2095
2096 ## end   gnulib module strtoull
2097
2098 ## begin gnulib module strtoumax
2099
2100
2101 EXTRA_DIST += strtoimax.c strtoumax.c
2102
2103 EXTRA_libgreputils_a_SOURCES += strtoimax.c strtoumax.c
2104
2105 ## end   gnulib module strtoumax
2106
2107 ## begin gnulib module sys_stat
2108
2109 BUILT_SOURCES += sys/stat.h
2110
2111 # We need the following in order to create <sys/stat.h> when the system
2112 # has one that is incomplete.
2113 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2114         $(AM_V_at)$(MKDIR_P) sys
2115         $(AM_V_GEN)rm -f $@-t $@ && \
2116         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2117           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2118               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2119               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2120               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2121               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2122               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2123               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
2124               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
2125               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2126               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2127               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2128               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2129               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2130               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2131               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2132               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2133               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2134               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2135               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2136               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2137               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2138               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2139               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2140               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2141               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2142               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2143               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2144               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2145               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2146               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2147               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2148               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2149               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2150               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2151               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2152               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2153               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2154               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2155               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2156               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2157               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2158               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2159               < $(srcdir)/sys_stat.in.h; \
2160         } > $@-t && \
2161         mv $@-t $@
2162 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2163 MOSTLYCLEANDIRS += sys
2164
2165 EXTRA_DIST += sys_stat.in.h
2166
2167 ## end   gnulib module sys_stat
2168
2169 ## begin gnulib module sys_time
2170
2171 BUILT_SOURCES += sys/time.h
2172
2173 # We need the following in order to create <sys/time.h> when the system
2174 # doesn't have one that works with the given compiler.
2175 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2176         $(AM_V_at)$(MKDIR_P) sys
2177         $(AM_V_GEN)rm -f $@-t $@ && \
2178         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2179           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2180               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
2181               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2182               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2183               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2184               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2185               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2186               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2187               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2188               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2189               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2190               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
2191               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2192               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2193               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2194               < $(srcdir)/sys_time.in.h; \
2195         } > $@-t && \
2196         mv $@-t $@
2197 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2198
2199 EXTRA_DIST += sys_time.in.h
2200
2201 ## end   gnulib module sys_time
2202
2203 ## begin gnulib module sys_types
2204
2205 BUILT_SOURCES += sys/types.h
2206
2207 # We need the following in order to create <sys/types.h> when the system
2208 # doesn't have one that works with the given compiler.
2209 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2210         $(AM_V_at)$(MKDIR_P) sys
2211         $(AM_V_GEN)rm -f $@-t $@ && \
2212         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2213           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2214               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2215               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2216               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2217               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2218               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2219               < $(srcdir)/sys_types.in.h; \
2220         } > $@-t && \
2221         mv $@-t $@
2222 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2223
2224 EXTRA_DIST += sys_types.in.h
2225
2226 ## end   gnulib module sys_types
2227
2228 ## begin gnulib module threadlib
2229
2230 libgreputils_a_SOURCES += glthread/threadlib.c
2231
2232 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
2233
2234 ## end   gnulib module threadlib
2235
2236 ## begin gnulib module time
2237
2238 BUILT_SOURCES += time.h
2239
2240 # We need the following in order to create <time.h> when the system
2241 # doesn't have one that works with the given compiler.
2242 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2243         $(AM_V_GEN)rm -f $@-t $@ && \
2244         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2245           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2246               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2247               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2248               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2249               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2250               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2251               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2252               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2253               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2254               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2255               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2256               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2257               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2258               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2259               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2260               -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2261               -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2262               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2263               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2264               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2265               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2266               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2267               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2268               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2269               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2270               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2271               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2272               < $(srcdir)/time.in.h; \
2273         } > $@-t && \
2274         mv $@-t $@
2275 MOSTLYCLEANFILES += time.h time.h-t
2276
2277 EXTRA_DIST += time.in.h
2278
2279 ## end   gnulib module time
2280
2281 ## begin gnulib module trim
2282
2283 libgreputils_a_SOURCES += trim.c
2284
2285 EXTRA_DIST += trim.h
2286
2287 ## end   gnulib module trim
2288
2289 ## begin gnulib module unistd
2290
2291 BUILT_SOURCES += unistd.h
2292 libgreputils_a_SOURCES += unistd.c
2293
2294 # We need the following in order to create an empty placeholder for
2295 # <unistd.h> when the system doesn't have one.
2296 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2297         $(AM_V_GEN)rm -f $@-t $@ && \
2298         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2299           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2300               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2301               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2302               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2303               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2304               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2305               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2306               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2307               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2308               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2309               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2310               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2311               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2312               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2313               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2314               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2315               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2316               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2317               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2318               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2319               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2320               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2321               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2322               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2323               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2324               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2325               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2326               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2327               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2328               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2329               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2330               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2331               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2332               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2333               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2334               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2335               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2336               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2337               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2338               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2339               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2340               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2341               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2342               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2343               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2344               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2345               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2346               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2347               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2348               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2349               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2350               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2351               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2352               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2353               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2354               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2355               < $(srcdir)/unistd.in.h | \
2356           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2357               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2358               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2359               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2360               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2361               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2362               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2363               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2364               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2365               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2366               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2367               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2368               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2369               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2370               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2371               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2372               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2373               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2374               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2375               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2376               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2377               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2378               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2379               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2380               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2381               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2382               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2383               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2384               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2385               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2386               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2387               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2388               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2389               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2390               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2391               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2392               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2393               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2394               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2395               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2396               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2397               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2398           | \
2399           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2400               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2401               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2402               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2403               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2404               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2405               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2406               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2407               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2408               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2409               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2410               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2411               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2412               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2413               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2414               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2415               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2416               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2417               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2418               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2419               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2420               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2421               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2422               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2423               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2424               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2425               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2426               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2427               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2428               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2429               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2430               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2431               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2432               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2433         } > $@-t && \
2434         mv $@-t $@
2435 MOSTLYCLEANFILES += unistd.h unistd.h-t
2436
2437 EXTRA_DIST += unistd.in.h
2438
2439 ## end   gnulib module unistd
2440
2441 ## begin gnulib module unistd-safer
2442
2443 libgreputils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2444
2445 EXTRA_DIST += unistd--.h unistd-safer.h
2446
2447 ## end   gnulib module unistd-safer
2448
2449 ## begin gnulib module unistr/base
2450
2451 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
2452
2453 unistr.h: unistr.in.h
2454         $(AM_V_GEN)rm -f $@-t $@ && \
2455         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2456           cat $(srcdir)/unistr.in.h; \
2457         } > $@-t && \
2458         mv -f $@-t $@
2459 MOSTLYCLEANFILES += unistr.h unistr.h-t
2460
2461 EXTRA_DIST += unistr.in.h
2462
2463 ## end   gnulib module unistr/base
2464
2465 ## begin gnulib module unistr/u8-mbtoucr
2466
2467 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2468 libgreputils_a_SOURCES += unistr/u8-mbtoucr.c
2469 endif
2470
2471 ## end   gnulib module unistr/u8-mbtoucr
2472
2473 ## begin gnulib module unistr/u8-uctomb
2474
2475 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2476 libgreputils_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2477 endif
2478
2479 ## end   gnulib module unistr/u8-uctomb
2480
2481 ## begin gnulib module unitypes
2482
2483 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2484
2485 unitypes.h: unitypes.in.h
2486         $(AM_V_GEN)rm -f $@-t $@ && \
2487         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2488           cat $(srcdir)/unitypes.in.h; \
2489         } > $@-t && \
2490         mv -f $@-t $@
2491 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
2492
2493 EXTRA_DIST += unitypes.in.h
2494
2495 ## end   gnulib module unitypes
2496
2497 ## begin gnulib module uniwidth/base
2498
2499 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
2500
2501 uniwidth.h: uniwidth.in.h
2502         $(AM_V_GEN)rm -f $@-t $@ && \
2503         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2504           cat $(srcdir)/uniwidth.in.h; \
2505         } > $@-t && \
2506         mv -f $@-t $@
2507 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
2508
2509 EXTRA_DIST += localcharset.h uniwidth.in.h
2510
2511 ## end   gnulib module uniwidth/base
2512
2513 ## begin gnulib module uniwidth/width
2514
2515 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
2516 libgreputils_a_SOURCES += uniwidth/width.c
2517 endif
2518
2519 EXTRA_DIST += uniwidth/cjk.h
2520
2521 ## end   gnulib module uniwidth/width
2522
2523 ## begin gnulib module unlocked-io
2524
2525
2526 EXTRA_DIST += unlocked-io.h
2527
2528 ## end   gnulib module unlocked-io
2529
2530 ## begin gnulib module update-copyright
2531
2532
2533 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2534
2535 ## end   gnulib module update-copyright
2536
2537 ## begin gnulib module useless-if-before-free
2538
2539
2540 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2541
2542 ## end   gnulib module useless-if-before-free
2543
2544 ## begin gnulib module vc-list-files
2545
2546
2547 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2548
2549 ## end   gnulib module vc-list-files
2550
2551 ## begin gnulib module verify
2552
2553
2554 EXTRA_DIST += verify.h
2555
2556 ## end   gnulib module verify
2557
2558 ## begin gnulib module version-etc
2559
2560 libgreputils_a_SOURCES += version-etc.h version-etc.c
2561
2562 ## end   gnulib module version-etc
2563
2564 ## begin gnulib module version-etc-fsf
2565
2566 libgreputils_a_SOURCES += version-etc-fsf.c
2567
2568 ## end   gnulib module version-etc-fsf
2569
2570 ## begin gnulib module wchar
2571
2572 BUILT_SOURCES += wchar.h
2573
2574 # We need the following in order to create <wchar.h> when the system
2575 # version does not work standalone.
2576 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2577         $(AM_V_GEN)rm -f $@-t $@ && \
2578         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2579           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2580               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2581               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2582               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2583               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2584               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2585               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2586               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2587               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2588               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2589               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2590               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2591               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2592               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2593               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2594               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2595               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2596               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2597               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2598               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2599               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2600               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2601               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2602               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2603               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2604               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2605               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2606               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2607               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2608               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2609               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2610               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2611               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2612               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2613               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2614               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2615               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2616               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2617               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2618               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2619               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2620               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2621               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2622               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2623               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2624               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2625               < $(srcdir)/wchar.in.h | \
2626           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2627               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2628               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2629               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2630               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2631               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2632               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2633               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2634               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2635               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2636               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2637               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2638               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2639               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2640               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2641               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2642               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2643               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2644               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2645               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2646               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2647               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2648               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2649               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2650               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2651               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2652               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2653               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2654               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2655               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2656               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2657               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2658               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2659               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2660               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2661               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2662               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2663               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2664               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2665               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2666           | \
2667           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2668               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2669               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2670               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2671               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2672               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2673               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2674               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2675               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2676               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2677               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2678               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2679               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2680               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2681               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2682               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2683         } > $@-t && \
2684         mv $@-t $@
2685 MOSTLYCLEANFILES += wchar.h wchar.h-t
2686
2687 EXTRA_DIST += wchar.in.h
2688
2689 ## end   gnulib module wchar
2690
2691 ## begin gnulib module wcrtomb
2692
2693
2694 EXTRA_DIST += wcrtomb.c
2695
2696 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
2697
2698 ## end   gnulib module wcrtomb
2699
2700 ## begin gnulib module wctob
2701
2702
2703 EXTRA_DIST += wctob.c
2704
2705 EXTRA_libgreputils_a_SOURCES += wctob.c
2706
2707 ## end   gnulib module wctob
2708
2709 ## begin gnulib module wctomb
2710
2711
2712 EXTRA_DIST += wctomb-impl.h wctomb.c
2713
2714 EXTRA_libgreputils_a_SOURCES += wctomb.c
2715
2716 ## end   gnulib module wctomb
2717
2718 ## begin gnulib module wctype-h
2719
2720 BUILT_SOURCES += wctype.h
2721 libgreputils_a_SOURCES += wctype-h.c
2722
2723 # We need the following in order to create <wctype.h> when the system
2724 # doesn't have one that works with the given compiler.
2725 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2726         $(AM_V_GEN)rm -f $@-t $@ && \
2727         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2728           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2729               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2730               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2731               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2732               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2733               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2734               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2735               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2736               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2737               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2738               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2739               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2740               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2741               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2742               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2743               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2744               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2745               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2746               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2747               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2748               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2749               < $(srcdir)/wctype.in.h; \
2750         } > $@-t && \
2751         mv $@-t $@
2752 MOSTLYCLEANFILES += wctype.h wctype.h-t
2753
2754 EXTRA_DIST += wctype.in.h
2755
2756 ## end   gnulib module wctype-h
2757
2758 ## begin gnulib module wcwidth
2759
2760
2761 EXTRA_DIST += wcwidth.c
2762
2763 EXTRA_libgreputils_a_SOURCES += wcwidth.c
2764
2765 ## end   gnulib module wcwidth
2766
2767 ## begin gnulib module xalloc
2768
2769 libgreputils_a_SOURCES += xmalloc.c
2770
2771 EXTRA_DIST += xalloc.h
2772
2773 ## end   gnulib module xalloc
2774
2775 ## begin gnulib module xalloc-die
2776
2777 libgreputils_a_SOURCES += xalloc-die.c
2778
2779 ## end   gnulib module xalloc-die
2780
2781 ## begin gnulib module xalloc-oversized
2782
2783
2784 EXTRA_DIST += xalloc-oversized.h
2785
2786 ## end   gnulib module xalloc-oversized
2787
2788 ## begin gnulib module xstriconv
2789
2790 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
2791
2792 ## end   gnulib module xstriconv
2793
2794 ## begin gnulib module xstrtoimax
2795
2796 libgreputils_a_SOURCES += xstrtoimax.c
2797
2798 ## end   gnulib module xstrtoimax
2799
2800 ## begin gnulib module xstrtol
2801
2802 libgreputils_a_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
2803
2804 EXTRA_DIST += xstrtol.h
2805
2806 ## end   gnulib module xstrtol
2807
2808
2809 mostlyclean-local: mostlyclean-generic
2810         @for dir in '' $(MOSTLYCLEANDIRS); do \
2811           if test -n "$$dir" && test -d $$dir; then \
2812             echo "rmdir $$dir"; rmdir $$dir; \
2813           fi; \
2814         done; \
2815         :