1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgreputils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl alloca announce-gen argmatch atexit 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 manywarnings mbrlen mbrtowc memchr mempcpy minmax obstack open progname propername quotearg realloc regex ssize_t stddef stdlib stpcpy strerror string strtol strtoul strtoull strtoumax sys_stat unistd unlocked-io update-copyright useless-if-before-free version-etc-fsf wchar wcrtomb wctob wctype xalloc xstrtoumax
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
32 noinst_LIBRARIES += libgreputils.a
34 libgreputils_a_SOURCES =
35 libgreputils_a_LIBADD = $(gl_LIBOBJS)
36 libgreputils_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgreputils_a_SOURCES =
39 ## begin gnulib module alloca
42 EXTRA_DIST += alloca.c
44 EXTRA_libgreputils_a_SOURCES += alloca.c
46 libgreputils_a_LIBADD += @ALLOCA@
47 libgreputils_a_DEPENDENCIES += @ALLOCA@
48 ## end gnulib module alloca
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
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.
57 $(AM_V_GEN)rm -f $@-t $@ && \
58 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59 cat $(srcdir)/alloca.in.h; \
62 MOSTLYCLEANFILES += alloca.h alloca.h-t
64 EXTRA_DIST += alloca.in.h
66 ## end gnulib module alloca-opt
68 ## begin gnulib module announce-gen
71 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
73 ## end gnulib module announce-gen
75 ## begin gnulib module arg-nonnull
77 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
78 # statements but through direct file reference. Therefore this snippet must be
79 # present in all Makefile.am that need it. This is ensured by the applicability
80 # 'all' defined above.
82 BUILT_SOURCES += arg-nonnull.h
83 # The arg-nonnull.h that gets inserted into generated .h files is the same as
84 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
85 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
86 $(AM_V_GEN)rm -f $@-t $@ && \
87 sed -n -e '/GL_ARG_NONNULL/,$$p' \
88 < $(top_srcdir)/build-aux/arg-nonnull.h \
91 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
93 ARG_NONNULL_H=arg-nonnull.h
95 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
97 ## end gnulib module arg-nonnull
99 ## begin gnulib module argmatch
102 EXTRA_DIST += argmatch.c argmatch.h
104 EXTRA_libgreputils_a_SOURCES += argmatch.c
106 ## end gnulib module argmatch
108 ## begin gnulib module atexit
111 EXTRA_DIST += atexit.c
113 EXTRA_libgreputils_a_SOURCES += atexit.c
115 ## end gnulib module atexit
117 ## begin gnulib module binary-io
119 libgreputils_a_SOURCES += binary-io.h
121 ## end gnulib module binary-io
123 ## begin gnulib module bitrotate
125 libgreputils_a_SOURCES += bitrotate.h
127 ## end gnulib module bitrotate
129 ## begin gnulib module btowc
132 EXTRA_DIST += btowc.c
134 EXTRA_libgreputils_a_SOURCES += btowc.c
136 ## end gnulib module btowc
138 ## begin gnulib module c++defs
140 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
141 # statements but through direct file reference. Therefore this snippet must be
142 # present in all Makefile.am that need it. This is ensured by the applicability
143 # 'all' defined above.
145 BUILT_SOURCES += c++defs.h
146 # The c++defs.h that gets inserted into generated .h files is the same as
147 # build-aux/c++defs.h, except that it has the copyright header cut off.
148 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
149 $(AM_V_GEN)rm -f $@-t $@ && \
150 sed -n -e '/_GL_CXXDEFS/,$$p' \
151 < $(top_srcdir)/build-aux/c++defs.h \
154 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
158 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
160 ## end gnulib module c++defs
162 ## begin gnulib module c-ctype
164 libgreputils_a_SOURCES += c-ctype.h c-ctype.c
166 ## end gnulib module c-ctype
168 ## begin gnulib module c-strcase
170 libgreputils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
172 ## end gnulib module c-strcase
174 ## begin gnulib module close-stream
177 EXTRA_DIST += close-stream.c close-stream.h
179 EXTRA_libgreputils_a_SOURCES += close-stream.c
181 ## end gnulib module close-stream
183 ## begin gnulib module closeout
186 EXTRA_DIST += closeout.c closeout.h
188 EXTRA_libgreputils_a_SOURCES += closeout.c
190 ## end gnulib module closeout
192 ## begin gnulib module configmake
194 # Retrieve values of the variables through 'configure' followed by
195 # 'make', not directly through 'configure', so that a user who
196 # sets some of these variables consistently on the 'make' command
197 # line gets correct results.
199 # One advantage of this approach, compared to the classical
200 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
201 # is that it protects against the use of undefined variables.
202 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
203 # defined by this module, and code using LIBDIR gives a
206 # Another advantage is that 'make' output is shorter.
208 # Listed in the same order as the GNU makefile conventions.
209 # The Automake-defined pkg* macros are appended, in the order
210 # listed in the Automake 1.10a+ documentation.
211 configmake.h: Makefile
212 $(AM_V_GEN)rm -f $@-t && \
213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
214 echo '#define PREFIX "$(prefix)"'; \
215 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
216 echo '#define BINDIR "$(bindir)"'; \
217 echo '#define SBINDIR "$(sbindir)"'; \
218 echo '#define LIBEXECDIR "$(libexecdir)"'; \
219 echo '#define DATAROOTDIR "$(datarootdir)"'; \
220 echo '#define DATADIR "$(datadir)"'; \
221 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
222 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
223 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
224 echo '#define INCLUDEDIR "$(includedir)"'; \
225 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
226 echo '#define DOCDIR "$(docdir)"'; \
227 echo '#define INFODIR "$(infodir)"'; \
228 echo '#define HTMLDIR "$(htmldir)"'; \
229 echo '#define DVIDIR "$(dvidir)"'; \
230 echo '#define PDFDIR "$(pdfdir)"'; \
231 echo '#define PSDIR "$(psdir)"'; \
232 echo '#define LIBDIR "$(libdir)"'; \
233 echo '#define LISPDIR "$(lispdir)"'; \
234 echo '#define LOCALEDIR "$(localedir)"'; \
235 echo '#define MANDIR "$(mandir)"'; \
236 echo '#define MANEXT "$(manext)"'; \
237 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
238 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
239 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
240 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
241 } | sed '/""/d' > $@-t && \
242 if test -f $@ && cmp $@-t $@ > /dev/null; then \
245 rm -f $@; mv $@-t $@; \
248 BUILT_SOURCES += configmake.h
249 CLEANFILES += configmake.h configmake.h-t
251 ## end gnulib module configmake
253 ## begin gnulib module ctype
255 BUILT_SOURCES += ctype.h
257 # We need the following in order to create <ctype.h> when the system
258 # doesn't have one that works with the given compiler.
259 ctype.h: ctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
260 $(AM_V_GEN)rm -f $@-t $@ && \
261 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
262 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
263 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
264 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
265 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
266 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
267 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
268 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
269 < $(srcdir)/ctype.in.h; \
272 MOSTLYCLEANFILES += ctype.h ctype.h-t
274 EXTRA_DIST += ctype.in.h
276 ## end gnulib module ctype
278 ## begin gnulib module dirent
280 BUILT_SOURCES += dirent.h
282 # We need the following in order to create <dirent.h> when the system
283 # doesn't have one that works with the given compiler.
284 dirent.h: dirent.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
285 $(AM_V_GEN)rm -f $@-t $@ && \
286 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
287 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
288 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
289 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|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_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
295 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
296 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
297 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
298 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
299 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
300 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
301 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
302 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
303 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
304 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
305 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
306 < $(srcdir)/dirent.in.h; \
309 MOSTLYCLEANFILES += dirent.h dirent.h-t
311 EXTRA_DIST += dirent.in.h
313 ## end gnulib module dirent
315 ## begin gnulib module dirname
318 EXTRA_DIST += basename.c dirname.c stripslash.c
320 EXTRA_libgreputils_a_SOURCES += basename.c dirname.c stripslash.c
322 ## end gnulib module dirname
324 ## begin gnulib module dirname-lgpl
327 EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
329 EXTRA_libgreputils_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
331 ## end gnulib module dirname-lgpl
333 ## begin gnulib module do-release-commit-and-tag
336 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
338 ## end gnulib module do-release-commit-and-tag
340 ## begin gnulib module errno
342 BUILT_SOURCES += $(ERRNO_H)
344 # We need the following in order to create <errno.h> when the system
345 # doesn't have one that is POSIX compliant.
347 $(AM_V_GEN)rm -f $@-t $@ && \
348 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
349 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
350 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
351 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
352 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
353 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
354 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
355 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
356 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
357 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
358 < $(srcdir)/errno.in.h; \
361 MOSTLYCLEANFILES += errno.h errno.h-t
363 EXTRA_DIST += errno.in.h
365 ## end gnulib module errno
367 ## begin gnulib module error
370 EXTRA_DIST += error.c error.h
372 EXTRA_libgreputils_a_SOURCES += error.c
374 ## end gnulib module error
376 ## begin gnulib module exclude
379 EXTRA_DIST += exclude.c exclude.h
381 EXTRA_libgreputils_a_SOURCES += exclude.c
383 ## end gnulib module exclude
385 ## begin gnulib module exitfail
387 libgreputils_a_SOURCES += exitfail.c
389 EXTRA_DIST += exitfail.h
391 ## end gnulib module exitfail
393 ## begin gnulib module fcntl-h
395 BUILT_SOURCES += fcntl.h
397 # We need the following in order to create <fcntl.h> when the system
398 # doesn't have one that works with the given compiler.
399 fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
400 $(AM_V_GEN)rm -f $@-t $@ && \
401 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
402 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
403 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
404 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
405 -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|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; \
419 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
421 EXTRA_DIST += fcntl.in.h
423 ## end gnulib module fcntl-h
425 ## begin gnulib module fnmatch
427 BUILT_SOURCES += $(FNMATCH_H)
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 fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
432 $(AM_V_GEN)rm -f $@-t $@ && \
433 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
434 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
435 < $(srcdir)/fnmatch.in.h; \
438 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
440 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
442 EXTRA_libgreputils_a_SOURCES += fnmatch.c fnmatch_loop.c
444 ## end gnulib module fnmatch
446 ## begin gnulib module fpending
449 EXTRA_DIST += fpending.c fpending.h
451 EXTRA_libgreputils_a_SOURCES += fpending.c
453 ## end gnulib module fpending
455 ## begin gnulib module gendocs
458 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
460 ## end gnulib module gendocs
462 ## begin gnulib module getopt-posix
464 BUILT_SOURCES += $(GETOPT_H)
466 # We need the following in order to create <getopt.h> when the system
467 # doesn't have one that works with the given compiler.
468 getopt.h: getopt.in.h $(ARG_NONNULL_H)
469 $(AM_V_GEN)rm -f $@-t $@ && \
470 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
471 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
472 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
473 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
474 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
475 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
476 < $(srcdir)/getopt.in.h; \
479 MOSTLYCLEANFILES += getopt.h getopt.h-t
481 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
483 EXTRA_libgreputils_a_SOURCES += getopt.c getopt1.c
485 ## end gnulib module getopt-posix
487 ## begin gnulib module getpagesize
490 EXTRA_DIST += getpagesize.c
492 EXTRA_libgreputils_a_SOURCES += getpagesize.c
494 ## end gnulib module getpagesize
496 ## begin gnulib module gettext-h
498 libgreputils_a_SOURCES += gettext.h
500 ## end gnulib module gettext-h
502 ## begin gnulib module git-version-gen
505 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
507 ## end gnulib module git-version-gen
509 ## begin gnulib module gitlog-to-changelog
512 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
514 ## end gnulib module gitlog-to-changelog
516 ## begin gnulib module gnu-web-doc-update
519 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
521 ## end gnulib module gnu-web-doc-update
523 ## begin gnulib module gnumakefile
525 distclean-local: clean-GNUmakefile
527 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
529 EXTRA_DIST += $(top_srcdir)/GNUmakefile
531 ## end gnulib module gnumakefile
533 ## begin gnulib module gnupload
536 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
538 ## end gnulib module gnupload
540 ## begin gnulib module gperf
544 ## end gnulib module gperf
546 ## begin gnulib module hard-locale
549 EXTRA_DIST += hard-locale.c hard-locale.h
551 EXTRA_libgreputils_a_SOURCES += hard-locale.c
553 ## end gnulib module hard-locale
555 ## begin gnulib module hash
558 EXTRA_DIST += hash.c hash.h
560 EXTRA_libgreputils_a_SOURCES += hash.c
562 ## end gnulib module hash
564 ## begin gnulib module havelib
567 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
569 ## end gnulib module havelib
571 ## begin gnulib module iconv-h
573 BUILT_SOURCES += $(ICONV_H)
575 # We need the following in order to create <iconv.h> when the system
576 # doesn't have one that works with the given compiler.
577 iconv.h: iconv.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
578 $(AM_V_GEN)rm -f $@-t $@ && \
579 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
580 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
581 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
582 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
583 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
584 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
585 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
586 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
587 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
588 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
589 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
590 < $(srcdir)/iconv.in.h; \
593 MOSTLYCLEANFILES += iconv.h iconv.h-t
595 EXTRA_DIST += iconv.in.h
597 ## end gnulib module iconv-h
599 ## begin gnulib module iconv_open
601 iconv_open-aix.h: iconv_open-aix.gperf
602 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
603 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
604 iconv_open-hpux.h: iconv_open-hpux.gperf
605 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
606 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
607 iconv_open-irix.h: iconv_open-irix.gperf
608 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
609 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
610 iconv_open-osf.h: iconv_open-osf.gperf
611 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
612 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
613 iconv_open-solaris.h: iconv_open-solaris.gperf
614 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
615 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
616 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
617 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
618 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
619 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
621 EXTRA_DIST += iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
623 EXTRA_libgreputils_a_SOURCES += iconv_open.c
625 ## end gnulib module iconv_open
627 ## begin gnulib module ignore-value
629 libgreputils_a_SOURCES += ignore-value.h
631 ## end gnulib module ignore-value
633 ## begin gnulib module intprops
636 EXTRA_DIST += intprops.h
638 ## end gnulib module intprops
640 ## begin gnulib module inttypes
642 BUILT_SOURCES += inttypes.h
644 # We need the following in order to create <inttypes.h> when the system
645 # doesn't have one that works with the given compiler.
646 inttypes.h: inttypes.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
647 $(AM_V_GEN)rm -f $@-t $@ && \
648 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
649 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
650 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
651 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
652 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
653 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
654 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
655 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
656 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
657 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
658 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
659 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
660 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
661 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
662 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
663 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
664 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
665 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
666 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
667 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
668 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
669 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
670 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
671 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
672 < $(srcdir)/inttypes.in.h; \
675 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
677 EXTRA_DIST += inttypes.in.h
679 ## end gnulib module inttypes
681 ## begin gnulib module isblank
684 EXTRA_DIST += isblank.c
686 EXTRA_libgreputils_a_SOURCES += isblank.c
688 ## end gnulib module isblank
690 ## begin gnulib module isdir
692 libgreputils_a_SOURCES += isdir.c
694 EXTRA_DIST += isdir.h
696 ## end gnulib module isdir
698 ## begin gnulib module langinfo
700 BUILT_SOURCES += langinfo.h
702 # We need the following in order to create an empty placeholder for
703 # <langinfo.h> when the system doesn't have one.
704 langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
705 $(AM_V_GEN)rm -f $@-t $@ && \
706 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
707 sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
708 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
709 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
710 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
711 -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
712 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
713 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
714 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
715 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
716 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
717 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
718 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
719 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
720 < $(srcdir)/langinfo.in.h; \
723 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
725 EXTRA_DIST += langinfo.in.h
727 ## end gnulib module langinfo
729 ## begin gnulib module localcharset
731 libgreputils_a_SOURCES += localcharset.h localcharset.c
733 # We need the following in order to install a simple file in $(libdir)
734 # which is shared with other installed packages. We use a list of referencing
735 # packages so that "make uninstall" will remove the file if and only if it
736 # is not used by another installed package.
737 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
738 # avoid installing it.
740 all-local: charset.alias ref-add.sed ref-del.sed
742 charset_alias = $(DESTDIR)$(libdir)/charset.alias
743 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
744 install-exec-local: install-exec-localcharset
745 install-exec-localcharset: all-local
746 if test $(GLIBC21) = no; then \
747 case '$(host_os)' in \
749 need_charset_alias=true ;; \
750 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
751 need_charset_alias=false ;; \
753 need_charset_alias=true ;; \
756 need_charset_alias=false ; \
758 if $$need_charset_alias; then \
759 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
761 if test -f $(charset_alias); then \
762 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
763 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
764 rm -f $(charset_tmp) ; \
766 if $$need_charset_alias; then \
767 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
768 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
769 rm -f $(charset_tmp) ; \
773 uninstall-local: uninstall-localcharset
774 uninstall-localcharset: all-local
775 if test -f $(charset_alias); then \
776 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
777 if grep '^# Packages using this file: $$' $(charset_tmp) \
779 rm -f $(charset_alias); \
781 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
783 rm -f $(charset_tmp); \
786 charset.alias: config.charset
787 $(AM_V_GEN)rm -f t-$@ $@ && \
788 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
791 SUFFIXES += .sed .sin
793 $(AM_V_GEN)rm -f t-$@ $@ && \
794 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
797 CLEANFILES += charset.alias ref-add.sed ref-del.sed
799 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
801 ## end gnulib module localcharset
803 ## begin gnulib module locale
805 BUILT_SOURCES += locale.h
807 # We need the following in order to create <locale.h> when the system
808 # doesn't have one that provides all definitions.
809 locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
810 $(AM_V_GEN)rm -f $@-t $@ && \
811 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
812 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
813 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
814 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
815 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
816 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
817 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
818 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
819 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
820 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
821 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
822 < $(srcdir)/locale.in.h; \
825 MOSTLYCLEANFILES += locale.h locale.h-t
827 EXTRA_DIST += locale.in.h
829 ## end gnulib module locale
831 ## begin gnulib module lseek
834 EXTRA_DIST += lseek.c
836 EXTRA_libgreputils_a_SOURCES += lseek.c
838 ## end gnulib module lseek
840 ## begin gnulib module maintainer-makefile
842 EXTRA_DIST += $(top_srcdir)/maint.mk
844 ## end gnulib module maintainer-makefile
846 ## begin gnulib module malloc-gnu
849 EXTRA_DIST += malloc.c
851 EXTRA_libgreputils_a_SOURCES += malloc.c
853 ## end gnulib module malloc-gnu
855 ## begin gnulib module malloc-posix
858 EXTRA_DIST += malloc.c
860 EXTRA_libgreputils_a_SOURCES += malloc.c
862 ## end gnulib module malloc-posix
864 ## begin gnulib module malloca
866 libgreputils_a_SOURCES += malloca.c
868 EXTRA_DIST += malloca.h malloca.valgrind
870 ## end gnulib module malloca
872 ## begin gnulib module mbchar
874 libgreputils_a_SOURCES += mbchar.c
876 EXTRA_DIST += mbchar.h
878 ## end gnulib module mbchar
880 ## begin gnulib module mbiter
882 libgreputils_a_SOURCES += mbiter.h
884 ## end gnulib module mbiter
886 ## begin gnulib module mbrlen
889 EXTRA_DIST += mbrlen.c
891 EXTRA_libgreputils_a_SOURCES += mbrlen.c
893 ## end gnulib module mbrlen
895 ## begin gnulib module mbrtowc
898 EXTRA_DIST += mbrtowc.c
900 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
902 ## end gnulib module mbrtowc
904 ## begin gnulib module mbscasecmp
906 libgreputils_a_SOURCES += mbscasecmp.c
908 ## end gnulib module mbscasecmp
910 ## begin gnulib module mbsinit
913 EXTRA_DIST += mbsinit.c
915 EXTRA_libgreputils_a_SOURCES += mbsinit.c
917 ## end gnulib module mbsinit
919 ## begin gnulib module mbslen
921 libgreputils_a_SOURCES += mbslen.c
923 ## end gnulib module mbslen
925 ## begin gnulib module mbsrtowcs
928 EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c
930 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
932 ## end gnulib module mbsrtowcs
934 ## begin gnulib module mbsstr
936 libgreputils_a_SOURCES += mbsstr.c
938 EXTRA_DIST += str-kmp.h
940 ## end gnulib module mbsstr
942 ## begin gnulib module mbuiter
944 libgreputils_a_SOURCES += mbuiter.h
946 ## end gnulib module mbuiter
948 ## begin gnulib module memchr
951 EXTRA_DIST += memchr.c memchr.valgrind
953 EXTRA_libgreputils_a_SOURCES += memchr.c
955 ## end gnulib module memchr
957 ## begin gnulib module mempcpy
960 EXTRA_DIST += mempcpy.c
962 EXTRA_libgreputils_a_SOURCES += mempcpy.c
964 ## end gnulib module mempcpy
966 ## begin gnulib module minmax
968 libgreputils_a_SOURCES += minmax.h
970 ## end gnulib module minmax
972 ## begin gnulib module nl_langinfo
975 EXTRA_DIST += nl_langinfo.c
977 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
979 ## end gnulib module nl_langinfo
981 ## begin gnulib module obstack
984 EXTRA_DIST += obstack.c obstack.h
986 EXTRA_libgreputils_a_SOURCES += obstack.c
988 ## end gnulib module obstack
990 ## begin gnulib module open
995 EXTRA_libgreputils_a_SOURCES += open.c
997 ## end gnulib module open
999 ## begin gnulib module progname
1001 libgreputils_a_SOURCES += progname.h progname.c
1003 ## end gnulib module progname
1005 ## begin gnulib module propername
1007 libgreputils_a_SOURCES += propername.h propername.c
1009 ## end gnulib module propername
1011 ## begin gnulib module quote
1014 EXTRA_DIST += quote.c quote.h
1016 EXTRA_libgreputils_a_SOURCES += quote.c
1018 ## end gnulib module quote
1020 ## begin gnulib module quotearg
1023 EXTRA_DIST += quotearg.c quotearg.h
1025 EXTRA_libgreputils_a_SOURCES += quotearg.c
1027 ## end gnulib module quotearg
1029 ## begin gnulib module realloc-gnu
1032 EXTRA_DIST += realloc.c
1034 EXTRA_libgreputils_a_SOURCES += realloc.c
1036 ## end gnulib module realloc-gnu
1038 ## begin gnulib module realloc-posix
1041 EXTRA_DIST += realloc.c
1043 EXTRA_libgreputils_a_SOURCES += realloc.c
1045 ## end gnulib module realloc-posix
1047 ## begin gnulib module regex
1050 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1052 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1054 ## end gnulib module regex
1056 ## begin gnulib module stat
1059 EXTRA_DIST += stat.c
1061 EXTRA_libgreputils_a_SOURCES += stat.c
1063 ## end gnulib module stat
1065 ## begin gnulib module stdarg
1067 BUILT_SOURCES += $(STDARG_H)
1069 # We need the following in order to create <stdarg.h> when the system
1070 # doesn't have one that works with the given compiler.
1071 stdarg.h: stdarg.in.h
1072 $(AM_V_GEN)rm -f $@-t $@ && \
1073 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1074 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1075 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1076 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1077 < $(srcdir)/stdarg.in.h; \
1080 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1082 EXTRA_DIST += stdarg.in.h
1084 ## end gnulib module stdarg
1086 ## begin gnulib module stdbool
1088 BUILT_SOURCES += $(STDBOOL_H)
1090 # We need the following in order to create <stdbool.h> when the system
1091 # doesn't have one that works.
1092 stdbool.h: stdbool.in.h
1093 $(AM_V_GEN)rm -f $@-t $@ && \
1094 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1095 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1098 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1100 EXTRA_DIST += stdbool.in.h
1102 ## end gnulib module stdbool
1104 ## begin gnulib module stddef
1106 BUILT_SOURCES += $(STDDEF_H)
1108 # We need the following in order to create <stddef.h> when the system
1109 # doesn't have one that works with the given compiler.
1110 stddef.h: stddef.in.h
1111 $(AM_V_GEN)rm -f $@-t $@ && \
1112 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1113 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1114 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1115 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1116 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1117 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1118 < $(srcdir)/stddef.in.h; \
1121 MOSTLYCLEANFILES += stddef.h stddef.h-t
1123 EXTRA_DIST += stddef.in.h
1125 ## end gnulib module stddef
1127 ## begin gnulib module stdint
1129 BUILT_SOURCES += $(STDINT_H)
1131 # We need the following in order to create <stdint.h> when the system
1132 # doesn't have one that works with the given compiler.
1133 stdint.h: stdint.in.h
1134 $(AM_V_GEN)rm -f $@-t $@ && \
1135 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1136 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1137 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1138 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1139 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1140 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1141 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1142 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1143 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1144 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1145 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1146 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1147 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1148 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1149 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1150 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1151 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1152 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1153 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1154 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1155 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1156 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1157 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1158 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1159 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1160 < $(srcdir)/stdint.in.h; \
1163 MOSTLYCLEANFILES += stdint.h stdint.h-t
1165 EXTRA_DIST += stdint.in.h
1167 ## end gnulib module stdint
1169 ## begin gnulib module stdlib
1171 BUILT_SOURCES += stdlib.h
1173 # We need the following in order to create <stdlib.h> when the system
1174 # doesn't have one that works with the given compiler.
1175 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1176 $(AM_V_GEN)rm -f $@-t $@ && \
1177 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1178 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1179 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1180 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1181 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
1182 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1183 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1184 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1185 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1186 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1187 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
1188 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1189 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1190 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1191 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
1192 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1193 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1194 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
1195 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1196 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1197 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1198 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1199 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1200 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1201 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1202 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1203 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1204 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
1205 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1206 -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1207 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1208 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1209 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1210 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1211 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1212 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1213 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1214 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1215 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1216 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1217 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1218 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1219 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1220 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1221 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1222 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1223 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1224 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1225 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1226 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1227 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1228 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1229 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1230 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1231 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1232 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1233 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1234 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1235 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1236 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1237 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1238 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1239 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1240 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1241 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1242 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1243 < $(srcdir)/stdlib.in.h; \
1246 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1248 EXTRA_DIST += stdlib.in.h
1250 ## end gnulib module stdlib
1252 ## begin gnulib module stpcpy
1255 EXTRA_DIST += stpcpy.c
1257 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1259 ## end gnulib module stpcpy
1261 ## begin gnulib module streq
1264 EXTRA_DIST += streq.h
1266 ## end gnulib module streq
1268 ## begin gnulib module strerror
1271 EXTRA_DIST += strerror.c
1273 EXTRA_libgreputils_a_SOURCES += strerror.c
1275 ## end gnulib module strerror
1277 ## begin gnulib module striconv
1279 libgreputils_a_SOURCES += striconv.h striconv.c
1283 ## end gnulib module striconv
1285 ## begin gnulib module string
1287 BUILT_SOURCES += string.h
1289 # We need the following in order to create <string.h> when the system
1290 # doesn't have one that works with the given compiler.
1291 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1292 $(AM_V_GEN)rm -f $@-t $@ && \
1293 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1294 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1295 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1296 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1297 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1298 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1299 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1300 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1301 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1302 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1303 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1304 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1305 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1306 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1307 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1308 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1309 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1310 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1311 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1312 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1313 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1314 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1315 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1316 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1317 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1318 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1319 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1320 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
1321 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1322 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1323 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1324 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1325 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1326 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1327 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1328 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1329 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1330 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1331 < $(srcdir)/string.in.h | \
1332 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1333 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1334 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1335 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1336 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1337 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1338 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1339 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1340 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1341 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1342 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1343 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1344 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1345 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1346 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1347 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1348 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1349 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1350 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1351 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1352 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1353 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1354 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1355 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1356 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1357 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1358 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1359 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1360 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1361 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1362 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1363 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1364 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1365 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1366 < $(srcdir)/string.in.h; \
1369 MOSTLYCLEANFILES += string.h string.h-t
1371 EXTRA_DIST += string.in.h
1373 ## end gnulib module string
1375 ## begin gnulib module strndup
1378 EXTRA_DIST += strndup.c
1380 EXTRA_libgreputils_a_SOURCES += strndup.c
1382 ## end gnulib module strndup
1384 ## begin gnulib module strnlen
1387 EXTRA_DIST += strnlen.c
1389 EXTRA_libgreputils_a_SOURCES += strnlen.c
1391 ## end gnulib module strnlen
1393 ## begin gnulib module strnlen1
1395 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
1397 ## end gnulib module strnlen1
1399 ## begin gnulib module strtoimax
1402 EXTRA_DIST += strtoimax.c
1404 EXTRA_libgreputils_a_SOURCES += strtoimax.c
1406 ## end gnulib module strtoimax
1408 ## begin gnulib module strtol
1411 EXTRA_DIST += strtol.c
1413 EXTRA_libgreputils_a_SOURCES += strtol.c
1415 ## end gnulib module strtol
1417 ## begin gnulib module strtoll
1420 EXTRA_DIST += strtoll.c
1422 EXTRA_libgreputils_a_SOURCES += strtoll.c
1424 ## end gnulib module strtoll
1426 ## begin gnulib module strtoul
1429 EXTRA_DIST += strtoul.c
1431 EXTRA_libgreputils_a_SOURCES += strtoul.c
1433 ## end gnulib module strtoul
1435 ## begin gnulib module strtoull
1438 EXTRA_DIST += strtoull.c
1440 EXTRA_libgreputils_a_SOURCES += strtoull.c
1442 ## end gnulib module strtoull
1444 ## begin gnulib module strtoumax
1447 EXTRA_DIST += strtoumax.c
1449 EXTRA_libgreputils_a_SOURCES += strtoumax.c
1451 ## end gnulib module strtoumax
1453 ## begin gnulib module sys_stat
1455 BUILT_SOURCES += sys/stat.h
1457 # We need the following in order to create <sys/stat.h> when the system
1458 # has one that is incomplete.
1459 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1460 $(AM_V_at)$(MKDIR_P) sys
1461 $(AM_V_GEN)rm -f $@-t $@ && \
1462 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1463 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1464 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1465 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1466 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1467 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1468 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1469 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1470 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1471 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1472 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1473 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1474 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1475 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1476 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1477 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1478 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1479 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1480 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1481 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1482 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1483 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1484 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1485 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1486 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1487 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1488 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1489 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1490 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1491 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1492 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1493 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1494 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1495 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1496 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1497 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1498 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1499 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1500 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1501 < $(srcdir)/sys_stat.in.h; \
1504 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1505 MOSTLYCLEANDIRS += sys
1507 EXTRA_DIST += sys_stat.in.h
1509 ## end gnulib module sys_stat
1511 ## begin gnulib module time
1513 BUILT_SOURCES += time.h
1515 # We need the following in order to create <time.h> when the system
1516 # doesn't have one that works with the given compiler.
1517 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1518 $(AM_V_GEN)rm -f $@-t $@ && \
1519 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1520 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1521 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1522 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1523 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1524 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1525 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1526 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1527 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1528 -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1529 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1530 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1531 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1532 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1533 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1534 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1535 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1536 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1537 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1538 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1539 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1540 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1541 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1542 < $(srcdir)/time.in.h; \
1545 MOSTLYCLEANFILES += time.h time.h-t
1547 EXTRA_DIST += time.in.h
1549 ## end gnulib module time
1551 ## begin gnulib module trim
1553 libgreputils_a_SOURCES += trim.c
1555 EXTRA_DIST += trim.h
1557 ## end gnulib module trim
1559 ## begin gnulib module unistd
1561 BUILT_SOURCES += unistd.h
1563 # We need the following in order to create an empty placeholder for
1564 # <unistd.h> when the system doesn't have one.
1565 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1566 $(AM_V_GEN)rm -f $@-t $@ && \
1567 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1568 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1569 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1570 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1571 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1572 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1573 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1574 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1575 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1576 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1577 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1578 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1579 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1580 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1581 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1582 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1583 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1584 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1585 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1586 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1587 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1588 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1589 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1590 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1591 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1592 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1593 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1594 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1595 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1596 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1597 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1598 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
1599 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1600 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1601 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1602 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1603 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1604 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1605 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1606 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1607 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1608 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1609 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1610 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1611 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1612 < $(srcdir)/unistd.in.h | \
1613 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1614 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1615 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1616 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1617 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1618 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1619 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1620 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1621 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1622 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1623 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1624 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1625 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1626 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1627 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1628 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1629 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1630 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1631 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1632 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1633 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1634 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1635 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1636 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1637 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1638 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1639 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1640 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1641 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1642 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1643 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1644 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1645 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1646 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1647 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1648 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1649 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1650 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1651 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1652 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1653 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1654 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1655 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1656 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1657 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1658 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1659 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1660 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1661 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1662 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1663 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1664 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1665 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1666 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1667 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1668 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1669 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1670 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1671 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1672 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1673 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1674 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1675 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1678 MOSTLYCLEANFILES += unistd.h unistd.h-t
1680 EXTRA_DIST += unistd.in.h
1682 ## end gnulib module unistd
1684 ## begin gnulib module unitypes
1686 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1688 unitypes.h: unitypes.in.h
1689 $(AM_V_GEN)rm -f $@-t $@ && \
1690 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1691 cat $(srcdir)/unitypes.in.h; \
1694 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
1696 EXTRA_DIST += unitypes.in.h
1698 ## end gnulib module unitypes
1700 ## begin gnulib module uniwidth/base
1702 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
1704 uniwidth.h: uniwidth.in.h
1705 $(AM_V_GEN)rm -f $@-t $@ && \
1706 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1707 cat $(srcdir)/uniwidth.in.h; \
1710 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1712 EXTRA_DIST += localcharset.h uniwidth.in.h
1714 ## end gnulib module uniwidth/base
1716 ## begin gnulib module uniwidth/width
1718 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1719 libgreputils_a_SOURCES += uniwidth/width.c
1722 EXTRA_DIST += uniwidth/cjk.h
1724 ## end gnulib module uniwidth/width
1726 ## begin gnulib module unlocked-io
1729 EXTRA_DIST += unlocked-io.h
1731 ## end gnulib module unlocked-io
1733 ## begin gnulib module update-copyright
1736 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1738 ## end gnulib module update-copyright
1740 ## begin gnulib module useless-if-before-free
1743 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1745 ## end gnulib module useless-if-before-free
1747 ## begin gnulib module vc-list-files
1750 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1752 ## end gnulib module vc-list-files
1754 ## begin gnulib module verify
1756 libgreputils_a_SOURCES += verify.h
1758 ## end gnulib module verify
1760 ## begin gnulib module version-etc
1762 libgreputils_a_SOURCES += version-etc.h version-etc.c
1764 ## end gnulib module version-etc
1766 ## begin gnulib module version-etc-fsf
1768 libgreputils_a_SOURCES += version-etc-fsf.c
1770 ## end gnulib module version-etc-fsf
1772 ## begin gnulib module warn-on-use
1774 BUILT_SOURCES += warn-on-use.h
1775 # The warn-on-use.h that gets inserted into generated .h files is the same as
1776 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1777 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1778 $(AM_V_GEN)rm -f $@-t $@ && \
1779 sed -n -e '/^.ifndef/,$$p' \
1780 < $(top_srcdir)/build-aux/warn-on-use.h \
1783 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1785 WARN_ON_USE_H=warn-on-use.h
1787 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1789 ## end gnulib module warn-on-use
1791 ## begin gnulib module wchar
1793 BUILT_SOURCES += wchar.h
1795 # We need the following in order to create <wchar.h> when the system
1796 # version does not work standalone.
1797 wchar.h: wchar.in.h $(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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1801 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1802 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1803 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1804 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1805 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1806 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1807 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1808 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1809 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1810 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1811 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1812 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1813 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1814 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1815 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1816 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1817 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1818 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1819 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1820 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1821 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1822 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1823 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1824 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1825 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1826 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1827 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1828 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1829 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1830 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1831 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1832 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1833 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1834 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1835 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1836 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1837 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1838 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1839 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1840 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1841 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1842 < $(srcdir)/wchar.in.h; \
1845 MOSTLYCLEANFILES += wchar.h wchar.h-t
1847 EXTRA_DIST += wchar.in.h
1849 ## end gnulib module wchar
1851 ## begin gnulib module wcrtomb
1854 EXTRA_DIST += wcrtomb.c
1856 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
1858 ## end gnulib module wcrtomb
1860 ## begin gnulib module wctob
1863 EXTRA_DIST += wctob.c
1865 EXTRA_libgreputils_a_SOURCES += wctob.c
1867 ## end gnulib module wctob
1869 ## begin gnulib module wctype
1871 BUILT_SOURCES += wctype.h
1873 # We need the following in order to create <wctype.h> when the system
1874 # doesn't have one that works with the given compiler.
1875 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1876 $(AM_V_GEN)rm -f $@-t $@ && \
1877 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1878 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1879 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1880 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1881 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1882 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1883 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1884 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1885 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1886 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1887 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1888 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1889 < $(srcdir)/wctype.in.h; \
1892 MOSTLYCLEANFILES += wctype.h wctype.h-t
1894 EXTRA_DIST += wctype.in.h
1896 ## end gnulib module wctype
1898 ## begin gnulib module wcwidth
1901 EXTRA_DIST += wcwidth.c
1903 EXTRA_libgreputils_a_SOURCES += wcwidth.c
1905 ## end gnulib module wcwidth
1907 ## begin gnulib module xalloc
1910 EXTRA_DIST += xalloc.h xmalloc.c
1912 EXTRA_libgreputils_a_SOURCES += xmalloc.c
1914 ## end gnulib module xalloc
1916 ## begin gnulib module xalloc-die
1918 libgreputils_a_SOURCES += xalloc-die.c
1920 ## end gnulib module xalloc-die
1922 ## begin gnulib module xstriconv
1924 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
1926 ## end gnulib module xstriconv
1928 ## begin gnulib module xstrndup
1930 libgreputils_a_SOURCES += xstrndup.h xstrndup.c
1932 ## end gnulib module xstrndup
1934 ## begin gnulib module xstrtol
1937 EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
1939 EXTRA_libgreputils_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
1941 ## end gnulib module xstrtol
1943 ## begin gnulib module xstrtoumax
1945 libgreputils_a_SOURCES += xstrtoumax.c
1947 ## end gnulib module xstrtoumax
1950 mostlyclean-local: mostlyclean-generic
1951 @for dir in '' $(MOSTLYCLEANDIRS); do \
1952 if test -n "$$dir" && test -d $$dir; then \
1953 echo "rmdir $$dir"; rmdir $$dir; \