kernel - Handle spinlock indefinite wait edge case
[dragonfly.git] / contrib / grep / lib / gnulib.mk
blob2793024b49a1d63f2a92fac01f72590b4cf0fd1f
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2015 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 --avoid=mbrtowc-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 fdl 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 memchr2 mempcpy minmax obstack openat-safer perl progname propername quote readme-release realloc-gnu regex safe-read same-inode ssize_t stddef stdlib stpcpy strerror string strstr strtoull strtoumax sys_stat unistd unlocked-io update-copyright useless-if-before-free version-etc-fsf wchar wcrtomb 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 absolute-header
38 # Use this preprocessor expression to decide whether #include_next works.
39 # Do not rely on a 'configure'-time test for this, since the expression
40 # might appear in an installed header, which is used by some other compiler.
41 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
43 ## end gnulib module absolute-header
45 ## begin gnulib module alignof
48 EXTRA_DIST += alignof.h
50 ## end gnulib module alignof
52 ## begin gnulib module alloca
55 libgreputils_a_LIBADD += @ALLOCA@
56 libgreputils_a_DEPENDENCIES += @ALLOCA@
57 EXTRA_DIST += alloca.c
59 EXTRA_libgreputils_a_SOURCES += alloca.c
61 ## end gnulib module alloca
63 ## begin gnulib module alloca-opt
65 BUILT_SOURCES += $(ALLOCA_H)
67 # We need the following in order to create <alloca.h> when the system
68 # doesn't have one that works with the given compiler.
69 if GL_GENERATE_ALLOCA_H
70 alloca.h: alloca.in.h $(top_builddir)/config.status
71 $(AM_V_GEN)rm -f $@-t $@ && \
72 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
73 cat $(srcdir)/alloca.in.h; \
74 } > $@-t && \
75 mv -f $@-t $@
76 else
77 alloca.h: $(top_builddir)/config.status
78 rm -f $@
79 endif
80 MOSTLYCLEANFILES += alloca.h alloca.h-t
82 EXTRA_DIST += alloca.in.h
84 ## end gnulib module alloca-opt
86 ## begin gnulib module announce-gen
89 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
91 ## end gnulib module announce-gen
93 ## begin gnulib module argmatch
95 libgreputils_a_SOURCES += argmatch.c
97 EXTRA_DIST += argmatch.h
99 ## end gnulib module argmatch
101 ## begin gnulib module assure
104 EXTRA_DIST += assure.h
106 ## end gnulib module assure
108 ## begin gnulib module at-internal
111 EXTRA_DIST += openat-priv.h openat-proc.c
113 EXTRA_libgreputils_a_SOURCES += openat-proc.c
115 ## end gnulib module at-internal
117 ## begin gnulib module binary-io
119 libgreputils_a_SOURCES += binary-io.h binary-io.c
121 ## end gnulib module binary-io
123 ## begin gnulib module bitrotate
125 libgreputils_a_SOURCES += bitrotate.h bitrotate.c
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-ctype
140 libgreputils_a_SOURCES += c-ctype.h c-ctype.c
142 ## end gnulib module c-ctype
144 ## begin gnulib module c-strcase
146 libgreputils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
148 ## end gnulib module c-strcase
150 ## begin gnulib module c-strcaseeq
153 EXTRA_DIST += c-strcaseeq.h
155 ## end gnulib module c-strcaseeq
157 ## begin gnulib module chdir-long
160 EXTRA_DIST += chdir-long.c chdir-long.h
162 EXTRA_libgreputils_a_SOURCES += chdir-long.c
164 ## end gnulib module chdir-long
166 ## begin gnulib module cloexec
168 libgreputils_a_SOURCES += cloexec.c
170 EXTRA_DIST += cloexec.h
172 ## end gnulib module cloexec
174 ## begin gnulib module close
177 EXTRA_DIST += close.c
179 EXTRA_libgreputils_a_SOURCES += close.c
181 ## end gnulib module close
183 ## begin gnulib module close-stream
185 libgreputils_a_SOURCES += close-stream.c
187 EXTRA_DIST += close-stream.h
189 ## end gnulib module close-stream
191 ## begin gnulib module closedir
194 EXTRA_DIST += closedir.c dirent-private.h
196 EXTRA_libgreputils_a_SOURCES += closedir.c
198 ## end gnulib module closedir
200 ## begin gnulib module closeout
202 libgreputils_a_SOURCES += closeout.c
204 EXTRA_DIST += closeout.h
206 ## end gnulib module closeout
208 ## begin gnulib module configmake
210 # Listed in the same order as the GNU makefile conventions, and
211 # provided by autoconf 2.59c+ or 2.70.
212 # The Automake-defined pkg* macros are appended, in the order
213 # listed in the Automake 1.10a+ documentation.
214 configmake.h: Makefile
215 $(AM_V_GEN)rm -f $@-t && \
216 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
217 echo '#define PREFIX "$(prefix)"'; \
218 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
219 echo '#define BINDIR "$(bindir)"'; \
220 echo '#define SBINDIR "$(sbindir)"'; \
221 echo '#define LIBEXECDIR "$(libexecdir)"'; \
222 echo '#define DATAROOTDIR "$(datarootdir)"'; \
223 echo '#define DATADIR "$(datadir)"'; \
224 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
225 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
226 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
227 echo '#define RUNSTATEDIR "$(runstatedir)"'; \
228 echo '#define INCLUDEDIR "$(includedir)"'; \
229 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
230 echo '#define DOCDIR "$(docdir)"'; \
231 echo '#define INFODIR "$(infodir)"'; \
232 echo '#define HTMLDIR "$(htmldir)"'; \
233 echo '#define DVIDIR "$(dvidir)"'; \
234 echo '#define PDFDIR "$(pdfdir)"'; \
235 echo '#define PSDIR "$(psdir)"'; \
236 echo '#define LIBDIR "$(libdir)"'; \
237 echo '#define LISPDIR "$(lispdir)"'; \
238 echo '#define LOCALEDIR "$(localedir)"'; \
239 echo '#define MANDIR "$(mandir)"'; \
240 echo '#define MANEXT "$(manext)"'; \
241 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
242 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
243 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
244 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
245 } | sed '/""/d' > $@-t && \
246 mv -f $@-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 $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
260 $(AM_V_GEN)rm -f $@-t $@ && \
261 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
262 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
263 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
264 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
265 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
266 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
267 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
268 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
269 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
270 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
271 < $(srcdir)/ctype.in.h; \
272 } > $@-t && \
273 mv $@-t $@
274 MOSTLYCLEANFILES += ctype.h ctype.h-t
276 EXTRA_DIST += ctype.in.h
278 ## end gnulib module ctype
280 ## begin gnulib module cycle-check
282 libgreputils_a_SOURCES += cycle-check.c
284 EXTRA_DIST += cycle-check.h
286 ## end gnulib module cycle-check
288 ## begin gnulib module dev-ino
291 EXTRA_DIST += dev-ino.h
293 ## end gnulib module dev-ino
295 ## begin gnulib module dirent
297 BUILT_SOURCES += dirent.h
299 # We need the following in order to create <dirent.h> when the system
300 # doesn't have one that works with the given compiler.
301 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
302 $(AM_V_GEN)rm -f $@-t $@ && \
303 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
304 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
305 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
306 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
307 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
308 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
309 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
310 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
311 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
312 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
313 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
314 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
315 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
316 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
317 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
318 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
319 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
320 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
321 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
322 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
323 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
324 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
325 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
326 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
327 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
328 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
329 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
330 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
331 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
332 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
333 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
334 < $(srcdir)/dirent.in.h; \
335 } > $@-t && \
336 mv $@-t $@
337 MOSTLYCLEANFILES += dirent.h dirent.h-t
339 EXTRA_DIST += dirent.in.h
341 ## end gnulib module dirent
343 ## begin gnulib module dirent-safer
345 libgreputils_a_SOURCES += opendir-safer.c
347 EXTRA_DIST += dirent--.h dirent-safer.h
349 ## end gnulib module dirent-safer
351 ## begin gnulib module dirfd
354 EXTRA_DIST += dirfd.c
356 EXTRA_libgreputils_a_SOURCES += dirfd.c
358 ## end gnulib module dirfd
360 ## begin gnulib module dirname-lgpl
362 libgreputils_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
364 EXTRA_DIST += dirname.h
366 ## end gnulib module dirname-lgpl
368 ## begin gnulib module do-release-commit-and-tag
371 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
373 ## end gnulib module do-release-commit-and-tag
375 ## begin gnulib module dosname
378 EXTRA_DIST += dosname.h
380 ## end gnulib module dosname
382 ## begin gnulib module dup
385 EXTRA_DIST += dup.c
387 EXTRA_libgreputils_a_SOURCES += dup.c
389 ## end gnulib module dup
391 ## begin gnulib module dup2
394 EXTRA_DIST += dup2.c
396 EXTRA_libgreputils_a_SOURCES += dup2.c
398 ## end gnulib module dup2
400 ## begin gnulib module errno
402 BUILT_SOURCES += $(ERRNO_H)
404 # We need the following in order to create <errno.h> when the system
405 # doesn't have one that is POSIX compliant.
406 if GL_GENERATE_ERRNO_H
407 errno.h: errno.in.h $(top_builddir)/config.status
408 $(AM_V_GEN)rm -f $@-t $@ && \
409 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
410 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
411 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
412 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
413 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
415 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
416 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
417 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
418 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
419 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
420 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
421 < $(srcdir)/errno.in.h; \
422 } > $@-t && \
423 mv $@-t $@
424 else
425 errno.h: $(top_builddir)/config.status
426 rm -f $@
427 endif
428 MOSTLYCLEANFILES += errno.h errno.h-t
430 EXTRA_DIST += errno.in.h
432 ## end gnulib module errno
434 ## begin gnulib module error
437 EXTRA_DIST += error.c error.h
439 EXTRA_libgreputils_a_SOURCES += error.c
441 ## end gnulib module error
443 ## begin gnulib module exclude
445 libgreputils_a_SOURCES += exclude.c
447 EXTRA_DIST += exclude.h
449 ## end gnulib module exclude
451 ## begin gnulib module exitfail
453 libgreputils_a_SOURCES += exitfail.c
455 EXTRA_DIST += exitfail.h
457 ## end gnulib module exitfail
459 ## begin gnulib module fchdir
462 EXTRA_DIST += fchdir.c
464 EXTRA_libgreputils_a_SOURCES += fchdir.c
466 ## end gnulib module fchdir
468 ## begin gnulib module fcntl
471 EXTRA_DIST += fcntl.c
473 EXTRA_libgreputils_a_SOURCES += fcntl.c
475 ## end gnulib module fcntl
477 ## begin gnulib module fcntl-h
479 BUILT_SOURCES += fcntl.h
481 # We need the following in order to create <fcntl.h> when the system
482 # doesn't have one that works with the given compiler.
483 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
484 $(AM_V_GEN)rm -f $@-t $@ && \
485 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
486 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
487 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
488 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
489 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
490 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
491 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
492 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
493 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
494 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
495 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
496 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
497 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
498 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
499 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
500 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
501 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
502 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
503 < $(srcdir)/fcntl.in.h; \
504 } > $@-t && \
505 mv $@-t $@
506 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
508 EXTRA_DIST += fcntl.in.h
510 ## end gnulib module fcntl-h
512 ## begin gnulib module fcntl-safer
514 libgreputils_a_SOURCES += creat-safer.c open-safer.c
516 EXTRA_DIST += fcntl--.h fcntl-safer.h
518 ## end gnulib module fcntl-safer
520 ## begin gnulib module fd-hook
522 libgreputils_a_SOURCES += fd-hook.c
524 EXTRA_DIST += fd-hook.h
526 ## end gnulib module fd-hook
528 ## begin gnulib module fdopendir
531 EXTRA_DIST += fdopendir.c
533 EXTRA_libgreputils_a_SOURCES += fdopendir.c
535 ## end gnulib module fdopendir
537 ## begin gnulib module filename
540 EXTRA_DIST += filename.h
542 ## end gnulib module filename
544 ## begin gnulib module filenamecat-lgpl
546 libgreputils_a_SOURCES += filenamecat-lgpl.c
548 EXTRA_DIST += filenamecat.h
550 ## end gnulib module filenamecat-lgpl
552 ## begin gnulib module fnmatch
554 BUILT_SOURCES += $(FNMATCH_H)
556 # We need the following in order to create <fnmatch.h> when the system
557 # doesn't have one that supports the required API.
558 if GL_GENERATE_FNMATCH_H
559 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
560 $(AM_V_GEN)rm -f $@-t $@ && \
561 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
562 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
563 < $(srcdir)/fnmatch.in.h; \
564 } > $@-t && \
565 mv -f $@-t $@
566 else
567 fnmatch.h: $(top_builddir)/config.status
568 rm -f $@
569 endif
570 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
572 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
574 EXTRA_libgreputils_a_SOURCES += fnmatch.c fnmatch_loop.c
576 ## end gnulib module fnmatch
578 ## begin gnulib module fpending
581 EXTRA_DIST += fpending.c fpending.h
583 EXTRA_libgreputils_a_SOURCES += fpending.c
585 ## end gnulib module fpending
587 ## begin gnulib module fstat
590 EXTRA_DIST += fstat.c
592 EXTRA_libgreputils_a_SOURCES += fstat.c
594 ## end gnulib module fstat
596 ## begin gnulib module fstatat
599 EXTRA_DIST += at-func.c fstatat.c
601 EXTRA_libgreputils_a_SOURCES += at-func.c fstatat.c
603 ## end gnulib module fstatat
605 ## begin gnulib module fts
608 EXTRA_DIST += fts-cycle.c fts.c fts_.h
610 EXTRA_libgreputils_a_SOURCES += fts-cycle.c fts.c
612 ## end gnulib module fts
614 ## begin gnulib module gendocs
617 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
619 ## end gnulib module gendocs
621 ## begin gnulib module getcwd-lgpl
624 EXTRA_DIST += getcwd-lgpl.c
626 EXTRA_libgreputils_a_SOURCES += getcwd-lgpl.c
628 ## end gnulib module getcwd-lgpl
630 ## begin gnulib module getdtablesize
633 EXTRA_DIST += getdtablesize.c
635 EXTRA_libgreputils_a_SOURCES += getdtablesize.c
637 ## end gnulib module getdtablesize
639 ## begin gnulib module getopt-posix
641 BUILT_SOURCES += $(GETOPT_H)
643 # We need the following in order to create <getopt.h> when the system
644 # doesn't have one that works with the given compiler.
645 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
646 $(AM_V_GEN)rm -f $@-t $@ && \
647 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
648 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
649 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
650 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
651 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
652 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
653 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
654 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
655 < $(srcdir)/getopt.in.h; \
656 } > $@-t && \
657 mv -f $@-t $@
658 MOSTLYCLEANFILES += getopt.h getopt.h-t
660 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
662 EXTRA_libgreputils_a_SOURCES += getopt.c getopt1.c
664 ## end gnulib module getopt-posix
666 ## begin gnulib module getpagesize
669 EXTRA_DIST += getpagesize.c
671 EXTRA_libgreputils_a_SOURCES += getpagesize.c
673 ## end gnulib module getpagesize
675 ## begin gnulib module gettext-h
677 libgreputils_a_SOURCES += gettext.h
679 ## end gnulib module gettext-h
681 ## begin gnulib module gettimeofday
684 EXTRA_DIST += gettimeofday.c
686 EXTRA_libgreputils_a_SOURCES += gettimeofday.c
688 ## end gnulib module gettimeofday
690 ## begin gnulib module git-version-gen
693 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
695 ## end gnulib module git-version-gen
697 ## begin gnulib module gitlog-to-changelog
700 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
702 ## end gnulib module gitlog-to-changelog
704 ## begin gnulib module gnu-web-doc-update
707 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
709 ## end gnulib module gnu-web-doc-update
711 ## begin gnulib module gnumakefile
713 distclean-local: clean-GNUmakefile
714 clean-GNUmakefile:
715 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
717 EXTRA_DIST += $(top_srcdir)/GNUmakefile
719 ## end gnulib module gnumakefile
721 ## begin gnulib module gnupload
724 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
726 ## end gnulib module gnupload
728 ## begin gnulib module gperf
730 GPERF = gperf
731 V_GPERF = $(V_GPERF_@AM_V@)
732 V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
733 V_GPERF_0 = @echo " GPERF " $@;
735 ## end gnulib module gperf
737 ## begin gnulib module hash
739 libgreputils_a_SOURCES += hash.c
741 EXTRA_DIST += hash.h
743 ## end gnulib module hash
745 ## begin gnulib module havelib
748 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
750 ## end gnulib module havelib
752 ## begin gnulib module i-ring
754 libgreputils_a_SOURCES += i-ring.c
756 EXTRA_DIST += i-ring.h
758 ## end gnulib module i-ring
760 ## begin gnulib module iconv-h
762 BUILT_SOURCES += $(ICONV_H)
764 # We need the following in order to create <iconv.h> when the system
765 # doesn't have one that works with the given compiler.
766 if GL_GENERATE_ICONV_H
767 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
768 $(AM_V_GEN)rm -f $@-t $@ && \
769 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
771 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
772 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
773 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
774 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
775 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
776 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
777 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
778 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
779 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
780 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
781 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
782 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
783 < $(srcdir)/iconv.in.h; \
784 } > $@-t && \
785 mv $@-t $@
786 else
787 iconv.h: $(top_builddir)/config.status
788 rm -f $@
789 endif
790 MOSTLYCLEANFILES += iconv.h iconv.h-t
792 EXTRA_DIST += iconv.in.h
794 ## end gnulib module iconv-h
796 ## begin gnulib module iconv_open
798 iconv_open-aix.h: iconv_open-aix.gperf
799 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
800 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
801 iconv_open-hpux.h: iconv_open-hpux.gperf
802 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
803 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
804 iconv_open-irix.h: iconv_open-irix.gperf
805 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
806 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
807 iconv_open-osf.h: iconv_open-osf.gperf
808 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
809 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
810 iconv_open-solaris.h: iconv_open-solaris.gperf
811 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
812 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
813 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
814 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
815 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
816 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
818 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
820 EXTRA_libgreputils_a_SOURCES += iconv.c iconv_close.c iconv_open.c
822 ## end gnulib module iconv_open
824 ## begin gnulib module ignore-value
827 EXTRA_DIST += ignore-value.h
829 ## end gnulib module ignore-value
831 ## begin gnulib module intprops
834 EXTRA_DIST += intprops.h
836 ## end gnulib module intprops
838 ## begin gnulib module inttypes-incomplete
840 BUILT_SOURCES += inttypes.h
842 # We need the following in order to create <inttypes.h> when the system
843 # doesn't have one that works with the given compiler.
844 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
845 $(AM_V_GEN)rm -f $@-t $@ && \
846 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
847 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
848 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
849 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
850 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
851 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
852 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
853 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
854 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
855 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
856 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
857 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
858 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
859 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
860 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
861 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
862 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
863 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
864 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
865 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
866 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
867 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
868 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
869 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
870 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
871 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
872 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
873 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
874 < $(srcdir)/inttypes.in.h; \
875 } > $@-t && \
876 mv $@-t $@
877 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
879 EXTRA_DIST += inttypes.in.h
881 ## end gnulib module inttypes-incomplete
883 ## begin gnulib module isatty
886 EXTRA_DIST += isatty.c
888 EXTRA_libgreputils_a_SOURCES += isatty.c
890 ## end gnulib module isatty
892 ## begin gnulib module isblank
895 EXTRA_DIST += isblank.c
897 EXTRA_libgreputils_a_SOURCES += isblank.c
899 ## end gnulib module isblank
901 ## begin gnulib module iswblank
904 EXTRA_DIST += iswblank.c
906 EXTRA_libgreputils_a_SOURCES += iswblank.c
908 ## end gnulib module iswblank
910 ## begin gnulib module iswctype
913 EXTRA_DIST += iswctype-impl.h iswctype.c
915 EXTRA_libgreputils_a_SOURCES += iswctype.c
917 ## end gnulib module iswctype
919 ## begin gnulib module langinfo
921 BUILT_SOURCES += langinfo.h
923 # We need the following in order to create an empty placeholder for
924 # <langinfo.h> when the system doesn't have one.
925 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
926 $(AM_V_GEN)rm -f $@-t $@ && \
927 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
928 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
929 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
930 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
931 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
932 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
933 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
934 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
935 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
936 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
937 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
938 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
939 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
940 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
941 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
942 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
943 < $(srcdir)/langinfo.in.h; \
944 } > $@-t && \
945 mv $@-t $@
946 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
948 EXTRA_DIST += langinfo.in.h
950 ## end gnulib module langinfo
952 ## begin gnulib module localcharset
954 libgreputils_a_SOURCES += localcharset.h localcharset.c
956 # We need the following in order to install a simple file in $(libdir)
957 # which is shared with other installed packages. We use a list of referencing
958 # packages so that "make uninstall" will remove the file if and only if it
959 # is not used by another installed package.
960 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
961 # avoid installing it.
963 all-local: charset.alias ref-add.sed ref-del.sed
965 charset_alias = $(DESTDIR)$(libdir)/charset.alias
966 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
967 install-exec-local: install-exec-localcharset
968 install-exec-localcharset: all-local
969 if test $(GLIBC21) = no; then \
970 case '$(host_os)' in \
971 darwin[56]*) \
972 need_charset_alias=true ;; \
973 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
974 need_charset_alias=false ;; \
975 *) \
976 need_charset_alias=true ;; \
977 esac ; \
978 else \
979 need_charset_alias=false ; \
980 fi ; \
981 if $$need_charset_alias; then \
982 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
983 fi ; \
984 if test -f $(charset_alias); then \
985 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
986 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
987 rm -f $(charset_tmp) ; \
988 else \
989 if $$need_charset_alias; then \
990 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
991 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
992 rm -f $(charset_tmp) ; \
993 fi ; \
996 uninstall-local: uninstall-localcharset
997 uninstall-localcharset: all-local
998 if test -f $(charset_alias); then \
999 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
1000 if grep '^# Packages using this file: $$' $(charset_tmp) \
1001 > /dev/null; then \
1002 rm -f $(charset_alias); \
1003 else \
1004 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
1005 fi; \
1006 rm -f $(charset_tmp); \
1009 charset.alias: config.charset
1010 $(AM_V_GEN)rm -f t-$@ $@ && \
1011 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
1012 mv t-$@ $@
1014 SUFFIXES += .sed .sin
1015 .sin.sed:
1016 $(AM_V_GEN)rm -f t-$@ $@ && \
1017 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
1018 mv t-$@ $@
1020 CLEANFILES += charset.alias ref-add.sed ref-del.sed
1022 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
1024 ## end gnulib module localcharset
1026 ## begin gnulib module locale
1028 BUILT_SOURCES += locale.h
1030 # We need the following in order to create <locale.h> when the system
1031 # doesn't have one that provides all definitions.
1032 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1033 $(AM_V_GEN)rm -f $@-t $@ && \
1034 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1035 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1036 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1037 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1038 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1039 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1040 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
1041 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
1042 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
1043 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
1044 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1045 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
1046 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
1047 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1048 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
1049 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1050 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1051 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1052 < $(srcdir)/locale.in.h; \
1053 } > $@-t && \
1054 mv $@-t $@
1055 MOSTLYCLEANFILES += locale.h locale.h-t
1057 EXTRA_DIST += locale.in.h
1059 ## end gnulib module locale
1061 ## begin gnulib module localeconv
1064 EXTRA_DIST += localeconv.c
1066 EXTRA_libgreputils_a_SOURCES += localeconv.c
1068 ## end gnulib module localeconv
1070 ## begin gnulib module lock
1072 libgreputils_a_SOURCES += glthread/lock.h glthread/lock.c
1074 ## end gnulib module lock
1076 ## begin gnulib module lseek
1079 EXTRA_DIST += lseek.c
1081 EXTRA_libgreputils_a_SOURCES += lseek.c
1083 ## end gnulib module lseek
1085 ## begin gnulib module lstat
1088 EXTRA_DIST += lstat.c
1090 EXTRA_libgreputils_a_SOURCES += lstat.c
1092 ## end gnulib module lstat
1094 ## begin gnulib module maintainer-makefile
1096 EXTRA_DIST += $(top_srcdir)/maint.mk
1098 ## end gnulib module maintainer-makefile
1100 ## begin gnulib module malloc-gnu
1103 EXTRA_DIST += malloc.c
1105 EXTRA_libgreputils_a_SOURCES += malloc.c
1107 ## end gnulib module malloc-gnu
1109 ## begin gnulib module malloc-posix
1112 EXTRA_DIST += malloc.c
1114 EXTRA_libgreputils_a_SOURCES += malloc.c
1116 ## end gnulib module malloc-posix
1118 ## begin gnulib module malloca
1120 libgreputils_a_SOURCES += malloca.c
1122 EXTRA_DIST += malloca.h malloca.valgrind
1124 ## end gnulib module malloca
1126 ## begin gnulib module mbchar
1128 libgreputils_a_SOURCES += mbchar.c
1130 EXTRA_DIST += mbchar.h
1132 ## end gnulib module mbchar
1134 ## begin gnulib module mbiter
1136 libgreputils_a_SOURCES += mbiter.h mbiter.c
1138 ## end gnulib module mbiter
1140 ## begin gnulib module mbrlen
1143 EXTRA_DIST += mbrlen.c
1145 EXTRA_libgreputils_a_SOURCES += mbrlen.c
1147 ## end gnulib module mbrlen
1149 ## begin gnulib module mbrtowc
1152 EXTRA_DIST += mbrtowc.c
1154 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
1156 ## end gnulib module mbrtowc
1158 ## begin gnulib module mbscasecmp
1160 libgreputils_a_SOURCES += mbscasecmp.c
1162 ## end gnulib module mbscasecmp
1164 ## begin gnulib module mbsinit
1167 EXTRA_DIST += mbsinit.c
1169 EXTRA_libgreputils_a_SOURCES += mbsinit.c
1171 ## end gnulib module mbsinit
1173 ## begin gnulib module mbslen
1175 libgreputils_a_SOURCES += mbslen.c
1177 ## end gnulib module mbslen
1179 ## begin gnulib module mbsrtowcs
1182 EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1184 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1186 ## end gnulib module mbsrtowcs
1188 ## begin gnulib module mbsstr
1190 libgreputils_a_SOURCES += mbsstr.c
1192 EXTRA_DIST += str-kmp.h
1194 ## end gnulib module mbsstr
1196 ## begin gnulib module mbtowc
1199 EXTRA_DIST += mbtowc-impl.h mbtowc.c
1201 EXTRA_libgreputils_a_SOURCES += mbtowc.c
1203 ## end gnulib module mbtowc
1205 ## begin gnulib module mbuiter
1207 libgreputils_a_SOURCES += mbuiter.h mbuiter.c
1209 ## end gnulib module mbuiter
1211 ## begin gnulib module memchr
1214 EXTRA_DIST += memchr.c memchr.valgrind
1216 EXTRA_libgreputils_a_SOURCES += memchr.c
1218 ## end gnulib module memchr
1220 ## begin gnulib module memchr2
1222 libgreputils_a_SOURCES += memchr2.h memchr2.c
1224 EXTRA_DIST += memchr2.valgrind
1226 ## end gnulib module memchr2
1228 ## begin gnulib module mempcpy
1231 EXTRA_DIST += mempcpy.c
1233 EXTRA_libgreputils_a_SOURCES += mempcpy.c
1235 ## end gnulib module mempcpy
1237 ## begin gnulib module memrchr
1240 EXTRA_DIST += memrchr.c
1242 EXTRA_libgreputils_a_SOURCES += memrchr.c
1244 ## end gnulib module memrchr
1246 ## begin gnulib module minmax
1248 libgreputils_a_SOURCES += minmax.h
1250 ## end gnulib module minmax
1252 ## begin gnulib module msvc-inval
1255 EXTRA_DIST += msvc-inval.c msvc-inval.h
1257 EXTRA_libgreputils_a_SOURCES += msvc-inval.c
1259 ## end gnulib module msvc-inval
1261 ## begin gnulib module msvc-nothrow
1264 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1266 EXTRA_libgreputils_a_SOURCES += msvc-nothrow.c
1268 ## end gnulib module msvc-nothrow
1270 ## begin gnulib module nl_langinfo
1273 EXTRA_DIST += nl_langinfo.c
1275 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
1277 ## end gnulib module nl_langinfo
1279 ## begin gnulib module obstack
1282 EXTRA_DIST += obstack.c obstack.h
1284 EXTRA_libgreputils_a_SOURCES += obstack.c
1286 ## end gnulib module obstack
1288 ## begin gnulib module open
1291 EXTRA_DIST += open.c
1293 EXTRA_libgreputils_a_SOURCES += open.c
1295 ## end gnulib module open
1297 ## begin gnulib module openat
1300 EXTRA_DIST += openat.c
1302 EXTRA_libgreputils_a_SOURCES += openat.c
1304 ## end gnulib module openat
1306 ## begin gnulib module openat-die
1308 libgreputils_a_SOURCES += openat-die.c
1310 ## end gnulib module openat-die
1312 ## begin gnulib module openat-h
1315 EXTRA_DIST += openat.h
1317 ## end gnulib module openat-h
1319 ## begin gnulib module openat-safer
1321 libgreputils_a_SOURCES += openat-safer.c
1323 EXTRA_DIST += fcntl--.h fcntl-safer.h
1325 ## end gnulib module openat-safer
1327 ## begin gnulib module opendir
1330 EXTRA_DIST += dirent-private.h opendir.c
1332 EXTRA_libgreputils_a_SOURCES += opendir.c
1334 ## end gnulib module opendir
1336 ## begin gnulib module pathmax
1339 EXTRA_DIST += pathmax.h
1341 ## end gnulib module pathmax
1343 ## begin gnulib module progname
1345 libgreputils_a_SOURCES += progname.h progname.c
1347 ## end gnulib module progname
1349 ## begin gnulib module propername
1351 libgreputils_a_SOURCES += propername.h propername.c
1353 ## end gnulib module propername
1355 ## begin gnulib module quote
1358 EXTRA_DIST += quote.h
1360 ## end gnulib module quote
1362 ## begin gnulib module quotearg
1364 libgreputils_a_SOURCES += quotearg.c
1366 EXTRA_DIST += quote.h quotearg.h
1368 ## end gnulib module quotearg
1370 ## begin gnulib module read
1373 EXTRA_DIST += read.c
1375 EXTRA_libgreputils_a_SOURCES += read.c
1377 ## end gnulib module read
1379 ## begin gnulib module readdir
1382 EXTRA_DIST += dirent-private.h readdir.c
1384 EXTRA_libgreputils_a_SOURCES += readdir.c
1386 ## end gnulib module readdir
1388 ## begin gnulib module readme-release
1391 EXTRA_DIST += $(top_srcdir)/README-release
1393 ## end gnulib module readme-release
1395 ## begin gnulib module realloc-gnu
1398 EXTRA_DIST += realloc.c
1400 EXTRA_libgreputils_a_SOURCES += realloc.c
1402 ## end gnulib module realloc-gnu
1404 ## begin gnulib module realloc-posix
1407 EXTRA_DIST += realloc.c
1409 EXTRA_libgreputils_a_SOURCES += realloc.c
1411 ## end gnulib module realloc-posix
1413 ## begin gnulib module regex
1416 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1418 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1420 ## end gnulib module regex
1422 ## begin gnulib module safe-read
1424 libgreputils_a_SOURCES += safe-read.c
1426 EXTRA_DIST += safe-read.h
1428 ## end gnulib module safe-read
1430 ## begin gnulib module same-inode
1433 EXTRA_DIST += same-inode.h
1435 ## end gnulib module same-inode
1437 ## begin gnulib module save-cwd
1439 libgreputils_a_SOURCES += save-cwd.c
1441 EXTRA_DIST += save-cwd.h
1443 ## end gnulib module save-cwd
1445 ## begin gnulib module snippet/_Noreturn
1447 # Because this Makefile snippet defines a variable used by other
1448 # gnulib Makefile snippets, it must be present in all Makefile.am that
1449 # need it. This is ensured by the applicability 'all' defined above.
1451 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1453 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1455 ## end gnulib module snippet/_Noreturn
1457 ## begin gnulib module snippet/arg-nonnull
1459 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1460 # statements but through direct file reference. Therefore this snippet must be
1461 # present in all Makefile.am that need it. This is ensured by the applicability
1462 # 'all' defined above.
1464 BUILT_SOURCES += arg-nonnull.h
1465 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1466 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1467 # off.
1468 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1469 $(AM_V_GEN)rm -f $@-t $@ && \
1470 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1471 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1472 > $@-t && \
1473 mv $@-t $@
1474 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1476 ARG_NONNULL_H=arg-nonnull.h
1478 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1480 ## end gnulib module snippet/arg-nonnull
1482 ## begin gnulib module snippet/c++defs
1484 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1485 # statements but through direct file reference. Therefore this snippet must be
1486 # present in all Makefile.am that need it. This is ensured by the applicability
1487 # 'all' defined above.
1489 BUILT_SOURCES += c++defs.h
1490 # The c++defs.h that gets inserted into generated .h files is the same as
1491 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1492 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1493 $(AM_V_GEN)rm -f $@-t $@ && \
1494 sed -n -e '/_GL_CXXDEFS/,$$p' \
1495 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1496 > $@-t && \
1497 mv $@-t $@
1498 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1500 CXXDEFS_H=c++defs.h
1502 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1504 ## end gnulib module snippet/c++defs
1506 ## begin gnulib module snippet/unused-parameter
1508 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1509 # statements but through direct file reference. Therefore this snippet must be
1510 # present in all Makefile.am that need it. This is ensured by the applicability
1511 # 'all' defined above.
1513 BUILT_SOURCES += unused-parameter.h
1514 # The unused-parameter.h that gets inserted into generated .h files is the same
1515 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1516 # header cut off.
1517 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1518 $(AM_V_GEN)rm -f $@-t $@ && \
1519 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1520 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1521 > $@-t && \
1522 mv $@-t $@
1523 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1525 UNUSED_PARAMETER_H=unused-parameter.h
1527 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1529 ## end gnulib module snippet/unused-parameter
1531 ## begin gnulib module snippet/warn-on-use
1533 BUILT_SOURCES += warn-on-use.h
1534 # The warn-on-use.h that gets inserted into generated .h files is the same as
1535 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1536 # off.
1537 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1538 $(AM_V_GEN)rm -f $@-t $@ && \
1539 sed -n -e '/^.ifndef/,$$p' \
1540 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1541 > $@-t && \
1542 mv $@-t $@
1543 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1545 WARN_ON_USE_H=warn-on-use.h
1547 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1549 ## end gnulib module snippet/warn-on-use
1551 ## begin gnulib module stat
1554 EXTRA_DIST += stat.c
1556 EXTRA_libgreputils_a_SOURCES += stat.c
1558 ## end gnulib module stat
1560 ## begin gnulib module stdalign
1562 BUILT_SOURCES += $(STDALIGN_H)
1564 # We need the following in order to create <stdalign.h> when the system
1565 # doesn't have one that works.
1566 if GL_GENERATE_STDALIGN_H
1567 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1568 $(AM_V_GEN)rm -f $@-t $@ && \
1569 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1570 cat $(srcdir)/stdalign.in.h; \
1571 } > $@-t && \
1572 mv $@-t $@
1573 else
1574 stdalign.h: $(top_builddir)/config.status
1575 rm -f $@
1576 endif
1577 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1579 EXTRA_DIST += stdalign.in.h
1581 ## end gnulib module stdalign
1583 ## begin gnulib module stdarg
1585 BUILT_SOURCES += $(STDARG_H)
1587 # We need the following in order to create <stdarg.h> when the system
1588 # doesn't have one that works with the given compiler.
1589 if GL_GENERATE_STDARG_H
1590 stdarg.h: stdarg.in.h $(top_builddir)/config.status
1591 $(AM_V_GEN)rm -f $@-t $@ && \
1592 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1593 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1594 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1595 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1596 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1597 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1598 < $(srcdir)/stdarg.in.h; \
1599 } > $@-t && \
1600 mv $@-t $@
1601 else
1602 stdarg.h: $(top_builddir)/config.status
1603 rm -f $@
1604 endif
1605 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1607 EXTRA_DIST += stdarg.in.h
1609 ## end gnulib module stdarg
1611 ## begin gnulib module stdbool
1613 BUILT_SOURCES += $(STDBOOL_H)
1615 # We need the following in order to create <stdbool.h> when the system
1616 # doesn't have one that works.
1617 if GL_GENERATE_STDBOOL_H
1618 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1619 $(AM_V_GEN)rm -f $@-t $@ && \
1620 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1621 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1622 } > $@-t && \
1623 mv $@-t $@
1624 else
1625 stdbool.h: $(top_builddir)/config.status
1626 rm -f $@
1627 endif
1628 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1630 EXTRA_DIST += stdbool.in.h
1632 ## end gnulib module stdbool
1634 ## begin gnulib module stddef
1636 BUILT_SOURCES += $(STDDEF_H)
1638 # We need the following in order to create <stddef.h> when the system
1639 # doesn't have one that works with the given compiler.
1640 if GL_GENERATE_STDDEF_H
1641 stddef.h: stddef.in.h $(top_builddir)/config.status
1642 $(AM_V_GEN)rm -f $@-t $@ && \
1643 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1644 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1645 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1646 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1647 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1648 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1649 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1650 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1651 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1652 < $(srcdir)/stddef.in.h; \
1653 } > $@-t && \
1654 mv $@-t $@
1655 else
1656 stddef.h: $(top_builddir)/config.status
1657 rm -f $@
1658 endif
1659 MOSTLYCLEANFILES += stddef.h stddef.h-t
1661 EXTRA_DIST += stddef.in.h
1663 ## end gnulib module stddef
1665 ## begin gnulib module stdint
1667 BUILT_SOURCES += $(STDINT_H)
1669 # We need the following in order to create <stdint.h> when the system
1670 # doesn't have one that works with the given compiler.
1671 if GL_GENERATE_STDINT_H
1672 stdint.h: stdint.in.h $(top_builddir)/config.status
1673 $(AM_V_GEN)rm -f $@-t $@ && \
1674 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1675 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1676 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1677 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1678 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1679 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1680 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1681 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1682 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1683 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1684 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1685 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1686 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1687 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1688 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1689 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1690 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1691 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1692 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1693 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1694 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1695 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1696 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1697 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1698 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1699 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1700 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1701 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1702 < $(srcdir)/stdint.in.h; \
1703 } > $@-t && \
1704 mv $@-t $@
1705 else
1706 stdint.h: $(top_builddir)/config.status
1707 rm -f $@
1708 endif
1709 MOSTLYCLEANFILES += stdint.h stdint.h-t
1711 EXTRA_DIST += stdint.in.h
1713 ## end gnulib module stdint
1715 ## begin gnulib module stdio
1717 BUILT_SOURCES += stdio.h
1719 # We need the following in order to create <stdio.h> when the system
1720 # doesn't have one that works with the given compiler.
1721 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1722 $(AM_V_GEN)rm -f $@-t $@ && \
1723 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1724 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1725 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1726 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1727 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1728 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1729 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1730 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1731 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1732 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1733 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1734 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1735 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1736 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1737 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1738 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1739 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1740 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1741 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1742 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1743 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1744 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1745 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1746 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1747 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1748 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1749 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1750 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1751 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1752 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1753 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1754 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1755 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1756 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1757 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1758 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1759 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1760 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1761 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1762 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1763 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1764 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1765 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1766 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1767 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1768 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1769 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1770 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1771 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1772 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1773 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1774 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1775 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1776 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1777 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1778 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1779 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1780 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1781 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1782 < $(srcdir)/stdio.in.h | \
1783 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1784 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1785 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1786 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1787 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1788 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1789 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1790 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1791 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1792 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1793 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1794 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1795 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1796 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1797 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1798 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1799 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1800 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1801 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1802 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1803 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1804 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1805 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1806 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1807 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1808 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1809 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1810 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1811 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1812 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1813 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1814 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1815 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1816 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1817 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1818 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1819 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1820 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1821 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1822 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1823 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1824 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1825 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1826 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1827 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1828 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1829 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1830 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1831 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1832 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1833 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1834 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1835 } > $@-t && \
1836 mv $@-t $@
1837 MOSTLYCLEANFILES += stdio.h stdio.h-t
1839 EXTRA_DIST += stdio.in.h
1841 ## end gnulib module stdio
1843 ## begin gnulib module stdlib
1845 BUILT_SOURCES += stdlib.h
1847 # We need the following in order to create <stdlib.h> when the system
1848 # doesn't have one that works with the given compiler.
1849 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1850 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1851 $(AM_V_GEN)rm -f $@-t $@ && \
1852 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1853 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1854 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1855 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1856 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1857 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1858 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1859 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1860 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1861 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1862 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1863 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1864 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1865 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1866 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1867 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1868 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1869 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1870 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1871 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1872 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1873 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1874 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1875 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1876 -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
1877 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1878 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1879 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1880 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1881 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1882 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1883 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1884 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1885 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1886 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1887 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1888 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1889 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1890 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1891 < $(srcdir)/stdlib.in.h | \
1892 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1893 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1894 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1895 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1896 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1897 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1898 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1899 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1900 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1901 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1902 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1903 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1904 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1905 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1906 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1907 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1908 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1909 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1910 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1911 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1912 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1913 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1914 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1915 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1916 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1917 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1918 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1919 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1920 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1921 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1922 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1923 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1924 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1925 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1926 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1927 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1928 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1929 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1930 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1931 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1932 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1933 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1934 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1935 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1936 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1937 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1938 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1939 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1940 } > $@-t && \
1941 mv $@-t $@
1942 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1944 EXTRA_DIST += stdlib.in.h
1946 ## end gnulib module stdlib
1948 ## begin gnulib module stpcpy
1951 EXTRA_DIST += stpcpy.c
1953 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1955 ## end gnulib module stpcpy
1957 ## begin gnulib module strdup-posix
1960 EXTRA_DIST += strdup.c
1962 EXTRA_libgreputils_a_SOURCES += strdup.c
1964 ## end gnulib module strdup-posix
1966 ## begin gnulib module streq
1969 EXTRA_DIST += streq.h
1971 ## end gnulib module streq
1973 ## begin gnulib module strerror
1976 EXTRA_DIST += strerror.c
1978 EXTRA_libgreputils_a_SOURCES += strerror.c
1980 ## end gnulib module strerror
1982 ## begin gnulib module strerror-override
1985 EXTRA_DIST += strerror-override.c strerror-override.h
1987 EXTRA_libgreputils_a_SOURCES += strerror-override.c
1989 ## end gnulib module strerror-override
1991 ## begin gnulib module striconv
1993 libgreputils_a_SOURCES += striconv.h striconv.c
1994 if GL_COND_LIBTOOL
1995 endif
1997 ## end gnulib module striconv
1999 ## begin gnulib module string
2001 BUILT_SOURCES += string.h
2003 # We need the following in order to create <string.h> when the system
2004 # doesn't have one that works with the given compiler.
2005 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2006 $(AM_V_GEN)rm -f $@-t $@ && \
2007 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2008 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2009 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2010 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2011 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2012 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
2013 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
2014 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
2015 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
2016 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
2017 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
2018 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
2019 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
2020 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
2021 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
2022 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
2023 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
2024 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
2025 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
2026 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
2027 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
2028 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
2029 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
2030 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
2031 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
2032 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
2033 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
2034 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
2035 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
2036 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
2037 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
2038 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
2039 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
2040 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
2041 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
2042 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
2043 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
2044 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
2045 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
2046 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
2047 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
2048 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
2049 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
2050 < $(srcdir)/string.in.h | \
2051 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
2052 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2053 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
2054 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
2055 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2056 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2057 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
2058 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
2059 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2060 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2061 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2062 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
2063 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2064 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2065 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2066 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2067 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2068 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
2069 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
2070 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
2071 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
2072 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
2073 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
2074 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
2075 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
2076 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
2077 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
2078 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
2079 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
2080 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
2081 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
2082 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
2083 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
2084 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
2085 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
2086 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2087 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2088 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2089 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2090 < $(srcdir)/string.in.h; \
2091 } > $@-t && \
2092 mv $@-t $@
2093 MOSTLYCLEANFILES += string.h string.h-t
2095 EXTRA_DIST += string.in.h
2097 ## end gnulib module string
2099 ## begin gnulib module strnlen
2102 EXTRA_DIST += strnlen.c
2104 EXTRA_libgreputils_a_SOURCES += strnlen.c
2106 ## end gnulib module strnlen
2108 ## begin gnulib module strnlen1
2110 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
2112 ## end gnulib module strnlen1
2114 ## begin gnulib module strstr-simple
2117 EXTRA_DIST += str-two-way.h strstr.c
2119 EXTRA_libgreputils_a_SOURCES += strstr.c
2121 ## end gnulib module strstr-simple
2123 ## begin gnulib module strtoimax
2126 EXTRA_DIST += strtoimax.c
2128 EXTRA_libgreputils_a_SOURCES += strtoimax.c
2130 ## end gnulib module strtoimax
2132 ## begin gnulib module strtoll
2135 EXTRA_DIST += strtol.c strtoll.c
2137 EXTRA_libgreputils_a_SOURCES += strtol.c strtoll.c
2139 ## end gnulib module strtoll
2141 ## begin gnulib module strtoull
2144 EXTRA_DIST += strtol.c strtoul.c strtoull.c
2146 EXTRA_libgreputils_a_SOURCES += strtol.c strtoul.c strtoull.c
2148 ## end gnulib module strtoull
2150 ## begin gnulib module strtoumax
2153 EXTRA_DIST += strtoimax.c strtoumax.c
2155 EXTRA_libgreputils_a_SOURCES += strtoimax.c strtoumax.c
2157 ## end gnulib module strtoumax
2159 ## begin gnulib module sys_stat
2161 BUILT_SOURCES += sys/stat.h
2163 # We need the following in order to create <sys/stat.h> when the system
2164 # has one that is incomplete.
2165 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2166 $(AM_V_at)$(MKDIR_P) sys
2167 $(AM_V_GEN)rm -f $@-t $@ && \
2168 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2169 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2170 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2171 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2172 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2173 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2174 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2175 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
2176 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
2177 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2178 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2179 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2180 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2181 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2182 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2183 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2184 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2185 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2186 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2187 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2188 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2189 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2190 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2191 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2192 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2193 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2194 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2195 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2196 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2197 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2198 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2199 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2200 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2201 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2202 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2203 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2204 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2205 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2206 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2207 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2208 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2209 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2210 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2211 < $(srcdir)/sys_stat.in.h; \
2212 } > $@-t && \
2213 mv $@-t $@
2214 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2215 MOSTLYCLEANDIRS += sys
2217 EXTRA_DIST += sys_stat.in.h
2219 ## end gnulib module sys_stat
2221 ## begin gnulib module sys_time
2223 BUILT_SOURCES += sys/time.h
2225 # We need the following in order to create <sys/time.h> when the system
2226 # doesn't have one that works with the given compiler.
2227 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2228 $(AM_V_at)$(MKDIR_P) sys
2229 $(AM_V_GEN)rm -f $@-t $@ && \
2230 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2231 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2232 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
2233 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2234 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2235 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2236 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2237 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2238 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2239 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2240 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2241 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2242 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
2243 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2244 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2245 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2246 < $(srcdir)/sys_time.in.h; \
2247 } > $@-t && \
2248 mv $@-t $@
2249 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2251 EXTRA_DIST += sys_time.in.h
2253 ## end gnulib module sys_time
2255 ## begin gnulib module sys_types
2257 BUILT_SOURCES += sys/types.h
2259 # We need the following in order to create <sys/types.h> when the system
2260 # doesn't have one that works with the given compiler.
2261 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2262 $(AM_V_at)$(MKDIR_P) sys
2263 $(AM_V_GEN)rm -f $@-t $@ && \
2264 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2265 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2266 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2267 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2268 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2269 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2270 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2271 < $(srcdir)/sys_types.in.h; \
2272 } > $@-t && \
2273 mv $@-t $@
2274 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2276 EXTRA_DIST += sys_types.in.h
2278 ## end gnulib module sys_types
2280 ## begin gnulib module threadlib
2282 libgreputils_a_SOURCES += glthread/threadlib.c
2284 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
2286 ## end gnulib module threadlib
2288 ## begin gnulib module time
2290 BUILT_SOURCES += time.h
2292 # We need the following in order to create <time.h> when the system
2293 # doesn't have one that works with the given compiler.
2294 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2295 $(AM_V_GEN)rm -f $@-t $@ && \
2296 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2297 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2298 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2299 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2300 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2301 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2302 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2303 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2304 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2305 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2306 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2307 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
2308 -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
2309 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2310 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2311 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2312 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2313 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2314 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2315 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2316 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2317 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2318 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2319 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2320 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2321 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2322 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2323 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2324 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2325 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2326 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2327 < $(srcdir)/time.in.h; \
2328 } > $@-t && \
2329 mv $@-t $@
2330 MOSTLYCLEANFILES += time.h time.h-t
2332 EXTRA_DIST += time.in.h
2334 ## end gnulib module time
2336 ## begin gnulib module trim
2338 libgreputils_a_SOURCES += trim.c
2340 EXTRA_DIST += trim.h
2342 ## end gnulib module trim
2344 ## begin gnulib module unistd
2346 BUILT_SOURCES += unistd.h
2347 libgreputils_a_SOURCES += unistd.c
2349 # We need the following in order to create an empty placeholder for
2350 # <unistd.h> when the system doesn't have one.
2351 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2352 $(AM_V_GEN)rm -f $@-t $@ && \
2353 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2354 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2355 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2356 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2357 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2358 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2359 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2360 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2361 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2362 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2363 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2364 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2365 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2366 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2367 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2368 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2369 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2370 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2371 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2372 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2373 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2374 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2375 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2376 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2377 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2378 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2379 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2380 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2381 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2382 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2383 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2384 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2385 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2386 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2387 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2388 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2389 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2390 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2391 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2392 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2393 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2394 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2395 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2396 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2397 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2398 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2399 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2400 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2401 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2402 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2403 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2404 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2405 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2406 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2407 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2408 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2409 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2410 < $(srcdir)/unistd.in.h | \
2411 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2412 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2413 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2414 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2415 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2416 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2417 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2418 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2419 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2420 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2421 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2422 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2423 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2424 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2425 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2426 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2427 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2428 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2429 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2430 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2431 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2432 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2433 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2434 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2435 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2436 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2437 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2438 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2439 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2440 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2441 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2442 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2443 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2444 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2445 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2446 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2447 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2448 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2449 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2450 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2451 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2452 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2454 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2455 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2456 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2457 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2458 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2459 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2460 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2461 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2462 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2463 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2464 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2465 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2466 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2467 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2468 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2469 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2470 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2471 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2472 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2473 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2474 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2475 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
2476 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2477 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2478 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2479 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
2480 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2481 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2482 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2483 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2484 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2485 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2486 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2487 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2488 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2489 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2490 } > $@-t && \
2491 mv $@-t $@
2492 MOSTLYCLEANFILES += unistd.h unistd.h-t
2494 EXTRA_DIST += unistd.in.h
2496 ## end gnulib module unistd
2498 ## begin gnulib module unistd-safer
2500 libgreputils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2502 EXTRA_DIST += unistd--.h unistd-safer.h
2504 ## end gnulib module unistd-safer
2506 ## begin gnulib module unistr/base
2508 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
2510 unistr.h: unistr.in.h
2511 $(AM_V_GEN)rm -f $@-t $@ && \
2512 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2513 cat $(srcdir)/unistr.in.h; \
2514 } > $@-t && \
2515 mv -f $@-t $@
2516 MOSTLYCLEANFILES += unistr.h unistr.h-t
2518 EXTRA_DIST += unistr.in.h
2520 ## end gnulib module unistr/base
2522 ## begin gnulib module unistr/u8-mbtoucr
2524 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2525 libgreputils_a_SOURCES += unistr/u8-mbtoucr.c
2526 endif
2528 ## end gnulib module unistr/u8-mbtoucr
2530 ## begin gnulib module unistr/u8-uctomb
2532 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2533 libgreputils_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2534 endif
2536 ## end gnulib module unistr/u8-uctomb
2538 ## begin gnulib module unitypes
2540 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2542 unitypes.h: unitypes.in.h
2543 $(AM_V_GEN)rm -f $@-t $@ && \
2544 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2545 cat $(srcdir)/unitypes.in.h; \
2546 } > $@-t && \
2547 mv -f $@-t $@
2548 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
2550 EXTRA_DIST += unitypes.in.h
2552 ## end gnulib module unitypes
2554 ## begin gnulib module uniwidth/base
2556 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
2558 uniwidth.h: uniwidth.in.h
2559 $(AM_V_GEN)rm -f $@-t $@ && \
2560 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2561 cat $(srcdir)/uniwidth.in.h; \
2562 } > $@-t && \
2563 mv -f $@-t $@
2564 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
2566 EXTRA_DIST += localcharset.h uniwidth.in.h
2568 ## end gnulib module uniwidth/base
2570 ## begin gnulib module uniwidth/width
2572 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
2573 libgreputils_a_SOURCES += uniwidth/width.c
2574 endif
2576 EXTRA_DIST += uniwidth/cjk.h
2578 ## end gnulib module uniwidth/width
2580 ## begin gnulib module unlocked-io
2583 EXTRA_DIST += unlocked-io.h
2585 ## end gnulib module unlocked-io
2587 ## begin gnulib module update-copyright
2590 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2592 ## end gnulib module update-copyright
2594 ## begin gnulib module useless-if-before-free
2597 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2599 ## end gnulib module useless-if-before-free
2601 ## begin gnulib module vc-list-files
2604 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2606 ## end gnulib module vc-list-files
2608 ## begin gnulib module verify
2611 EXTRA_DIST += verify.h
2613 ## end gnulib module verify
2615 ## begin gnulib module version-etc
2617 libgreputils_a_SOURCES += version-etc.h version-etc.c
2619 ## end gnulib module version-etc
2621 ## begin gnulib module version-etc-fsf
2623 libgreputils_a_SOURCES += version-etc-fsf.c
2625 ## end gnulib module version-etc-fsf
2627 ## begin gnulib module wchar
2629 BUILT_SOURCES += wchar.h
2631 # We need the following in order to create <wchar.h> when the system
2632 # version does not work standalone.
2633 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2634 $(AM_V_GEN)rm -f $@-t $@ && \
2635 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2636 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2637 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2638 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2639 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2640 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2641 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2642 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2643 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2644 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2645 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2646 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2647 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2648 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2649 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2650 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2651 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2652 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2653 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2654 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2655 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2656 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2657 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2658 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2659 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2660 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2661 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2662 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2663 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2664 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2665 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2666 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2667 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2668 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2669 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2670 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2671 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2672 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2673 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2674 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2675 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2676 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2677 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2678 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2679 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2680 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2681 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2682 < $(srcdir)/wchar.in.h | \
2683 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2684 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2685 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2686 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2687 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2688 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2689 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2690 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2691 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2692 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2693 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2694 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2695 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2696 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2697 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2698 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2699 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2700 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2701 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2702 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2703 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2704 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2705 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2706 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2707 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2708 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2709 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2710 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2711 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2712 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2713 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2714 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2715 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2716 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2717 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2718 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2719 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2720 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2721 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2722 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2724 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2725 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2726 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2727 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2728 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2729 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2730 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2731 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2732 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2733 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2734 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2735 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2736 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2737 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2738 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2739 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2740 } > $@-t && \
2741 mv $@-t $@
2742 MOSTLYCLEANFILES += wchar.h wchar.h-t
2744 EXTRA_DIST += wchar.in.h
2746 ## end gnulib module wchar
2748 ## begin gnulib module wcrtomb
2751 EXTRA_DIST += wcrtomb.c
2753 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
2755 ## end gnulib module wcrtomb
2757 ## begin gnulib module wctob
2760 EXTRA_DIST += wctob.c
2762 EXTRA_libgreputils_a_SOURCES += wctob.c
2764 ## end gnulib module wctob
2766 ## begin gnulib module wctomb
2769 EXTRA_DIST += wctomb-impl.h wctomb.c
2771 EXTRA_libgreputils_a_SOURCES += wctomb.c
2773 ## end gnulib module wctomb
2775 ## begin gnulib module wctype-h
2777 BUILT_SOURCES += wctype.h
2778 libgreputils_a_SOURCES += wctype-h.c
2780 # We need the following in order to create <wctype.h> when the system
2781 # doesn't have one that works with the given compiler.
2782 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2783 $(AM_V_GEN)rm -f $@-t $@ && \
2784 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2785 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2786 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2787 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2788 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2789 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2790 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2791 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2792 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2793 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2794 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2795 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2796 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2797 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2798 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2799 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2800 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2801 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2802 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2803 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2804 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2805 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2806 < $(srcdir)/wctype.in.h; \
2807 } > $@-t && \
2808 mv $@-t $@
2809 MOSTLYCLEANFILES += wctype.h wctype.h-t
2811 EXTRA_DIST += wctype.in.h
2813 ## end gnulib module wctype-h
2815 ## begin gnulib module wcwidth
2818 EXTRA_DIST += wcwidth.c
2820 EXTRA_libgreputils_a_SOURCES += wcwidth.c
2822 ## end gnulib module wcwidth
2824 ## begin gnulib module xalloc
2826 libgreputils_a_SOURCES += xmalloc.c
2828 EXTRA_DIST += xalloc.h
2830 ## end gnulib module xalloc
2832 ## begin gnulib module xalloc-die
2834 libgreputils_a_SOURCES += xalloc-die.c
2836 ## end gnulib module xalloc-die
2838 ## begin gnulib module xalloc-oversized
2841 EXTRA_DIST += xalloc-oversized.h
2843 ## end gnulib module xalloc-oversized
2845 ## begin gnulib module xstriconv
2847 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
2849 ## end gnulib module xstriconv
2851 ## begin gnulib module xstrtoimax
2853 libgreputils_a_SOURCES += xstrtoimax.c
2855 ## end gnulib module xstrtoimax
2857 ## begin gnulib module xstrtol
2859 libgreputils_a_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
2861 EXTRA_DIST += xstrtol.h
2863 ## end gnulib module xstrtol
2866 mostlyclean-local: mostlyclean-generic
2867 @for dir in '' $(MOSTLYCLEANDIRS); do \
2868 if test -n "$$dir" && test -d $$dir; then \
2869 echo "rmdir $$dir"; rmdir $$dir; \
2870 fi; \
2871 done; \