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