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