Upgrade grep version 2.9 to 2.12 on the vendor branch
[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 hard-locale ignore-value intprops inttypes isatty isblank iswctype largefile locale lseek maintainer-makefile malloc-gnu manywarnings mbrlen mbrtowc memchr mempcpy minmax obstack openat-safer 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 x'$(VPATH)' != x && 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 hard-locale
702
703 libgreputils_a_SOURCES += hard-locale.c
704
705 EXTRA_DIST += hard-locale.h
706
707 ## end   gnulib module hard-locale
708
709 ## begin gnulib module hash
710
711 libgreputils_a_SOURCES += hash.c
712
713 EXTRA_DIST += hash.h
714
715 ## end   gnulib module hash
716
717 ## begin gnulib module havelib
718
719
720 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
721
722 ## end   gnulib module havelib
723
724 ## begin gnulib module i-ring
725
726 libgreputils_a_SOURCES += i-ring.c
727
728 EXTRA_DIST += i-ring.h
729
730 ## end   gnulib module i-ring
731
732 ## begin gnulib module iconv-h
733
734 BUILT_SOURCES += $(ICONV_H)
735
736 # We need the following in order to create <iconv.h> when the system
737 # doesn't have one that works with the given compiler.
738 if GL_GENERATE_ICONV_H
739 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
740         $(AM_V_GEN)rm -f $@-t $@ && \
741         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
742           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
743               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
744               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
745               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
746               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
747               -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
748               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
749               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
750               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
751               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
752               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
753               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
754               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
755               < $(srcdir)/iconv.in.h; \
756         } > $@-t && \
757         mv $@-t $@
758 else
759 iconv.h: $(top_builddir)/config.status
760         rm -f $@
761 endif
762 MOSTLYCLEANFILES += iconv.h iconv.h-t
763
764 EXTRA_DIST += iconv.in.h
765
766 ## end   gnulib module iconv-h
767
768 ## begin gnulib module iconv_open
769
770 iconv_open-aix.h: iconv_open-aix.gperf
771         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
772         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
773 iconv_open-hpux.h: iconv_open-hpux.gperf
774         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
775         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
776 iconv_open-irix.h: iconv_open-irix.gperf
777         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
778         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
779 iconv_open-osf.h: iconv_open-osf.gperf
780         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
781         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
782 iconv_open-solaris.h: iconv_open-solaris.gperf
783         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
784         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
785 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
786 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
787 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
788 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
789
790 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
791
792 EXTRA_libgreputils_a_SOURCES += iconv.c iconv_close.c iconv_open.c
793
794 ## end   gnulib module iconv_open
795
796 ## begin gnulib module ignore-value
797
798
799 EXTRA_DIST += ignore-value.h
800
801 ## end   gnulib module ignore-value
802
803 ## begin gnulib module intprops
804
805
806 EXTRA_DIST += intprops.h
807
808 ## end   gnulib module intprops
809
810 ## begin gnulib module inttypes-incomplete
811
812 BUILT_SOURCES += inttypes.h
813
814 # We need the following in order to create <inttypes.h> when the system
815 # doesn't have one that works with the given compiler.
816 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
817         $(AM_V_GEN)rm -f $@-t $@ && \
818         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
819           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
820               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
821               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
822               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
823               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
824               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
825               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
826               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
827               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
828               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
829               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
830               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
831               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
832               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
833               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
834               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
835               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
836               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
837               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
838               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
839               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
840               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
841               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
842               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
843               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
844               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
845               < $(srcdir)/inttypes.in.h; \
846         } > $@-t && \
847         mv $@-t $@
848 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
849
850 EXTRA_DIST += inttypes.in.h
851
852 ## end   gnulib module inttypes-incomplete
853
854 ## begin gnulib module isatty
855
856
857 EXTRA_DIST += isatty.c
858
859 EXTRA_libgreputils_a_SOURCES += isatty.c
860
861 ## end   gnulib module isatty
862
863 ## begin gnulib module isblank
864
865
866 EXTRA_DIST += isblank.c
867
868 EXTRA_libgreputils_a_SOURCES += isblank.c
869
870 ## end   gnulib module isblank
871
872 ## begin gnulib module iswblank
873
874
875 EXTRA_DIST += iswblank.c
876
877 EXTRA_libgreputils_a_SOURCES += iswblank.c
878
879 ## end   gnulib module iswblank
880
881 ## begin gnulib module iswctype
882
883
884 EXTRA_DIST += iswctype-impl.h iswctype.c
885
886 EXTRA_libgreputils_a_SOURCES += iswctype.c
887
888 ## end   gnulib module iswctype
889
890 ## begin gnulib module langinfo
891
892 BUILT_SOURCES += langinfo.h
893
894 # We need the following in order to create an empty placeholder for
895 # <langinfo.h> when the system doesn't have one.
896 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
897         $(AM_V_GEN)rm -f $@-t $@ && \
898         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
899           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
900               -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
901               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
902               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
903               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
904               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
905               -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
906               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
907               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
908               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
909               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
910               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
911               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
912               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
913               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
914               < $(srcdir)/langinfo.in.h; \
915         } > $@-t && \
916         mv $@-t $@
917 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
918
919 EXTRA_DIST += langinfo.in.h
920
921 ## end   gnulib module langinfo
922
923 ## begin gnulib module localcharset
924
925 libgreputils_a_SOURCES += localcharset.h localcharset.c
926
927 # We need the following in order to install a simple file in $(libdir)
928 # which is shared with other installed packages. We use a list of referencing
929 # packages so that "make uninstall" will remove the file if and only if it
930 # is not used by another installed package.
931 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
932 # avoid installing it.
933
934 all-local: charset.alias ref-add.sed ref-del.sed
935
936 charset_alias = $(DESTDIR)$(libdir)/charset.alias
937 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
938 install-exec-local: install-exec-localcharset
939 install-exec-localcharset: all-local
940         if test $(GLIBC21) = no; then \
941           case '$(host_os)' in \
942             darwin[56]*) \
943               need_charset_alias=true ;; \
944             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
945               need_charset_alias=false ;; \
946             *) \
947               need_charset_alias=true ;; \
948           esac ; \
949         else \
950           need_charset_alias=false ; \
951         fi ; \
952         if $$need_charset_alias; then \
953           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
954         fi ; \
955         if test -f $(charset_alias); then \
956           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
957           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
958           rm -f $(charset_tmp) ; \
959         else \
960           if $$need_charset_alias; then \
961             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
962             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
963             rm -f $(charset_tmp) ; \
964           fi ; \
965         fi
966
967 uninstall-local: uninstall-localcharset
968 uninstall-localcharset: all-local
969         if test -f $(charset_alias); then \
970           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
971           if grep '^# Packages using this file: $$' $(charset_tmp) \
972               > /dev/null; then \
973             rm -f $(charset_alias); \
974           else \
975             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
976           fi; \
977           rm -f $(charset_tmp); \
978         fi
979
980 charset.alias: config.charset
981         $(AM_V_GEN)rm -f t-$@ $@ && \
982         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
983         mv t-$@ $@
984
985 SUFFIXES += .sed .sin
986 .sin.sed:
987         $(AM_V_GEN)rm -f t-$@ $@ && \
988         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
989         mv t-$@ $@
990
991 CLEANFILES += charset.alias ref-add.sed ref-del.sed
992
993 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
994
995 ## end   gnulib module localcharset
996
997 ## begin gnulib module locale
998
999 BUILT_SOURCES += locale.h
1000
1001 # We need the following in order to create <locale.h> when the system
1002 # doesn't have one that provides all definitions.
1003 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1004         $(AM_V_GEN)rm -f $@-t $@ && \
1005         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1006           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1007               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1008               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1009               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1010               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1011               -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
1012               -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
1013               -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
1014               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
1015               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1016               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
1017               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
1018               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1019               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
1020               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1021               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1022               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1023               < $(srcdir)/locale.in.h; \
1024         } > $@-t && \
1025         mv $@-t $@
1026 MOSTLYCLEANFILES += locale.h locale.h-t
1027
1028 EXTRA_DIST += locale.in.h
1029
1030 ## end   gnulib module locale
1031
1032 ## begin gnulib module localeconv
1033
1034
1035 EXTRA_DIST += localeconv.c
1036
1037 EXTRA_libgreputils_a_SOURCES += localeconv.c
1038
1039 ## end   gnulib module localeconv
1040
1041 ## begin gnulib module lseek
1042
1043
1044 EXTRA_DIST += lseek.c
1045
1046 EXTRA_libgreputils_a_SOURCES += lseek.c
1047
1048 ## end   gnulib module lseek
1049
1050 ## begin gnulib module lstat
1051
1052
1053 EXTRA_DIST += lstat.c
1054
1055 EXTRA_libgreputils_a_SOURCES += lstat.c
1056
1057 ## end   gnulib module lstat
1058
1059 ## begin gnulib module maintainer-makefile
1060
1061 EXTRA_DIST += $(top_srcdir)/maint.mk
1062
1063 ## end   gnulib module maintainer-makefile
1064
1065 ## begin gnulib module malloc-gnu
1066
1067
1068 EXTRA_DIST += malloc.c
1069
1070 EXTRA_libgreputils_a_SOURCES += malloc.c
1071
1072 ## end   gnulib module malloc-gnu
1073
1074 ## begin gnulib module malloc-posix
1075
1076
1077 EXTRA_DIST += malloc.c
1078
1079 EXTRA_libgreputils_a_SOURCES += malloc.c
1080
1081 ## end   gnulib module malloc-posix
1082
1083 ## begin gnulib module malloca
1084
1085 libgreputils_a_SOURCES += malloca.c
1086
1087 EXTRA_DIST += malloca.h malloca.valgrind
1088
1089 ## end   gnulib module malloca
1090
1091 ## begin gnulib module mbchar
1092
1093 libgreputils_a_SOURCES += mbchar.c
1094
1095 EXTRA_DIST += mbchar.h
1096
1097 ## end   gnulib module mbchar
1098
1099 ## begin gnulib module mbiter
1100
1101 libgreputils_a_SOURCES += mbiter.h
1102
1103 ## end   gnulib module mbiter
1104
1105 ## begin gnulib module mbrlen
1106
1107
1108 EXTRA_DIST += mbrlen.c
1109
1110 EXTRA_libgreputils_a_SOURCES += mbrlen.c
1111
1112 ## end   gnulib module mbrlen
1113
1114 ## begin gnulib module mbrtowc
1115
1116
1117 EXTRA_DIST += mbrtowc.c
1118
1119 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
1120
1121 ## end   gnulib module mbrtowc
1122
1123 ## begin gnulib module mbscasecmp
1124
1125 libgreputils_a_SOURCES += mbscasecmp.c
1126
1127 ## end   gnulib module mbscasecmp
1128
1129 ## begin gnulib module mbsinit
1130
1131
1132 EXTRA_DIST += mbsinit.c
1133
1134 EXTRA_libgreputils_a_SOURCES += mbsinit.c
1135
1136 ## end   gnulib module mbsinit
1137
1138 ## begin gnulib module mbslen
1139
1140 libgreputils_a_SOURCES += mbslen.c
1141
1142 ## end   gnulib module mbslen
1143
1144 ## begin gnulib module mbsrtowcs
1145
1146
1147 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1148
1149 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1150
1151 ## end   gnulib module mbsrtowcs
1152
1153 ## begin gnulib module mbsstr
1154
1155 libgreputils_a_SOURCES += mbsstr.c
1156
1157 EXTRA_DIST += str-kmp.h
1158
1159 ## end   gnulib module mbsstr
1160
1161 ## begin gnulib module mbtowc
1162
1163
1164 EXTRA_DIST += mbtowc-impl.h mbtowc.c
1165
1166 EXTRA_libgreputils_a_SOURCES += mbtowc.c
1167
1168 ## end   gnulib module mbtowc
1169
1170 ## begin gnulib module mbuiter
1171
1172 libgreputils_a_SOURCES += mbuiter.h
1173
1174 ## end   gnulib module mbuiter
1175
1176 ## begin gnulib module memchr
1177
1178
1179 EXTRA_DIST += memchr.c memchr.valgrind
1180
1181 EXTRA_libgreputils_a_SOURCES += memchr.c
1182
1183 ## end   gnulib module memchr
1184
1185 ## begin gnulib module mempcpy
1186
1187
1188 EXTRA_DIST += mempcpy.c
1189
1190 EXTRA_libgreputils_a_SOURCES += mempcpy.c
1191
1192 ## end   gnulib module mempcpy
1193
1194 ## begin gnulib module memrchr
1195
1196
1197 EXTRA_DIST += memrchr.c
1198
1199 EXTRA_libgreputils_a_SOURCES += memrchr.c
1200
1201 ## end   gnulib module memrchr
1202
1203 ## begin gnulib module minmax
1204
1205 libgreputils_a_SOURCES += minmax.h
1206
1207 ## end   gnulib module minmax
1208
1209 ## begin gnulib module msvc-inval
1210
1211
1212 EXTRA_DIST += msvc-inval.c msvc-inval.h
1213
1214 EXTRA_libgreputils_a_SOURCES += msvc-inval.c
1215
1216 ## end   gnulib module msvc-inval
1217
1218 ## begin gnulib module msvc-nothrow
1219
1220
1221 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1222
1223 EXTRA_libgreputils_a_SOURCES += msvc-nothrow.c
1224
1225 ## end   gnulib module msvc-nothrow
1226
1227 ## begin gnulib module nl_langinfo
1228
1229
1230 EXTRA_DIST += nl_langinfo.c
1231
1232 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
1233
1234 ## end   gnulib module nl_langinfo
1235
1236 ## begin gnulib module obstack
1237
1238
1239 EXTRA_DIST += obstack.c obstack.h
1240
1241 EXTRA_libgreputils_a_SOURCES += obstack.c
1242
1243 ## end   gnulib module obstack
1244
1245 ## begin gnulib module open
1246
1247
1248 EXTRA_DIST += open.c
1249
1250 EXTRA_libgreputils_a_SOURCES += open.c
1251
1252 ## end   gnulib module open
1253
1254 ## begin gnulib module openat
1255
1256
1257 EXTRA_DIST += openat-priv.h openat.c
1258
1259 EXTRA_libgreputils_a_SOURCES += openat.c
1260
1261 ## end   gnulib module openat
1262
1263 ## begin gnulib module openat-die
1264
1265 libgreputils_a_SOURCES += openat-die.c
1266
1267 ## end   gnulib module openat-die
1268
1269 ## begin gnulib module openat-h
1270
1271
1272 EXTRA_DIST += openat.h
1273
1274 ## end   gnulib module openat-h
1275
1276 ## begin gnulib module openat-safer
1277
1278 libgreputils_a_SOURCES += openat-safer.c
1279
1280 EXTRA_DIST += fcntl--.h fcntl-safer.h
1281
1282 ## end   gnulib module openat-safer
1283
1284 ## begin gnulib module opendir
1285
1286
1287 EXTRA_DIST += dirent-private.h opendir.c
1288
1289 EXTRA_libgreputils_a_SOURCES += opendir.c
1290
1291 ## end   gnulib module opendir
1292
1293 ## begin gnulib module pathmax
1294
1295
1296 EXTRA_DIST += pathmax.h
1297
1298 ## end   gnulib module pathmax
1299
1300 ## begin gnulib module progname
1301
1302 libgreputils_a_SOURCES += progname.h progname.c
1303
1304 ## end   gnulib module progname
1305
1306 ## begin gnulib module propername
1307
1308 libgreputils_a_SOURCES += propername.h propername.c
1309
1310 ## end   gnulib module propername
1311
1312 ## begin gnulib module quote
1313
1314
1315 EXTRA_DIST += quote.h
1316
1317 ## end   gnulib module quote
1318
1319 ## begin gnulib module quotearg
1320
1321 libgreputils_a_SOURCES += quotearg.c
1322
1323 EXTRA_DIST += quote.h quotearg.h
1324
1325 ## end   gnulib module quotearg
1326
1327 ## begin gnulib module readdir
1328
1329
1330 EXTRA_DIST += dirent-private.h readdir.c
1331
1332 EXTRA_libgreputils_a_SOURCES += readdir.c
1333
1334 ## end   gnulib module readdir
1335
1336 ## begin gnulib module readme-release
1337
1338
1339 EXTRA_DIST += $(top_srcdir)/README-release
1340
1341 ## end   gnulib module readme-release
1342
1343 ## begin gnulib module realloc-gnu
1344
1345
1346 EXTRA_DIST += realloc.c
1347
1348 EXTRA_libgreputils_a_SOURCES += realloc.c
1349
1350 ## end   gnulib module realloc-gnu
1351
1352 ## begin gnulib module realloc-posix
1353
1354
1355 EXTRA_DIST += realloc.c
1356
1357 EXTRA_libgreputils_a_SOURCES += realloc.c
1358
1359 ## end   gnulib module realloc-posix
1360
1361 ## begin gnulib module regex
1362
1363
1364 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1365
1366 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1367
1368 ## end   gnulib module regex
1369
1370 ## begin gnulib module same-inode
1371
1372
1373 EXTRA_DIST += same-inode.h
1374
1375 ## end   gnulib module same-inode
1376
1377 ## begin gnulib module save-cwd
1378
1379 libgreputils_a_SOURCES += save-cwd.c
1380
1381 EXTRA_DIST += save-cwd.h
1382
1383 ## end   gnulib module save-cwd
1384
1385 ## begin gnulib module snippet/_Noreturn
1386
1387 # Because this Makefile snippet defines a variable used by other
1388 # gnulib Makefile snippets, it must be present in all Makefile.am that
1389 # need it. This is ensured by the applicability 'all' defined above.
1390
1391 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1392
1393 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1394
1395 ## end   gnulib module snippet/_Noreturn
1396
1397 ## begin gnulib module snippet/arg-nonnull
1398
1399 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1400 # statements but through direct file reference. Therefore this snippet must be
1401 # present in all Makefile.am that need it. This is ensured by the applicability
1402 # 'all' defined above.
1403
1404 BUILT_SOURCES += arg-nonnull.h
1405 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1406 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1407 # off.
1408 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1409         $(AM_V_GEN)rm -f $@-t $@ && \
1410         sed -n -e '/GL_ARG_NONNULL/,$$p' \
1411           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1412           > $@-t && \
1413         mv $@-t $@
1414 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1415
1416 ARG_NONNULL_H=arg-nonnull.h
1417
1418 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1419
1420 ## end   gnulib module snippet/arg-nonnull
1421
1422 ## begin gnulib module snippet/c++defs
1423
1424 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1425 # statements but through direct file reference. Therefore this snippet must be
1426 # present in all Makefile.am that need it. This is ensured by the applicability
1427 # 'all' defined above.
1428
1429 BUILT_SOURCES += c++defs.h
1430 # The c++defs.h that gets inserted into generated .h files is the same as
1431 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1432 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1433         $(AM_V_GEN)rm -f $@-t $@ && \
1434         sed -n -e '/_GL_CXXDEFS/,$$p' \
1435           < $(top_srcdir)/build-aux/snippet/c++defs.h \
1436           > $@-t && \
1437         mv $@-t $@
1438 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1439
1440 CXXDEFS_H=c++defs.h
1441
1442 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1443
1444 ## end   gnulib module snippet/c++defs
1445
1446 ## begin gnulib module snippet/unused-parameter
1447
1448 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1449 # statements but through direct file reference. Therefore this snippet must be
1450 # present in all Makefile.am that need it. This is ensured by the applicability
1451 # 'all' defined above.
1452
1453 BUILT_SOURCES += unused-parameter.h
1454 # The unused-parameter.h that gets inserted into generated .h files is the same
1455 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1456 # header cut off.
1457 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1458         $(AM_V_GEN)rm -f $@-t $@ && \
1459         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1460           < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1461           > $@-t && \
1462         mv $@-t $@
1463 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1464
1465 UNUSED_PARAMETER_H=unused-parameter.h
1466
1467 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1468
1469 ## end   gnulib module snippet/unused-parameter
1470
1471 ## begin gnulib module snippet/warn-on-use
1472
1473 BUILT_SOURCES += warn-on-use.h
1474 # The warn-on-use.h that gets inserted into generated .h files is the same as
1475 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1476 # off.
1477 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1478         $(AM_V_GEN)rm -f $@-t $@ && \
1479         sed -n -e '/^.ifndef/,$$p' \
1480           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1481           > $@-t && \
1482         mv $@-t $@
1483 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1484
1485 WARN_ON_USE_H=warn-on-use.h
1486
1487 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1488
1489 ## end   gnulib module snippet/warn-on-use
1490
1491 ## begin gnulib module stat
1492
1493
1494 EXTRA_DIST += stat.c
1495
1496 EXTRA_libgreputils_a_SOURCES += stat.c
1497
1498 ## end   gnulib module stat
1499
1500 ## begin gnulib module stdarg
1501
1502 BUILT_SOURCES += $(STDARG_H)
1503
1504 # We need the following in order to create <stdarg.h> when the system
1505 # doesn't have one that works with the given compiler.
1506 if GL_GENERATE_STDARG_H
1507 stdarg.h: stdarg.in.h $(top_builddir)/config.status
1508         $(AM_V_GEN)rm -f $@-t $@ && \
1509         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1510           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1511               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1512               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1513               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1514               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1515               < $(srcdir)/stdarg.in.h; \
1516         } > $@-t && \
1517         mv $@-t $@
1518 else
1519 stdarg.h: $(top_builddir)/config.status
1520         rm -f $@
1521 endif
1522 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1523
1524 EXTRA_DIST += stdarg.in.h
1525
1526 ## end   gnulib module stdarg
1527
1528 ## begin gnulib module stdbool
1529
1530 BUILT_SOURCES += $(STDBOOL_H)
1531
1532 # We need the following in order to create <stdbool.h> when the system
1533 # doesn't have one that works.
1534 if GL_GENERATE_STDBOOL_H
1535 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1536         $(AM_V_GEN)rm -f $@-t $@ && \
1537         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1538           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1539         } > $@-t && \
1540         mv $@-t $@
1541 else
1542 stdbool.h: $(top_builddir)/config.status
1543         rm -f $@
1544 endif
1545 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1546
1547 EXTRA_DIST += stdbool.in.h
1548
1549 ## end   gnulib module stdbool
1550
1551 ## begin gnulib module stddef
1552
1553 BUILT_SOURCES += $(STDDEF_H)
1554
1555 # We need the following in order to create <stddef.h> when the system
1556 # doesn't have one that works with the given compiler.
1557 if GL_GENERATE_STDDEF_H
1558 stddef.h: stddef.in.h $(top_builddir)/config.status
1559         $(AM_V_GEN)rm -f $@-t $@ && \
1560         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1561           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1562               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1563               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1564               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1565               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1566               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1567               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1568               < $(srcdir)/stddef.in.h; \
1569         } > $@-t && \
1570         mv $@-t $@
1571 else
1572 stddef.h: $(top_builddir)/config.status
1573         rm -f $@
1574 endif
1575 MOSTLYCLEANFILES += stddef.h stddef.h-t
1576
1577 EXTRA_DIST += stddef.in.h
1578
1579 ## end   gnulib module stddef
1580
1581 ## begin gnulib module stdint
1582
1583 BUILT_SOURCES += $(STDINT_H)
1584
1585 # We need the following in order to create <stdint.h> when the system
1586 # doesn't have one that works with the given compiler.
1587 if GL_GENERATE_STDINT_H
1588 stdint.h: stdint.in.h $(top_builddir)/config.status
1589         $(AM_V_GEN)rm -f $@-t $@ && \
1590         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1591           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1592               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1593               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1594               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1595               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1596               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1597               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1598               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1599               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1600               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1601               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1602               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1603               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1604               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1605               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1606               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1607               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1608               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1609               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1610               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1611               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1612               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1613               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1614               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1615               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1616               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1617               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1618               < $(srcdir)/stdint.in.h; \
1619         } > $@-t && \
1620         mv $@-t $@
1621 else
1622 stdint.h: $(top_builddir)/config.status
1623         rm -f $@
1624 endif
1625 MOSTLYCLEANFILES += stdint.h stdint.h-t
1626
1627 EXTRA_DIST += stdint.in.h
1628
1629 ## end   gnulib module stdint
1630
1631 ## begin gnulib module stdlib
1632
1633 BUILT_SOURCES += stdlib.h
1634
1635 # We need the following in order to create <stdlib.h> when the system
1636 # doesn't have one that works with the given compiler.
1637 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1638   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1639         $(AM_V_GEN)rm -f $@-t $@ && \
1640         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1641           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1642               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1643               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1644               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1645               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1646               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1647               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1648               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1649               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1650               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1651               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1652               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1653               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1654               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1655               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1656               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1657               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1658               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1659               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1660               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1661               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1662               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1663               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1664               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1665               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1666               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1667               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1668               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1669               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1670               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1671               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1672               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1673               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1674               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1675               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1676               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1677               < $(srcdir)/stdlib.in.h | \
1678           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1679               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1680               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1681               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1682               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1683               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1684               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1685               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1686               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1687               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1688               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1689               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1690               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1691               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1692               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1693               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1694               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1695               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1696               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1697               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1698               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1699               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1700               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1701               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1702               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1703               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1704               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1705               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1706               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1707               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1708               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1709               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1710               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1711               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1712               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1713               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1714               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1715               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1716               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1717               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1718               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1719               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1720               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1721               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1722               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1723         } > $@-t && \
1724         mv $@-t $@
1725 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1726
1727 EXTRA_DIST += stdlib.in.h
1728
1729 ## end   gnulib module stdlib
1730
1731 ## begin gnulib module stpcpy
1732
1733
1734 EXTRA_DIST += stpcpy.c
1735
1736 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1737
1738 ## end   gnulib module stpcpy
1739
1740 ## begin gnulib module strcase
1741
1742
1743 EXTRA_DIST += strcasecmp.c strncasecmp.c
1744
1745 EXTRA_libgreputils_a_SOURCES += strcasecmp.c strncasecmp.c
1746
1747 ## end   gnulib module strcase
1748
1749 ## begin gnulib module strdup-posix
1750
1751
1752 EXTRA_DIST += strdup.c
1753
1754 EXTRA_libgreputils_a_SOURCES += strdup.c
1755
1756 ## end   gnulib module strdup-posix
1757
1758 ## begin gnulib module streq
1759
1760
1761 EXTRA_DIST += streq.h
1762
1763 ## end   gnulib module streq
1764
1765 ## begin gnulib module strerror
1766
1767
1768 EXTRA_DIST += strerror.c
1769
1770 EXTRA_libgreputils_a_SOURCES += strerror.c
1771
1772 ## end   gnulib module strerror
1773
1774 ## begin gnulib module strerror-override
1775
1776
1777 EXTRA_DIST += strerror-override.c strerror-override.h
1778
1779 EXTRA_libgreputils_a_SOURCES += strerror-override.c
1780
1781 ## end   gnulib module strerror-override
1782
1783 ## begin gnulib module striconv
1784
1785 libgreputils_a_SOURCES += striconv.h striconv.c
1786 if GL_COND_LIBTOOL
1787 endif
1788
1789 ## end   gnulib module striconv
1790
1791 ## begin gnulib module string
1792
1793 BUILT_SOURCES += string.h
1794
1795 # We need the following in order to create <string.h> when the system
1796 # doesn't have one that works with the given compiler.
1797 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1798         $(AM_V_GEN)rm -f $@-t $@ && \
1799         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1800           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1801               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1802               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1803               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1804               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1805               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1806               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1807               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1808               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1809               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1810               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1811               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1812               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1813               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1814               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1815               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1816               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1817               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1818               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1819               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1820               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1821               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1822               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1823               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1824               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1825               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1826               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1827               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1828               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1829               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1830               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1831               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1832               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1833               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1834               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1835               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1836               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1837               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1838               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1839               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1840               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1841               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1842               < $(srcdir)/string.in.h | \
1843           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1844               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1845               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1846               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1847               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1848               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1849               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1850               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1851               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1852               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1853               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1854               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1855               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1856               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1857               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1858               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1859               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1860               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1861               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1862               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1863               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1864               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1865               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1866               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1867               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1868               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1869               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1870               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1871               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1872               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1873               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1874               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1875               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1876               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1877               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1878               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1879               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1880               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1881               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1882               < $(srcdir)/string.in.h; \
1883         } > $@-t && \
1884         mv $@-t $@
1885 MOSTLYCLEANFILES += string.h string.h-t
1886
1887 EXTRA_DIST += string.in.h
1888
1889 ## end   gnulib module string
1890
1891 ## begin gnulib module strings
1892
1893 BUILT_SOURCES += strings.h
1894
1895 # We need the following in order to create <strings.h> when the system
1896 # doesn't have one that works with the given compiler.
1897 strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1898         $(AM_V_GEN)rm -f $@-t $@ && \
1899         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1900           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1901               -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
1902               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1903               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1904               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1905               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1906               -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
1907               -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
1908               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1909               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1910               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1911               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1912               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1913               < $(srcdir)/strings.in.h; \
1914         } > $@-t && \
1915         mv $@-t $@
1916 MOSTLYCLEANFILES += strings.h strings.h-t
1917
1918 EXTRA_DIST += strings.in.h
1919
1920 ## end   gnulib module strings
1921
1922 ## begin gnulib module strnlen
1923
1924
1925 EXTRA_DIST += strnlen.c
1926
1927 EXTRA_libgreputils_a_SOURCES += strnlen.c
1928
1929 ## end   gnulib module strnlen
1930
1931 ## begin gnulib module strnlen1
1932
1933 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
1934
1935 ## end   gnulib module strnlen1
1936
1937 ## begin gnulib module strtoimax
1938
1939
1940 EXTRA_DIST += strtoimax.c
1941
1942 EXTRA_libgreputils_a_SOURCES += strtoimax.c
1943
1944 ## end   gnulib module strtoimax
1945
1946 ## begin gnulib module strtoll
1947
1948
1949 EXTRA_DIST += strtol.c strtoll.c
1950
1951 EXTRA_libgreputils_a_SOURCES += strtol.c strtoll.c
1952
1953 ## end   gnulib module strtoll
1954
1955 ## begin gnulib module strtoull
1956
1957
1958 EXTRA_DIST += strtol.c strtoul.c strtoull.c
1959
1960 EXTRA_libgreputils_a_SOURCES += strtol.c strtoul.c strtoull.c
1961
1962 ## end   gnulib module strtoull
1963
1964 ## begin gnulib module strtoumax
1965
1966
1967 EXTRA_DIST += strtoimax.c strtoumax.c
1968
1969 EXTRA_libgreputils_a_SOURCES += strtoimax.c strtoumax.c
1970
1971 ## end   gnulib module strtoumax
1972
1973 ## begin gnulib module sys_stat
1974
1975 BUILT_SOURCES += sys/stat.h
1976
1977 # We need the following in order to create <sys/stat.h> when the system
1978 # has one that is incomplete.
1979 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1980         $(AM_V_at)$(MKDIR_P) sys
1981         $(AM_V_GEN)rm -f $@-t $@ && \
1982         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1983           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1984               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1985               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1986               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1987               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1988               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1989               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1990               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1991               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1992               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1993               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1994               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1995               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1996               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1997               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1998               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1999               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2000               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2001               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2002               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2003               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2004               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2005               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2006               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2007               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2008               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2009               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2010               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2011               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2012               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2013               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2014               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2015               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2016               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2017               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2018               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2019               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2020               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2021               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2022               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2023               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2024               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2025               < $(srcdir)/sys_stat.in.h; \
2026         } > $@-t && \
2027         mv $@-t $@
2028 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2029 MOSTLYCLEANDIRS += sys
2030
2031 EXTRA_DIST += sys_stat.in.h
2032
2033 ## end   gnulib module sys_stat
2034
2035 ## begin gnulib module sys_types
2036
2037 BUILT_SOURCES += sys/types.h
2038
2039 # We need the following in order to create <sys/types.h> when the system
2040 # doesn't have one that works with the given compiler.
2041 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2042         $(AM_V_at)$(MKDIR_P) sys
2043         $(AM_V_GEN)rm -f $@-t $@ && \
2044         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2045           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2046               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2047               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2048               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2049               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2050               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2051               < $(srcdir)/sys_types.in.h; \
2052         } > $@-t && \
2053         mv $@-t $@
2054 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2055
2056 EXTRA_DIST += sys_types.in.h
2057
2058 ## end   gnulib module sys_types
2059
2060 ## begin gnulib module time
2061
2062 BUILT_SOURCES += time.h
2063
2064 # We need the following in order to create <time.h> when the system
2065 # doesn't have one that works with the given compiler.
2066 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2067         $(AM_V_GEN)rm -f $@-t $@ && \
2068         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2069           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2070               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2071               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2072               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2073               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2074               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2075               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2076               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2077               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2078               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2079               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2080               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2081               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2082               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2083               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2084               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2085               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2086               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2087               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2088               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2089               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2090               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2091               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2092               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2093               < $(srcdir)/time.in.h; \
2094         } > $@-t && \
2095         mv $@-t $@
2096 MOSTLYCLEANFILES += time.h time.h-t
2097
2098 EXTRA_DIST += time.in.h
2099
2100 ## end   gnulib module time
2101
2102 ## begin gnulib module trim
2103
2104 libgreputils_a_SOURCES += trim.c
2105
2106 EXTRA_DIST += trim.h
2107
2108 ## end   gnulib module trim
2109
2110 ## begin gnulib module unistd
2111
2112 BUILT_SOURCES += unistd.h
2113
2114 # We need the following in order to create an empty placeholder for
2115 # <unistd.h> when the system doesn't have one.
2116 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2117         $(AM_V_GEN)rm -f $@-t $@ && \
2118         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2119           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2120               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2121               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2122               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2123               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2124               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2125               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2126               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2127               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2128               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2129               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2130               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2131               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2132               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2133               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2134               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2135               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2136               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2137               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2138               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2139               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2140               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2141               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2142               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2143               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2144               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2145               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2146               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2147               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2148               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2149               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2150               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2151               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2152               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2153               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2154               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2155               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2156               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2157               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2158               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2159               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2160               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2161               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2162               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2163               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2164               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2165               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2166               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2167               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2168               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2169               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2170               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2171               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2172               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2173               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2174               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2175               < $(srcdir)/unistd.in.h | \
2176           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2177               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2178               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2179               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2180               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2181               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2182               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2183               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2184               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2185               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2186               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2187               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2188               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2189               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2190               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2191               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2192               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2193               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2194               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2195               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2196               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2197               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2198               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2199               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2200               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2201               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2202               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2203               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2204               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2205               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2206               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2207               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2208               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2209               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2210               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2211               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2212               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2213               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2214               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2215               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2216               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2217               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2218           | \
2219           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2220               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2221               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2222               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2223               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2224               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2225               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2226               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2227               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2228               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2229               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2230               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2231               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2232               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2233               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2234               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2235               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2236               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2237               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2238               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2239               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2240               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2241               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2242               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2243               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2244               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2245               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2246               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2247               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2248               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2249               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2250               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2251               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2252         } > $@-t && \
2253         mv $@-t $@
2254 MOSTLYCLEANFILES += unistd.h unistd.h-t
2255
2256 EXTRA_DIST += unistd.in.h
2257
2258 ## end   gnulib module unistd
2259
2260 ## begin gnulib module unistd-safer
2261
2262 libgreputils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2263
2264 EXTRA_DIST += unistd--.h unistd-safer.h
2265
2266 ## end   gnulib module unistd-safer
2267
2268 ## begin gnulib module unistr/base
2269
2270 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
2271
2272 unistr.h: unistr.in.h
2273         $(AM_V_GEN)rm -f $@-t $@ && \
2274         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2275           cat $(srcdir)/unistr.in.h; \
2276         } > $@-t && \
2277         mv -f $@-t $@
2278 MOSTLYCLEANFILES += unistr.h unistr.h-t
2279
2280 EXTRA_DIST += unistr.in.h
2281
2282 ## end   gnulib module unistr/base
2283
2284 ## begin gnulib module unistr/u8-mbtoucr
2285
2286 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2287 libgreputils_a_SOURCES += unistr/u8-mbtoucr.c
2288 endif
2289
2290 ## end   gnulib module unistr/u8-mbtoucr
2291
2292 ## begin gnulib module unistr/u8-uctomb
2293
2294 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2295 libgreputils_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2296 endif
2297
2298 ## end   gnulib module unistr/u8-uctomb
2299
2300 ## begin gnulib module unitypes
2301
2302 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2303
2304 unitypes.h: unitypes.in.h
2305         $(AM_V_GEN)rm -f $@-t $@ && \
2306         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2307           cat $(srcdir)/unitypes.in.h; \
2308         } > $@-t && \
2309         mv -f $@-t $@
2310 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
2311
2312 EXTRA_DIST += unitypes.in.h
2313
2314 ## end   gnulib module unitypes
2315
2316 ## begin gnulib module uniwidth/base
2317
2318 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
2319
2320 uniwidth.h: uniwidth.in.h
2321         $(AM_V_GEN)rm -f $@-t $@ && \
2322         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2323           cat $(srcdir)/uniwidth.in.h; \
2324         } > $@-t && \
2325         mv -f $@-t $@
2326 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
2327
2328 EXTRA_DIST += localcharset.h uniwidth.in.h
2329
2330 ## end   gnulib module uniwidth/base
2331
2332 ## begin gnulib module uniwidth/width
2333
2334 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
2335 libgreputils_a_SOURCES += uniwidth/width.c
2336 endif
2337
2338 EXTRA_DIST += uniwidth/cjk.h
2339
2340 ## end   gnulib module uniwidth/width
2341
2342 ## begin gnulib module unlocked-io
2343
2344
2345 EXTRA_DIST += unlocked-io.h
2346
2347 ## end   gnulib module unlocked-io
2348
2349 ## begin gnulib module update-copyright
2350
2351
2352 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2353
2354 ## end   gnulib module update-copyright
2355
2356 ## begin gnulib module useless-if-before-free
2357
2358
2359 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2360
2361 ## end   gnulib module useless-if-before-free
2362
2363 ## begin gnulib module vc-list-files
2364
2365
2366 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2367
2368 ## end   gnulib module vc-list-files
2369
2370 ## begin gnulib module verify
2371
2372
2373 EXTRA_DIST += verify.h
2374
2375 ## end   gnulib module verify
2376
2377 ## begin gnulib module version-etc
2378
2379 libgreputils_a_SOURCES += version-etc.h version-etc.c
2380
2381 ## end   gnulib module version-etc
2382
2383 ## begin gnulib module version-etc-fsf
2384
2385 libgreputils_a_SOURCES += version-etc-fsf.c
2386
2387 ## end   gnulib module version-etc-fsf
2388
2389 ## begin gnulib module wchar
2390
2391 BUILT_SOURCES += wchar.h
2392
2393 # We need the following in order to create <wchar.h> when the system
2394 # version does not work standalone.
2395 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2396         $(AM_V_GEN)rm -f $@-t $@ && \
2397         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2398           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2399               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2400               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2401               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2402               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2403               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2404               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2405               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2406               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2407               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2408               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2409               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2410               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2411               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2412               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2413               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2414               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2415               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2416               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2417               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2418               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2419               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2420               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2421               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2422               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2423               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2424               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2425               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2426               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2427               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2428               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2429               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2430               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2431               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2432               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2433               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2434               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2435               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2436               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2437               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2438               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2439               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2440               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2441               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2442               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2443               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2444               < $(srcdir)/wchar.in.h | \
2445           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2446               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2447               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2448               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2449               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2450               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2451               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2452               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2453               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2454               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2455               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2456               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2457               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2458               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2459               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2460               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2461               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2462               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2463               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2464               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2465               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2466               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2467               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2468               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2469               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2470               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2471               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2472               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2473               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2474               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2475               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2476               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2477               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2478               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2479               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2480               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2481               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2482               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2483               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2484               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2485           | \
2486           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2487               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2488               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2489               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2490               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2491               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2492               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2493               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2494               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2495               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2496               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2497               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2498               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2499               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2500               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2501               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2502         } > $@-t && \
2503         mv $@-t $@
2504 MOSTLYCLEANFILES += wchar.h wchar.h-t
2505
2506 EXTRA_DIST += wchar.in.h
2507
2508 ## end   gnulib module wchar
2509
2510 ## begin gnulib module wcrtomb
2511
2512
2513 EXTRA_DIST += wcrtomb.c
2514
2515 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
2516
2517 ## end   gnulib module wcrtomb
2518
2519 ## begin gnulib module wcscoll
2520
2521
2522 EXTRA_DIST += wcscoll-impl.h wcscoll.c
2523
2524 EXTRA_libgreputils_a_SOURCES += wcscoll.c
2525
2526 ## end   gnulib module wcscoll
2527
2528 ## begin gnulib module wctob
2529
2530
2531 EXTRA_DIST += wctob.c
2532
2533 EXTRA_libgreputils_a_SOURCES += wctob.c
2534
2535 ## end   gnulib module wctob
2536
2537 ## begin gnulib module wctomb
2538
2539
2540 EXTRA_DIST += wctomb-impl.h wctomb.c
2541
2542 EXTRA_libgreputils_a_SOURCES += wctomb.c
2543
2544 ## end   gnulib module wctomb
2545
2546 ## begin gnulib module wctype-h
2547
2548 BUILT_SOURCES += wctype.h
2549
2550 # We need the following in order to create <wctype.h> when the system
2551 # doesn't have one that works with the given compiler.
2552 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2553         $(AM_V_GEN)rm -f $@-t $@ && \
2554         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2555           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2556               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2557               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2558               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2559               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2560               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2561               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2562               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2563               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2564               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2565               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2566               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2567               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2568               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2569               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2570               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2571               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2572               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2573               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2574               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2575               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2576               < $(srcdir)/wctype.in.h; \
2577         } > $@-t && \
2578         mv $@-t $@
2579 MOSTLYCLEANFILES += wctype.h wctype.h-t
2580
2581 EXTRA_DIST += wctype.in.h
2582
2583 ## end   gnulib module wctype-h
2584
2585 ## begin gnulib module wcwidth
2586
2587
2588 EXTRA_DIST += wcwidth.c
2589
2590 EXTRA_libgreputils_a_SOURCES += wcwidth.c
2591
2592 ## end   gnulib module wcwidth
2593
2594 ## begin gnulib module xalloc
2595
2596 libgreputils_a_SOURCES += xmalloc.c
2597
2598 EXTRA_DIST += xalloc.h
2599
2600 ## end   gnulib module xalloc
2601
2602 ## begin gnulib module xalloc-die
2603
2604 libgreputils_a_SOURCES += xalloc-die.c
2605
2606 ## end   gnulib module xalloc-die
2607
2608 ## begin gnulib module xalloc-oversized
2609
2610
2611 EXTRA_DIST += xalloc-oversized.h
2612
2613 ## end   gnulib module xalloc-oversized
2614
2615 ## begin gnulib module xstriconv
2616
2617 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
2618
2619 ## end   gnulib module xstriconv
2620
2621 ## begin gnulib module xstrtoimax
2622
2623 libgreputils_a_SOURCES += xstrtoimax.c
2624
2625 ## end   gnulib module xstrtoimax
2626
2627 ## begin gnulib module xstrtol
2628
2629 libgreputils_a_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
2630
2631 EXTRA_DIST += xstrtol.h
2632
2633 ## end   gnulib module xstrtol
2634
2635
2636 mostlyclean-local: mostlyclean-generic
2637         @for dir in '' $(MOSTLYCLEANDIRS); do \
2638           if test -n "$$dir" && test -d $$dir; then \
2639             echo "rmdir $$dir"; rmdir $$dir; \
2640           fi; \
2641         done; \
2642         :