1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgreputils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=lock-tests --makefile-name=gnulib.mk --no-conditional-dependencies --no-libtool --macro-prefix=gl alloca announce-gen argmatch binary-io btowc c-ctype closeout do-release-commit-and-tag error exclude fcntl-h fnmatch fstatat fts getopt-gnu getpagesize gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload ignore-value intprops inttypes isatty isblank iswctype largefile locale lseek maintainer-makefile malloc-gnu manywarnings mbrlen mbrtowc memchr mempcpy minmax obstack openat-safer perl progname propername quote readme-release realloc-gnu regex same-inode ssize_t stddef stdlib stpcpy strerror string strtoull strtoumax sys_stat unistd unlocked-io update-copyright useless-if-before-free version-etc-fsf wchar wcrtomb wcscoll wctob wctype-h xalloc xstrtoimax
27 MOSTLYCLEANFILES += core *.stackdump
29 noinst_LIBRARIES += libgreputils.a
31 libgreputils_a_SOURCES =
32 libgreputils_a_LIBADD = $(gl_LIBOBJS)
33 libgreputils_a_DEPENDENCIES = $(gl_LIBOBJS)
34 EXTRA_libgreputils_a_SOURCES =
36 ## begin gnulib module alloca
39 libgreputils_a_LIBADD += @ALLOCA@
40 libgreputils_a_DEPENDENCIES += @ALLOCA@
41 EXTRA_DIST += alloca.c
43 EXTRA_libgreputils_a_SOURCES += alloca.c
45 ## end gnulib module alloca
47 ## begin gnulib module alloca-opt
49 BUILT_SOURCES += $(ALLOCA_H)
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
53 if GL_GENERATE_ALLOCA_H
54 alloca.h: alloca.in.h $(top_builddir)/config.status
55 $(AM_V_GEN)rm -f $@-t $@ && \
56 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
57 cat $(srcdir)/alloca.in.h; \
61 alloca.h: $(top_builddir)/config.status
64 MOSTLYCLEANFILES += alloca.h alloca.h-t
66 EXTRA_DIST += alloca.in.h
68 ## end gnulib module alloca-opt
70 ## begin gnulib module announce-gen
73 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
75 ## end gnulib module announce-gen
77 ## begin gnulib module argmatch
79 libgreputils_a_SOURCES += argmatch.c
81 EXTRA_DIST += argmatch.h
83 ## end gnulib module argmatch
85 ## begin gnulib module at-internal
88 EXTRA_DIST += openat-priv.h openat-proc.c
90 EXTRA_libgreputils_a_SOURCES += openat-proc.c
92 ## end gnulib module at-internal
94 ## begin gnulib module binary-io
96 libgreputils_a_SOURCES += binary-io.h
98 ## end gnulib module binary-io
100 ## begin gnulib module bitrotate
102 libgreputils_a_SOURCES += bitrotate.h
104 ## end gnulib module bitrotate
106 ## begin gnulib module btowc
109 EXTRA_DIST += btowc.c
111 EXTRA_libgreputils_a_SOURCES += btowc.c
113 ## end gnulib module btowc
115 ## begin gnulib module c-ctype
117 libgreputils_a_SOURCES += c-ctype.h c-ctype.c
119 ## end gnulib module c-ctype
121 ## begin gnulib module c-strcase
123 libgreputils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
125 ## end gnulib module c-strcase
127 ## begin gnulib module c-strcaseeq
130 EXTRA_DIST += c-strcaseeq.h
132 ## end gnulib module c-strcaseeq
134 ## begin gnulib module chdir-long
137 EXTRA_DIST += chdir-long.c chdir-long.h
139 EXTRA_libgreputils_a_SOURCES += chdir-long.c
141 ## end gnulib module chdir-long
143 ## begin gnulib module cloexec
145 libgreputils_a_SOURCES += cloexec.c
147 EXTRA_DIST += cloexec.h
149 ## end gnulib module cloexec
151 ## begin gnulib module close
154 EXTRA_DIST += close.c
156 EXTRA_libgreputils_a_SOURCES += close.c
158 ## end gnulib module close
160 ## begin gnulib module close-stream
162 libgreputils_a_SOURCES += close-stream.c
164 EXTRA_DIST += close-stream.h
166 ## end gnulib module close-stream
168 ## begin gnulib module closedir
171 EXTRA_DIST += closedir.c dirent-private.h
173 EXTRA_libgreputils_a_SOURCES += closedir.c
175 ## end gnulib module closedir
177 ## begin gnulib module closeout
179 libgreputils_a_SOURCES += closeout.c
181 EXTRA_DIST += closeout.h
183 ## end gnulib module closeout
185 ## begin gnulib module configmake
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 && \
224 BUILT_SOURCES += configmake.h
225 CLEANFILES += configmake.h configmake.h-t
227 ## end gnulib module configmake
229 ## begin gnulib module ctype
231 BUILT_SOURCES += ctype.h
233 # We need the following in order to create <ctype.h> when the system
234 # doesn't have one that works with the given compiler.
235 ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
236 $(AM_V_GEN)rm -f $@-t $@ && \
237 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
238 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
239 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
240 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
241 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
242 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
243 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
244 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
245 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
246 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
247 < $(srcdir)/ctype.in.h; \
250 MOSTLYCLEANFILES += ctype.h ctype.h-t
252 EXTRA_DIST += ctype.in.h
254 ## end gnulib module ctype
256 ## begin gnulib module cycle-check
258 libgreputils_a_SOURCES += cycle-check.c
260 EXTRA_DIST += cycle-check.h
262 ## end gnulib module cycle-check
264 ## begin gnulib module dev-ino
267 EXTRA_DIST += dev-ino.h
269 ## end gnulib module dev-ino
271 ## begin gnulib module dirent
273 BUILT_SOURCES += dirent.h
275 # We need the following in order to create <dirent.h> when the system
276 # doesn't have one that works with the given compiler.
277 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
278 $(AM_V_GEN)rm -f $@-t $@ && \
279 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
280 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
281 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
282 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
283 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
284 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
285 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
286 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
287 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
288 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
289 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
290 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
291 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
292 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
293 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
294 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
295 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
296 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
297 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
298 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
299 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
300 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
301 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
302 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
303 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
304 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
305 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
306 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
307 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
308 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
309 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
310 < $(srcdir)/dirent.in.h; \
313 MOSTLYCLEANFILES += dirent.h dirent.h-t
315 EXTRA_DIST += dirent.in.h
317 ## end gnulib module dirent
319 ## begin gnulib module dirent-safer
321 libgreputils_a_SOURCES += opendir-safer.c
323 EXTRA_DIST += dirent--.h dirent-safer.h
325 ## end gnulib module dirent-safer
327 ## begin gnulib module dirfd
330 EXTRA_DIST += dirfd.c
332 EXTRA_libgreputils_a_SOURCES += dirfd.c
334 ## end gnulib module dirfd
336 ## begin gnulib module dirname-lgpl
338 libgreputils_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
340 EXTRA_DIST += dirname.h
342 ## end gnulib module dirname-lgpl
344 ## begin gnulib module do-release-commit-and-tag
347 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
349 ## end gnulib module do-release-commit-and-tag
351 ## begin gnulib module dosname
354 EXTRA_DIST += dosname.h
356 ## end gnulib module dosname
358 ## begin gnulib module dup
363 EXTRA_libgreputils_a_SOURCES += dup.c
365 ## end gnulib module dup
367 ## begin gnulib module dup2
372 EXTRA_libgreputils_a_SOURCES += dup2.c
374 ## end gnulib module dup2
376 ## begin gnulib module errno
378 BUILT_SOURCES += $(ERRNO_H)
380 # We need the following in order to create <errno.h> when the system
381 # doesn't have one that is POSIX compliant.
382 if GL_GENERATE_ERRNO_H
383 errno.h: errno.in.h $(top_builddir)/config.status
384 $(AM_V_GEN)rm -f $@-t $@ && \
385 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
386 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
387 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
388 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
389 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
390 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
391 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
392 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
393 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
394 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
395 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
396 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
397 < $(srcdir)/errno.in.h; \
401 errno.h: $(top_builddir)/config.status
404 MOSTLYCLEANFILES += errno.h errno.h-t
406 EXTRA_DIST += errno.in.h
408 ## end gnulib module errno
410 ## begin gnulib module error
413 EXTRA_DIST += error.c error.h
415 EXTRA_libgreputils_a_SOURCES += error.c
417 ## end gnulib module error
419 ## begin gnulib module exclude
421 libgreputils_a_SOURCES += exclude.c
423 EXTRA_DIST += exclude.h
425 ## end gnulib module exclude
427 ## begin gnulib module exitfail
429 libgreputils_a_SOURCES += exitfail.c
431 EXTRA_DIST += exitfail.h
433 ## end gnulib module exitfail
435 ## begin gnulib module fchdir
438 EXTRA_DIST += fchdir.c
440 EXTRA_libgreputils_a_SOURCES += fchdir.c
442 ## end gnulib module fchdir
444 ## begin gnulib module fcntl
447 EXTRA_DIST += fcntl.c
449 EXTRA_libgreputils_a_SOURCES += fcntl.c
451 ## end gnulib module fcntl
453 ## begin gnulib module fcntl-h
455 BUILT_SOURCES += fcntl.h
457 # We need the following in order to create <fcntl.h> when the system
458 # doesn't have one that works with the given compiler.
459 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
460 $(AM_V_GEN)rm -f $@-t $@ && \
461 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
462 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
463 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
464 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
465 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
466 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
467 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
468 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
469 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
470 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
471 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
472 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
473 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
474 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
475 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
476 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
477 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
478 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
479 < $(srcdir)/fcntl.in.h; \
482 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
484 EXTRA_DIST += fcntl.in.h
486 ## end gnulib module fcntl-h
488 ## begin gnulib module fcntl-safer
490 libgreputils_a_SOURCES += creat-safer.c open-safer.c
492 EXTRA_DIST += fcntl--.h fcntl-safer.h
494 ## end gnulib module fcntl-safer
496 ## begin gnulib module fd-hook
498 libgreputils_a_SOURCES += fd-hook.c
500 EXTRA_DIST += fd-hook.h
502 ## end gnulib module fd-hook
504 ## begin gnulib module fdopendir
507 EXTRA_DIST += fdopendir.c
509 EXTRA_libgreputils_a_SOURCES += fdopendir.c
511 ## end gnulib module fdopendir
513 ## begin gnulib module filename
516 EXTRA_DIST += filename.h
518 ## end gnulib module filename
520 ## begin gnulib module filenamecat-lgpl
522 libgreputils_a_SOURCES += filenamecat-lgpl.c
524 EXTRA_DIST += filenamecat.h
526 ## end gnulib module filenamecat-lgpl
528 ## begin gnulib module fnmatch
530 BUILT_SOURCES += $(FNMATCH_H)
532 # We need the following in order to create <fnmatch.h> when the system
533 # doesn't have one that supports the required API.
534 if GL_GENERATE_FNMATCH_H
535 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
536 $(AM_V_GEN)rm -f $@-t $@ && \
537 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
538 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
539 < $(srcdir)/fnmatch.in.h; \
543 fnmatch.h: $(top_builddir)/config.status
546 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
548 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
550 EXTRA_libgreputils_a_SOURCES += fnmatch.c fnmatch_loop.c
552 ## end gnulib module fnmatch
554 ## begin gnulib module fpending
557 EXTRA_DIST += fpending.c fpending.h
559 EXTRA_libgreputils_a_SOURCES += fpending.c
561 ## end gnulib module fpending
563 ## begin gnulib module fstat
566 EXTRA_DIST += fstat.c
568 EXTRA_libgreputils_a_SOURCES += fstat.c
570 ## end gnulib module fstat
572 ## begin gnulib module fstatat
575 EXTRA_DIST += at-func.c fstatat.c openat-priv.h
577 EXTRA_libgreputils_a_SOURCES += at-func.c fstatat.c
579 ## end gnulib module fstatat
581 ## begin gnulib module fts
584 EXTRA_DIST += fts-cycle.c fts.c fts_.h
586 EXTRA_libgreputils_a_SOURCES += fts-cycle.c fts.c
588 ## end gnulib module fts
590 ## begin gnulib module gendocs
593 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
595 ## end gnulib module gendocs
597 ## begin gnulib module getcwd-lgpl
600 EXTRA_DIST += getcwd-lgpl.c
602 EXTRA_libgreputils_a_SOURCES += getcwd-lgpl.c
604 ## end gnulib module getcwd-lgpl
606 ## begin gnulib module getdtablesize
609 EXTRA_DIST += getdtablesize.c
611 EXTRA_libgreputils_a_SOURCES += getdtablesize.c
613 ## end gnulib module getdtablesize
615 ## begin gnulib module getopt-posix
617 BUILT_SOURCES += $(GETOPT_H)
619 # We need the following in order to create <getopt.h> when the system
620 # doesn't have one that works with the given compiler.
621 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
622 $(AM_V_GEN)rm -f $@-t $@ && \
623 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
624 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
625 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
626 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
627 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
628 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
629 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
630 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
631 < $(srcdir)/getopt.in.h; \
634 MOSTLYCLEANFILES += getopt.h getopt.h-t
636 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
638 EXTRA_libgreputils_a_SOURCES += getopt.c getopt1.c
640 ## end gnulib module getopt-posix
642 ## begin gnulib module getpagesize
645 EXTRA_DIST += getpagesize.c
647 EXTRA_libgreputils_a_SOURCES += getpagesize.c
649 ## end gnulib module getpagesize
651 ## begin gnulib module gettext-h
653 libgreputils_a_SOURCES += gettext.h
655 ## end gnulib module gettext-h
657 ## begin gnulib module git-version-gen
660 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
662 ## end gnulib module git-version-gen
664 ## begin gnulib module gitlog-to-changelog
667 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
669 ## end gnulib module gitlog-to-changelog
671 ## begin gnulib module gnu-web-doc-update
674 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
676 ## end gnulib module gnu-web-doc-update
678 ## begin gnulib module gnumakefile
680 distclean-local: clean-GNUmakefile
682 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
684 EXTRA_DIST += $(top_srcdir)/GNUmakefile
686 ## end gnulib module gnumakefile
688 ## begin gnulib module gnupload
691 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
693 ## end gnulib module gnupload
695 ## begin gnulib module gperf
699 ## end gnulib module gperf
701 ## begin gnulib module hash
703 libgreputils_a_SOURCES += hash.c
707 ## end gnulib module hash
709 ## begin gnulib module havelib
712 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
714 ## end gnulib module havelib
716 ## begin gnulib module i-ring
718 libgreputils_a_SOURCES += i-ring.c
720 EXTRA_DIST += i-ring.h
722 ## end gnulib module i-ring
724 ## begin gnulib module iconv-h
726 BUILT_SOURCES += $(ICONV_H)
728 # We need the following in order to create <iconv.h> when the system
729 # doesn't have one that works with the given compiler.
730 if GL_GENERATE_ICONV_H
731 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
732 $(AM_V_GEN)rm -f $@-t $@ && \
733 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
734 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
735 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
736 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
737 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
738 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
739 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
740 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
741 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
742 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
743 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
744 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
745 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
746 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
747 < $(srcdir)/iconv.in.h; \
751 iconv.h: $(top_builddir)/config.status
754 MOSTLYCLEANFILES += iconv.h iconv.h-t
756 EXTRA_DIST += iconv.in.h
758 ## end gnulib module iconv-h
760 ## begin gnulib module iconv_open
762 iconv_open-aix.h: iconv_open-aix.gperf
763 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
764 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
765 iconv_open-hpux.h: iconv_open-hpux.gperf
766 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
767 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
768 iconv_open-irix.h: iconv_open-irix.gperf
769 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
770 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
771 iconv_open-osf.h: iconv_open-osf.gperf
772 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
773 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
774 iconv_open-solaris.h: iconv_open-solaris.gperf
775 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
776 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
777 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
778 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
779 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
780 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
782 EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
784 EXTRA_libgreputils_a_SOURCES += iconv.c iconv_close.c iconv_open.c
786 ## end gnulib module iconv_open
788 ## begin gnulib module ignore-value
791 EXTRA_DIST += ignore-value.h
793 ## end gnulib module ignore-value
795 ## begin gnulib module intprops
798 EXTRA_DIST += intprops.h
800 ## end gnulib module intprops
802 ## begin gnulib module inttypes-incomplete
804 BUILT_SOURCES += inttypes.h
806 # We need the following in order to create <inttypes.h> when the system
807 # doesn't have one that works with the given compiler.
808 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
809 $(AM_V_GEN)rm -f $@-t $@ && \
810 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
811 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
812 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
813 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
814 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
815 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
816 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
817 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
818 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
819 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
820 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
821 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
822 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
823 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
824 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
825 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
826 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
827 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
828 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
829 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
830 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
831 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
832 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
833 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
834 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
835 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
836 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
837 < $(srcdir)/inttypes.in.h; \
840 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
842 EXTRA_DIST += inttypes.in.h
844 ## end gnulib module inttypes-incomplete
846 ## begin gnulib module isatty
849 EXTRA_DIST += isatty.c
851 EXTRA_libgreputils_a_SOURCES += isatty.c
853 ## end gnulib module isatty
855 ## begin gnulib module isblank
858 EXTRA_DIST += isblank.c
860 EXTRA_libgreputils_a_SOURCES += isblank.c
862 ## end gnulib module isblank
864 ## begin gnulib module iswblank
867 EXTRA_DIST += iswblank.c
869 EXTRA_libgreputils_a_SOURCES += iswblank.c
871 ## end gnulib module iswblank
873 ## begin gnulib module iswctype
876 EXTRA_DIST += iswctype-impl.h iswctype.c
878 EXTRA_libgreputils_a_SOURCES += iswctype.c
880 ## end gnulib module iswctype
882 ## begin gnulib module langinfo
884 BUILT_SOURCES += langinfo.h
886 # We need the following in order to create an empty placeholder for
887 # <langinfo.h> when the system doesn't have one.
888 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
889 $(AM_V_GEN)rm -f $@-t $@ && \
890 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
891 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
892 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
893 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
894 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
895 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
896 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
897 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
898 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
899 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
900 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
901 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
902 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
903 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
904 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
905 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
906 < $(srcdir)/langinfo.in.h; \
909 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
911 EXTRA_DIST += langinfo.in.h
913 ## end gnulib module langinfo
915 ## begin gnulib module localcharset
917 libgreputils_a_SOURCES += localcharset.h localcharset.c
919 # We need the following in order to install a simple file in $(libdir)
920 # which is shared with other installed packages. We use a list of referencing
921 # packages so that "make uninstall" will remove the file if and only if it
922 # is not used by another installed package.
923 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
924 # avoid installing it.
926 all-local: charset.alias ref-add.sed ref-del.sed
928 charset_alias = $(DESTDIR)$(libdir)/charset.alias
929 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
930 install-exec-local: install-exec-localcharset
931 install-exec-localcharset: all-local
932 if test $(GLIBC21) = no; then \
933 case '$(host_os)' in \
935 need_charset_alias=true ;; \
936 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
937 need_charset_alias=false ;; \
939 need_charset_alias=true ;; \
942 need_charset_alias=false ; \
944 if $$need_charset_alias; then \
945 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
947 if test -f $(charset_alias); then \
948 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
949 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
950 rm -f $(charset_tmp) ; \
952 if $$need_charset_alias; then \
953 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
954 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
955 rm -f $(charset_tmp) ; \
959 uninstall-local: uninstall-localcharset
960 uninstall-localcharset: all-local
961 if test -f $(charset_alias); then \
962 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
963 if grep '^# Packages using this file: $$' $(charset_tmp) \
965 rm -f $(charset_alias); \
967 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
969 rm -f $(charset_tmp); \
972 charset.alias: config.charset
973 $(AM_V_GEN)rm -f t-$@ $@ && \
974 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
977 SUFFIXES += .sed .sin
979 $(AM_V_GEN)rm -f t-$@ $@ && \
980 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
983 CLEANFILES += charset.alias ref-add.sed ref-del.sed
985 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
987 ## end gnulib module localcharset
989 ## begin gnulib module locale
991 BUILT_SOURCES += locale.h
993 # We need the following in order to create <locale.h> when the system
994 # doesn't have one that provides all definitions.
995 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
996 $(AM_V_GEN)rm -f $@-t $@ && \
997 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
998 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
999 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1000 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1001 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1002 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1003 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
1004 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
1005 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
1006 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
1007 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1008 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
1009 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
1010 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1011 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
1012 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1013 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1014 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1015 < $(srcdir)/locale.in.h; \
1018 MOSTLYCLEANFILES += locale.h locale.h-t
1020 EXTRA_DIST += locale.in.h
1022 ## end gnulib module locale
1024 ## begin gnulib module localeconv
1027 EXTRA_DIST += localeconv.c
1029 EXTRA_libgreputils_a_SOURCES += localeconv.c
1031 ## end gnulib module localeconv
1033 ## begin gnulib module lseek
1036 EXTRA_DIST += lseek.c
1038 EXTRA_libgreputils_a_SOURCES += lseek.c
1040 ## end gnulib module lseek
1042 ## begin gnulib module lstat
1045 EXTRA_DIST += lstat.c
1047 EXTRA_libgreputils_a_SOURCES += lstat.c
1049 ## end gnulib module lstat
1051 ## begin gnulib module maintainer-makefile
1053 EXTRA_DIST += $(top_srcdir)/maint.mk
1055 ## end gnulib module maintainer-makefile
1057 ## begin gnulib module malloc-gnu
1060 EXTRA_DIST += malloc.c
1062 EXTRA_libgreputils_a_SOURCES += malloc.c
1064 ## end gnulib module malloc-gnu
1066 ## begin gnulib module malloc-posix
1069 EXTRA_DIST += malloc.c
1071 EXTRA_libgreputils_a_SOURCES += malloc.c
1073 ## end gnulib module malloc-posix
1075 ## begin gnulib module malloca
1077 libgreputils_a_SOURCES += malloca.c
1079 EXTRA_DIST += malloca.h malloca.valgrind
1081 ## end gnulib module malloca
1083 ## begin gnulib module mbchar
1085 libgreputils_a_SOURCES += mbchar.c
1087 EXTRA_DIST += mbchar.h
1089 ## end gnulib module mbchar
1091 ## begin gnulib module mbiter
1093 libgreputils_a_SOURCES += mbiter.h
1095 ## end gnulib module mbiter
1097 ## begin gnulib module mbrlen
1100 EXTRA_DIST += mbrlen.c
1102 EXTRA_libgreputils_a_SOURCES += mbrlen.c
1104 ## end gnulib module mbrlen
1106 ## begin gnulib module mbrtowc
1109 EXTRA_DIST += mbrtowc.c
1111 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
1113 ## end gnulib module mbrtowc
1115 ## begin gnulib module mbscasecmp
1117 libgreputils_a_SOURCES += mbscasecmp.c
1119 ## end gnulib module mbscasecmp
1121 ## begin gnulib module mbsinit
1124 EXTRA_DIST += mbsinit.c
1126 EXTRA_libgreputils_a_SOURCES += mbsinit.c
1128 ## end gnulib module mbsinit
1130 ## begin gnulib module mbslen
1132 libgreputils_a_SOURCES += mbslen.c
1134 ## end gnulib module mbslen
1136 ## begin gnulib module mbsrtowcs
1139 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1141 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1143 ## end gnulib module mbsrtowcs
1145 ## begin gnulib module mbsstr
1147 libgreputils_a_SOURCES += mbsstr.c
1149 EXTRA_DIST += str-kmp.h
1151 ## end gnulib module mbsstr
1153 ## begin gnulib module mbtowc
1156 EXTRA_DIST += mbtowc-impl.h mbtowc.c
1158 EXTRA_libgreputils_a_SOURCES += mbtowc.c
1160 ## end gnulib module mbtowc
1162 ## begin gnulib module mbuiter
1164 libgreputils_a_SOURCES += mbuiter.h
1166 ## end gnulib module mbuiter
1168 ## begin gnulib module memchr
1171 EXTRA_DIST += memchr.c memchr.valgrind
1173 EXTRA_libgreputils_a_SOURCES += memchr.c
1175 ## end gnulib module memchr
1177 ## begin gnulib module mempcpy
1180 EXTRA_DIST += mempcpy.c
1182 EXTRA_libgreputils_a_SOURCES += mempcpy.c
1184 ## end gnulib module mempcpy
1186 ## begin gnulib module memrchr
1189 EXTRA_DIST += memrchr.c
1191 EXTRA_libgreputils_a_SOURCES += memrchr.c
1193 ## end gnulib module memrchr
1195 ## begin gnulib module minmax
1197 libgreputils_a_SOURCES += minmax.h
1199 ## end gnulib module minmax
1201 ## begin gnulib module msvc-inval
1204 EXTRA_DIST += msvc-inval.c msvc-inval.h
1206 EXTRA_libgreputils_a_SOURCES += msvc-inval.c
1208 ## end gnulib module msvc-inval
1210 ## begin gnulib module msvc-nothrow
1213 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1215 EXTRA_libgreputils_a_SOURCES += msvc-nothrow.c
1217 ## end gnulib module msvc-nothrow
1219 ## begin gnulib module nl_langinfo
1222 EXTRA_DIST += nl_langinfo.c
1224 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
1226 ## end gnulib module nl_langinfo
1228 ## begin gnulib module obstack
1231 EXTRA_DIST += obstack.c obstack.h
1233 EXTRA_libgreputils_a_SOURCES += obstack.c
1235 ## end gnulib module obstack
1237 ## begin gnulib module open
1240 EXTRA_DIST += open.c
1242 EXTRA_libgreputils_a_SOURCES += open.c
1244 ## end gnulib module open
1246 ## begin gnulib module openat
1249 EXTRA_DIST += openat-priv.h openat.c
1251 EXTRA_libgreputils_a_SOURCES += openat.c
1253 ## end gnulib module openat
1255 ## begin gnulib module openat-die
1257 libgreputils_a_SOURCES += openat-die.c
1259 ## end gnulib module openat-die
1261 ## begin gnulib module openat-h
1264 EXTRA_DIST += openat.h
1266 ## end gnulib module openat-h
1268 ## begin gnulib module openat-safer
1270 libgreputils_a_SOURCES += openat-safer.c
1272 EXTRA_DIST += fcntl--.h fcntl-safer.h
1274 ## end gnulib module openat-safer
1276 ## begin gnulib module opendir
1279 EXTRA_DIST += dirent-private.h opendir.c
1281 EXTRA_libgreputils_a_SOURCES += opendir.c
1283 ## end gnulib module opendir
1285 ## begin gnulib module pathmax
1288 EXTRA_DIST += pathmax.h
1290 ## end gnulib module pathmax
1292 ## begin gnulib module progname
1294 libgreputils_a_SOURCES += progname.h progname.c
1296 ## end gnulib module progname
1298 ## begin gnulib module propername
1300 libgreputils_a_SOURCES += propername.h propername.c
1302 ## end gnulib module propername
1304 ## begin gnulib module quote
1307 EXTRA_DIST += quote.h
1309 ## end gnulib module quote
1311 ## begin gnulib module quotearg
1313 libgreputils_a_SOURCES += quotearg.c
1315 EXTRA_DIST += quote.h quotearg.h
1317 ## end gnulib module quotearg
1319 ## begin gnulib module readdir
1322 EXTRA_DIST += dirent-private.h readdir.c
1324 EXTRA_libgreputils_a_SOURCES += readdir.c
1326 ## end gnulib module readdir
1328 ## begin gnulib module readme-release
1331 EXTRA_DIST += $(top_srcdir)/README-release
1333 ## end gnulib module readme-release
1335 ## begin gnulib module realloc-gnu
1338 EXTRA_DIST += realloc.c
1340 EXTRA_libgreputils_a_SOURCES += realloc.c
1342 ## end gnulib module realloc-gnu
1344 ## begin gnulib module realloc-posix
1347 EXTRA_DIST += realloc.c
1349 EXTRA_libgreputils_a_SOURCES += realloc.c
1351 ## end gnulib module realloc-posix
1353 ## begin gnulib module regex
1356 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1358 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1360 ## end gnulib module regex
1362 ## begin gnulib module same-inode
1365 EXTRA_DIST += same-inode.h
1367 ## end gnulib module same-inode
1369 ## begin gnulib module save-cwd
1371 libgreputils_a_SOURCES += save-cwd.c
1373 EXTRA_DIST += save-cwd.h
1375 ## end gnulib module save-cwd
1377 ## begin gnulib module snippet/_Noreturn
1379 # Because this Makefile snippet defines a variable used by other
1380 # gnulib Makefile snippets, it must be present in all Makefile.am that
1381 # need it. This is ensured by the applicability 'all' defined above.
1383 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1385 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1387 ## end gnulib module snippet/_Noreturn
1389 ## begin gnulib module snippet/arg-nonnull
1391 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1392 # statements but through direct file reference. Therefore this snippet must be
1393 # present in all Makefile.am that need it. This is ensured by the applicability
1394 # 'all' defined above.
1396 BUILT_SOURCES += arg-nonnull.h
1397 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1398 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1400 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1401 $(AM_V_GEN)rm -f $@-t $@ && \
1402 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1403 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1406 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1408 ARG_NONNULL_H=arg-nonnull.h
1410 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1412 ## end gnulib module snippet/arg-nonnull
1414 ## begin gnulib module snippet/c++defs
1416 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1417 # statements but through direct file reference. Therefore this snippet must be
1418 # present in all Makefile.am that need it. This is ensured by the applicability
1419 # 'all' defined above.
1421 BUILT_SOURCES += c++defs.h
1422 # The c++defs.h that gets inserted into generated .h files is the same as
1423 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1424 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1425 $(AM_V_GEN)rm -f $@-t $@ && \
1426 sed -n -e '/_GL_CXXDEFS/,$$p' \
1427 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1430 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1434 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1436 ## end gnulib module snippet/c++defs
1438 ## begin gnulib module snippet/unused-parameter
1440 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1441 # statements but through direct file reference. Therefore this snippet must be
1442 # present in all Makefile.am that need it. This is ensured by the applicability
1443 # 'all' defined above.
1445 BUILT_SOURCES += unused-parameter.h
1446 # The unused-parameter.h that gets inserted into generated .h files is the same
1447 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1449 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1450 $(AM_V_GEN)rm -f $@-t $@ && \
1451 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1452 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1455 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1457 UNUSED_PARAMETER_H=unused-parameter.h
1459 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1461 ## end gnulib module snippet/unused-parameter
1463 ## begin gnulib module snippet/warn-on-use
1465 BUILT_SOURCES += warn-on-use.h
1466 # The warn-on-use.h that gets inserted into generated .h files is the same as
1467 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1469 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1470 $(AM_V_GEN)rm -f $@-t $@ && \
1471 sed -n -e '/^.ifndef/,$$p' \
1472 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1475 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1477 WARN_ON_USE_H=warn-on-use.h
1479 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1481 ## end gnulib module snippet/warn-on-use
1483 ## begin gnulib module stat
1486 EXTRA_DIST += stat.c
1488 EXTRA_libgreputils_a_SOURCES += stat.c
1490 ## end gnulib module stat
1492 ## begin gnulib module stdarg
1494 BUILT_SOURCES += $(STDARG_H)
1496 # We need the following in order to create <stdarg.h> when the system
1497 # doesn't have one that works with the given compiler.
1498 if GL_GENERATE_STDARG_H
1499 stdarg.h: stdarg.in.h $(top_builddir)/config.status
1500 $(AM_V_GEN)rm -f $@-t $@ && \
1501 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1502 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1503 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1504 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1505 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1506 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1507 < $(srcdir)/stdarg.in.h; \
1511 stdarg.h: $(top_builddir)/config.status
1514 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1516 EXTRA_DIST += stdarg.in.h
1518 ## end gnulib module stdarg
1520 ## begin gnulib module stdbool
1522 BUILT_SOURCES += $(STDBOOL_H)
1524 # We need the following in order to create <stdbool.h> when the system
1525 # doesn't have one that works.
1526 if GL_GENERATE_STDBOOL_H
1527 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1528 $(AM_V_GEN)rm -f $@-t $@ && \
1529 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1530 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1534 stdbool.h: $(top_builddir)/config.status
1537 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1539 EXTRA_DIST += stdbool.in.h
1541 ## end gnulib module stdbool
1543 ## begin gnulib module stddef
1545 BUILT_SOURCES += $(STDDEF_H)
1547 # We need the following in order to create <stddef.h> when the system
1548 # doesn't have one that works with the given compiler.
1549 if GL_GENERATE_STDDEF_H
1550 stddef.h: stddef.in.h $(top_builddir)/config.status
1551 $(AM_V_GEN)rm -f $@-t $@ && \
1552 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1553 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1554 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1555 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1556 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1557 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1558 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1559 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1560 < $(srcdir)/stddef.in.h; \
1564 stddef.h: $(top_builddir)/config.status
1567 MOSTLYCLEANFILES += stddef.h stddef.h-t
1569 EXTRA_DIST += stddef.in.h
1571 ## end gnulib module stddef
1573 ## begin gnulib module stdint
1575 BUILT_SOURCES += $(STDINT_H)
1577 # We need the following in order to create <stdint.h> when the system
1578 # doesn't have one that works with the given compiler.
1579 if GL_GENERATE_STDINT_H
1580 stdint.h: stdint.in.h $(top_builddir)/config.status
1581 $(AM_V_GEN)rm -f $@-t $@ && \
1582 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1583 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1584 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1585 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1586 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1587 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1588 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1589 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1590 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1591 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1592 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1593 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1594 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1595 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1596 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1597 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1598 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1599 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1600 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1601 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1602 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1603 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1604 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1605 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1606 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1607 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1608 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1609 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1610 < $(srcdir)/stdint.in.h; \
1614 stdint.h: $(top_builddir)/config.status
1617 MOSTLYCLEANFILES += stdint.h stdint.h-t
1619 EXTRA_DIST += stdint.in.h
1621 ## end gnulib module stdint
1623 ## begin gnulib module stdlib
1625 BUILT_SOURCES += stdlib.h
1627 # We need the following in order to create <stdlib.h> when the system
1628 # doesn't have one that works with the given compiler.
1629 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1630 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1631 $(AM_V_GEN)rm -f $@-t $@ && \
1632 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1633 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1634 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1635 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1636 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1637 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1638 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1639 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1640 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1641 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1642 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1643 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1644 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1645 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1646 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1647 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1648 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1649 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1650 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1651 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1652 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1653 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1654 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1655 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1656 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1657 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1658 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1659 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1660 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1661 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1662 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1663 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1664 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1665 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1666 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1667 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1668 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1669 < $(srcdir)/stdlib.in.h | \
1670 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1671 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1672 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1673 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1674 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1675 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1676 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1677 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1678 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1679 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1680 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1681 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1682 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1683 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1684 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1685 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1686 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1687 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1688 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1689 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1690 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1691 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1692 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1693 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1694 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1695 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1696 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1697 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1698 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1699 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1700 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1701 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1702 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1703 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1704 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1705 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1706 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1707 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1708 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1709 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1710 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1711 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1712 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1713 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1714 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1717 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1719 EXTRA_DIST += stdlib.in.h
1721 ## end gnulib module stdlib
1723 ## begin gnulib module stpcpy
1726 EXTRA_DIST += stpcpy.c
1728 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1730 ## end gnulib module stpcpy
1732 ## begin gnulib module strdup-posix
1735 EXTRA_DIST += strdup.c
1737 EXTRA_libgreputils_a_SOURCES += strdup.c
1739 ## end gnulib module strdup-posix
1741 ## begin gnulib module streq
1744 EXTRA_DIST += streq.h
1746 ## end gnulib module streq
1748 ## begin gnulib module strerror
1751 EXTRA_DIST += strerror.c
1753 EXTRA_libgreputils_a_SOURCES += strerror.c
1755 ## end gnulib module strerror
1757 ## begin gnulib module strerror-override
1760 EXTRA_DIST += strerror-override.c strerror-override.h
1762 EXTRA_libgreputils_a_SOURCES += strerror-override.c
1764 ## end gnulib module strerror-override
1766 ## begin gnulib module striconv
1768 libgreputils_a_SOURCES += striconv.h striconv.c
1772 ## end gnulib module striconv
1774 ## begin gnulib module string
1776 BUILT_SOURCES += string.h
1778 # We need the following in order to create <string.h> when the system
1779 # doesn't have one that works with the given compiler.
1780 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1781 $(AM_V_GEN)rm -f $@-t $@ && \
1782 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1783 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1784 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1785 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1786 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1787 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1788 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1789 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1790 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1791 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1792 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1793 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1794 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1795 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1796 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1797 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1798 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1799 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1800 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1801 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1802 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1803 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1804 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1805 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1806 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1807 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1808 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1809 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1810 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1811 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1812 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1813 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1814 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1815 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1816 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1817 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1818 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1819 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1820 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1821 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1822 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1823 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1824 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1825 < $(srcdir)/string.in.h | \
1826 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1827 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1828 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1829 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1830 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1831 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1832 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1833 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1834 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1835 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1836 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1837 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1838 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1839 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1840 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1841 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1842 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1843 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1844 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1845 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1846 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1847 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1848 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1849 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1850 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1851 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1852 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1853 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1854 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1855 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1856 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1857 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1858 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1859 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1860 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1861 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1862 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1863 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1864 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1865 < $(srcdir)/string.in.h; \
1868 MOSTLYCLEANFILES += string.h string.h-t
1870 EXTRA_DIST += string.in.h
1872 ## end gnulib module string
1874 ## begin gnulib module strnlen
1877 EXTRA_DIST += strnlen.c
1879 EXTRA_libgreputils_a_SOURCES += strnlen.c
1881 ## end gnulib module strnlen
1883 ## begin gnulib module strnlen1
1885 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
1887 ## end gnulib module strnlen1
1889 ## begin gnulib module strtoimax
1892 EXTRA_DIST += strtoimax.c
1894 EXTRA_libgreputils_a_SOURCES += strtoimax.c
1896 ## end gnulib module strtoimax
1898 ## begin gnulib module strtoll
1901 EXTRA_DIST += strtol.c strtoll.c
1903 EXTRA_libgreputils_a_SOURCES += strtol.c strtoll.c
1905 ## end gnulib module strtoll
1907 ## begin gnulib module strtoull
1910 EXTRA_DIST += strtol.c strtoul.c strtoull.c
1912 EXTRA_libgreputils_a_SOURCES += strtol.c strtoul.c strtoull.c
1914 ## end gnulib module strtoull
1916 ## begin gnulib module strtoumax
1919 EXTRA_DIST += strtoimax.c strtoumax.c
1921 EXTRA_libgreputils_a_SOURCES += strtoimax.c strtoumax.c
1923 ## end gnulib module strtoumax
1925 ## begin gnulib module sys_stat
1927 BUILT_SOURCES += sys/stat.h
1929 # We need the following in order to create <sys/stat.h> when the system
1930 # has one that is incomplete.
1931 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1932 $(AM_V_at)$(MKDIR_P) sys
1933 $(AM_V_GEN)rm -f $@-t $@ && \
1934 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1935 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1936 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1937 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1938 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1939 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1940 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1941 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1942 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1943 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1944 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1945 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1946 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1947 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1948 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1949 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1950 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1951 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1952 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1953 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1954 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1955 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1956 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1957 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1958 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1959 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1960 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1961 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1962 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1963 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1964 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1965 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1966 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1967 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1968 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1969 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1970 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1971 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1972 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1973 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1974 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1975 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1976 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1977 < $(srcdir)/sys_stat.in.h; \
1980 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1981 MOSTLYCLEANDIRS += sys
1983 EXTRA_DIST += sys_stat.in.h
1985 ## end gnulib module sys_stat
1987 ## begin gnulib module sys_types
1989 BUILT_SOURCES += sys/types.h
1991 # We need the following in order to create <sys/types.h> when the system
1992 # doesn't have one that works with the given compiler.
1993 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1994 $(AM_V_at)$(MKDIR_P) sys
1995 $(AM_V_GEN)rm -f $@-t $@ && \
1996 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1997 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1998 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1999 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2000 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2001 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2002 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2003 < $(srcdir)/sys_types.in.h; \
2006 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2008 EXTRA_DIST += sys_types.in.h
2010 ## end gnulib module sys_types
2012 ## begin gnulib module time
2014 BUILT_SOURCES += time.h
2016 # We need the following in order to create <time.h> when the system
2017 # doesn't have one that works with the given compiler.
2018 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2019 $(AM_V_GEN)rm -f $@-t $@ && \
2020 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2021 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2022 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2023 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2024 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2025 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2026 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2027 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2028 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2029 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2030 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2031 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2032 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2033 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2034 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2035 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2036 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2037 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2038 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2039 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2040 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2041 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2042 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2043 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2044 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2045 < $(srcdir)/time.in.h; \
2048 MOSTLYCLEANFILES += time.h time.h-t
2050 EXTRA_DIST += time.in.h
2052 ## end gnulib module time
2054 ## begin gnulib module trim
2056 libgreputils_a_SOURCES += trim.c
2058 EXTRA_DIST += trim.h
2060 ## end gnulib module trim
2062 ## begin gnulib module unistd
2064 BUILT_SOURCES += unistd.h
2066 # We need the following in order to create an empty placeholder for
2067 # <unistd.h> when the system doesn't have one.
2068 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2069 $(AM_V_GEN)rm -f $@-t $@ && \
2070 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2071 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2072 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2073 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2074 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2075 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2076 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2077 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2078 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2079 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2080 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2081 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2082 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2083 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2084 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2085 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2086 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2087 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2088 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2089 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2090 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2091 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2092 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2093 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2094 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2095 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2096 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2097 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2098 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2099 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2100 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2101 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2102 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2103 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2104 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2105 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2106 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2107 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2108 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2109 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2110 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2111 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2112 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2113 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2114 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2115 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2116 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2117 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2118 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2119 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2120 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2121 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2122 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2123 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2124 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2125 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2126 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2127 < $(srcdir)/unistd.in.h | \
2128 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2129 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2130 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2131 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2132 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2133 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2134 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2135 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2136 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2137 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2138 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2139 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2140 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2141 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2142 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2143 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2144 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2145 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2146 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2147 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2148 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2149 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2150 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2151 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2152 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2153 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2154 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2155 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2156 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2157 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2158 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2159 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2160 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2161 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2162 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2163 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2164 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2165 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2166 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2167 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2168 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2169 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2171 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2172 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2173 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2174 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2175 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2176 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2177 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2178 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2179 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2180 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2181 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2182 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2183 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2184 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2185 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2186 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2187 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2188 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2189 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2190 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2191 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2192 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2193 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2194 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2195 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2196 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2197 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2198 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2199 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2200 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2201 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2202 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2203 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2206 MOSTLYCLEANFILES += unistd.h unistd.h-t
2208 EXTRA_DIST += unistd.in.h
2210 ## end gnulib module unistd
2212 ## begin gnulib module unistd-safer
2214 libgreputils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2216 EXTRA_DIST += unistd--.h unistd-safer.h
2218 ## end gnulib module unistd-safer
2220 ## begin gnulib module unistr/base
2222 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
2224 unistr.h: unistr.in.h
2225 $(AM_V_GEN)rm -f $@-t $@ && \
2226 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2227 cat $(srcdir)/unistr.in.h; \
2230 MOSTLYCLEANFILES += unistr.h unistr.h-t
2232 EXTRA_DIST += unistr.in.h
2234 ## end gnulib module unistr/base
2236 ## begin gnulib module unistr/u8-mbtoucr
2238 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2239 libgreputils_a_SOURCES += unistr/u8-mbtoucr.c
2242 ## end gnulib module unistr/u8-mbtoucr
2244 ## begin gnulib module unistr/u8-uctomb
2246 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2247 libgreputils_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2250 ## end gnulib module unistr/u8-uctomb
2252 ## begin gnulib module unitypes
2254 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2256 unitypes.h: unitypes.in.h
2257 $(AM_V_GEN)rm -f $@-t $@ && \
2258 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2259 cat $(srcdir)/unitypes.in.h; \
2262 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
2264 EXTRA_DIST += unitypes.in.h
2266 ## end gnulib module unitypes
2268 ## begin gnulib module uniwidth/base
2270 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
2272 uniwidth.h: uniwidth.in.h
2273 $(AM_V_GEN)rm -f $@-t $@ && \
2274 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2275 cat $(srcdir)/uniwidth.in.h; \
2278 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
2280 EXTRA_DIST += localcharset.h uniwidth.in.h
2282 ## end gnulib module uniwidth/base
2284 ## begin gnulib module uniwidth/width
2286 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
2287 libgreputils_a_SOURCES += uniwidth/width.c
2290 EXTRA_DIST += uniwidth/cjk.h
2292 ## end gnulib module uniwidth/width
2294 ## begin gnulib module unlocked-io
2297 EXTRA_DIST += unlocked-io.h
2299 ## end gnulib module unlocked-io
2301 ## begin gnulib module update-copyright
2304 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2306 ## end gnulib module update-copyright
2308 ## begin gnulib module useless-if-before-free
2311 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2313 ## end gnulib module useless-if-before-free
2315 ## begin gnulib module vc-list-files
2318 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2320 ## end gnulib module vc-list-files
2322 ## begin gnulib module verify
2325 EXTRA_DIST += verify.h
2327 ## end gnulib module verify
2329 ## begin gnulib module version-etc
2331 libgreputils_a_SOURCES += version-etc.h version-etc.c
2333 ## end gnulib module version-etc
2335 ## begin gnulib module version-etc-fsf
2337 libgreputils_a_SOURCES += version-etc-fsf.c
2339 ## end gnulib module version-etc-fsf
2341 ## begin gnulib module wchar
2343 BUILT_SOURCES += wchar.h
2345 # We need the following in order to create <wchar.h> when the system
2346 # version does not work standalone.
2347 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2348 $(AM_V_GEN)rm -f $@-t $@ && \
2349 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2350 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2351 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2352 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2353 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2354 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2355 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2356 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2357 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2358 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2359 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2360 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2361 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2362 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2363 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2364 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2365 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2366 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2367 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2368 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2369 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2370 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2371 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2372 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2373 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2374 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2375 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2376 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2377 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2378 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2379 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2380 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2381 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2382 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2383 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2384 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2385 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2386 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2387 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2388 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2389 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2390 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2391 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2392 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2393 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2394 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2395 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2396 < $(srcdir)/wchar.in.h | \
2397 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2398 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2399 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2400 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2401 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2402 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2403 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2404 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2405 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2406 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2407 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2408 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2409 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2410 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2411 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2412 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2413 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2414 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2415 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2416 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2417 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2418 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2419 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2420 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2421 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2422 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2423 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2424 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2425 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2426 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2427 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2428 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2429 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2430 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2431 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2432 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2433 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2434 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2435 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2436 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2438 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2439 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2440 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2441 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2442 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2443 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2444 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2445 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2446 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2447 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2448 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2449 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2450 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2451 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2452 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2453 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2456 MOSTLYCLEANFILES += wchar.h wchar.h-t
2458 EXTRA_DIST += wchar.in.h
2460 ## end gnulib module wchar
2462 ## begin gnulib module wcrtomb
2465 EXTRA_DIST += wcrtomb.c
2467 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
2469 ## end gnulib module wcrtomb
2471 ## begin gnulib module wcscoll
2474 EXTRA_DIST += wcscoll-impl.h wcscoll.c
2476 EXTRA_libgreputils_a_SOURCES += wcscoll.c
2478 ## end gnulib module wcscoll
2480 ## begin gnulib module wctob
2483 EXTRA_DIST += wctob.c
2485 EXTRA_libgreputils_a_SOURCES += wctob.c
2487 ## end gnulib module wctob
2489 ## begin gnulib module wctomb
2492 EXTRA_DIST += wctomb-impl.h wctomb.c
2494 EXTRA_libgreputils_a_SOURCES += wctomb.c
2496 ## end gnulib module wctomb
2498 ## begin gnulib module wctype-h
2500 BUILT_SOURCES += wctype.h
2502 # We need the following in order to create <wctype.h> when the system
2503 # doesn't have one that works with the given compiler.
2504 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2505 $(AM_V_GEN)rm -f $@-t $@ && \
2506 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2507 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2508 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2509 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2510 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2511 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2512 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2513 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2514 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2515 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2516 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2517 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2518 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2519 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2520 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2521 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2522 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2523 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2524 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2525 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2526 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2527 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2528 < $(srcdir)/wctype.in.h; \
2531 MOSTLYCLEANFILES += wctype.h wctype.h-t
2533 EXTRA_DIST += wctype.in.h
2535 ## end gnulib module wctype-h
2537 ## begin gnulib module wcwidth
2540 EXTRA_DIST += wcwidth.c
2542 EXTRA_libgreputils_a_SOURCES += wcwidth.c
2544 ## end gnulib module wcwidth
2546 ## begin gnulib module xalloc
2548 libgreputils_a_SOURCES += xmalloc.c
2550 EXTRA_DIST += xalloc.h
2552 ## end gnulib module xalloc
2554 ## begin gnulib module xalloc-die
2556 libgreputils_a_SOURCES += xalloc-die.c
2558 ## end gnulib module xalloc-die
2560 ## begin gnulib module xalloc-oversized
2563 EXTRA_DIST += xalloc-oversized.h
2565 ## end gnulib module xalloc-oversized
2567 ## begin gnulib module xstriconv
2569 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
2571 ## end gnulib module xstriconv
2573 ## begin gnulib module xstrtoimax
2575 libgreputils_a_SOURCES += xstrtoimax.c
2577 ## end gnulib module xstrtoimax
2579 ## begin gnulib module xstrtol
2581 libgreputils_a_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
2583 EXTRA_DIST += xstrtol.h
2585 ## end gnulib module xstrtol
2588 mostlyclean-local: mostlyclean-generic
2589 @for dir in '' $(MOSTLYCLEANDIRS); do \
2590 if test -n "$$dir" && test -d $$dir; then \
2591 echo "rmdir $$dir"; rmdir $$dir; \