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 --local-dir=gnulib-local --lib=libgrt --source-base=gnulib-lib --m4-base=gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl ansi-c++-opt atexit basename closeout csharpcomp-script error getopt-gnu gettext-h gettext-runtime-misc havelib java javacomp-script memmove progname propername relocatable-prog setlocale sigpipe stdbool stdio stdlib strtoul unlocked-io xalloc
26 AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects
35 MOSTLYCLEANFILES = core *.stackdump
39 MAINTAINERCLEANFILES =
44 noinst_LIBRARIES += libgrt.a
47 libgrt_a_LIBADD = $(gl_LIBOBJS)
48 libgrt_a_DEPENDENCIES = $(gl_LIBOBJS)
49 EXTRA_libgrt_a_SOURCES =
51 ## begin gnulib module absolute-header
53 # Use this preprocessor expression to decide whether #include_next works.
54 # Do not rely on a 'configure'-time test for this, since the expression
55 # might appear in an installed header, which is used by some other compiler.
56 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
58 ## end gnulib module absolute-header
60 ## begin gnulib module alloca-opt
62 BUILT_SOURCES += $(ALLOCA_H)
64 # We need the following in order to create <alloca.h> when the system
65 # doesn't have one that works with the given compiler.
66 if GL_GENERATE_ALLOCA_H
67 alloca.h: alloca.in.h $(top_builddir)/config.status
68 $(AM_V_GEN)rm -f $@-t $@ && \
69 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
70 cat $(srcdir)/alloca.in.h; \
74 alloca.h: $(top_builddir)/config.status
77 MOSTLYCLEANFILES += alloca.h alloca.h-t
79 EXTRA_DIST += alloca.in.h
81 ## end gnulib module alloca-opt
83 ## begin gnulib module allocator
85 libgrt_a_SOURCES += allocator.c
87 EXTRA_DIST += allocator.h
89 ## end gnulib module allocator
91 ## begin gnulib module areadlink
93 libgrt_a_SOURCES += areadlink.c
95 EXTRA_DIST += areadlink.h
97 ## end gnulib module areadlink
99 ## begin gnulib module atexit
102 EXTRA_DIST += atexit.c
104 EXTRA_libgrt_a_SOURCES += atexit.c
106 ## end gnulib module atexit
108 ## begin gnulib module basename
110 libgrt_a_SOURCES += basename.h basename.c
112 ## end gnulib module basename
114 ## begin gnulib module c-ctype
116 libgrt_a_SOURCES += c-ctype.h c-ctype.c
118 ## end gnulib module c-ctype
120 ## begin gnulib module c-strcase
122 libgrt_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
124 ## end gnulib module c-strcase
126 ## begin gnulib module canonicalize-lgpl
129 EXTRA_DIST += canonicalize-lgpl.c
131 EXTRA_libgrt_a_SOURCES += canonicalize-lgpl.c
133 ## end gnulib module canonicalize-lgpl
135 ## begin gnulib module careadlinkat
137 libgrt_a_SOURCES += careadlinkat.c
139 EXTRA_DIST += careadlinkat.h
141 ## end gnulib module careadlinkat
143 ## begin gnulib module closeout
145 libgrt_a_SOURCES += closeout.h closeout.c
147 ## end gnulib module closeout
149 ## begin gnulib module configmake
151 # Listed in the same order as the GNU makefile conventions, and
152 # provided by autoconf 2.59c+ or 2.70.
153 # The Automake-defined pkg* macros are appended, in the order
154 # listed in the Automake 1.10a+ documentation.
155 configmake.h: Makefile
156 $(AM_V_GEN)rm -f $@-t && \
157 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
158 echo '#define PREFIX "$(prefix)"'; \
159 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
160 echo '#define BINDIR "$(bindir)"'; \
161 echo '#define SBINDIR "$(sbindir)"'; \
162 echo '#define LIBEXECDIR "$(libexecdir)"'; \
163 echo '#define DATAROOTDIR "$(datarootdir)"'; \
164 echo '#define DATADIR "$(datadir)"'; \
165 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
166 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
167 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
168 echo '#define RUNSTATEDIR "$(runstatedir)"'; \
169 echo '#define INCLUDEDIR "$(includedir)"'; \
170 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
171 echo '#define DOCDIR "$(docdir)"'; \
172 echo '#define INFODIR "$(infodir)"'; \
173 echo '#define HTMLDIR "$(htmldir)"'; \
174 echo '#define DVIDIR "$(dvidir)"'; \
175 echo '#define PDFDIR "$(pdfdir)"'; \
176 echo '#define PSDIR "$(psdir)"'; \
177 echo '#define LIBDIR "$(libdir)"'; \
178 echo '#define LISPDIR "$(lispdir)"'; \
179 echo '#define LOCALEDIR "$(localedir)"'; \
180 echo '#define MANDIR "$(mandir)"'; \
181 echo '#define MANEXT "$(manext)"'; \
182 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
183 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
184 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
185 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
186 } | sed '/""/d' > $@-t && \
189 BUILT_SOURCES += configmake.h
190 CLEANFILES += configmake.h configmake.h-t
192 ## end gnulib module configmake
194 ## begin gnulib module csharpcomp-script
197 EXTRA_DIST += $(top_srcdir)/../build-aux/csharpcomp.sh.in
199 ## end gnulib module csharpcomp-script
201 ## begin gnulib module dosname
204 EXTRA_DIST += dosname.h
206 ## end gnulib module dosname
208 ## begin gnulib module errno
210 BUILT_SOURCES += $(ERRNO_H)
212 # We need the following in order to create <errno.h> when the system
213 # doesn't have one that is POSIX compliant.
214 if GL_GENERATE_ERRNO_H
215 errno.h: errno.in.h $(top_builddir)/config.status
216 $(AM_V_GEN)rm -f $@-t $@ && \
217 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
218 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
219 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
220 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
221 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
222 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
223 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
224 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
225 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
226 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
227 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
228 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
229 < $(srcdir)/errno.in.h; \
233 errno.h: $(top_builddir)/config.status
236 MOSTLYCLEANFILES += errno.h errno.h-t
238 EXTRA_DIST += errno.in.h
240 ## end gnulib module errno
242 ## begin gnulib module error
245 EXTRA_DIST += error.c error.h
247 EXTRA_libgrt_a_SOURCES += error.c
249 ## end gnulib module error
251 ## begin gnulib module fwriteerror
253 libgrt_a_SOURCES += fwriteerror.h fwriteerror.c
255 ## end gnulib module fwriteerror
257 ## begin gnulib module getopt-posix
259 BUILT_SOURCES += $(GETOPT_H)
261 # We need the following in order to create <getopt.h> when the system
262 # doesn't have one that works with the given compiler.
263 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
264 $(AM_V_GEN)rm -f $@-t $@ && \
265 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
266 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
267 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
268 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
269 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
270 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
271 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
272 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
273 < $(srcdir)/getopt.in.h; \
276 MOSTLYCLEANFILES += getopt.h getopt.h-t
278 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
280 EXTRA_libgrt_a_SOURCES += getopt.c getopt1.c
282 ## end gnulib module getopt-posix
284 ## begin gnulib module gettext-h
286 libgrt_a_SOURCES += gettext.h
288 ## end gnulib module gettext-h
290 ## begin gnulib module gettext-runtime-misc
292 AUTOMAKE_OPTIONS += no-dependencies
294 # Hmm... is this still necessary?
295 AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
297 # Parametrization of the 'relocatable' module.
298 AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
300 # Tell the mingw or Cygwin linker which symbols to export.
302 AM_CPPFLAGS += @INTL_EXPORTS_FLAGS@
305 ## end gnulib module gettext-runtime-misc
307 ## begin gnulib module gettimeofday
310 EXTRA_DIST += gettimeofday.c
312 EXTRA_libgrt_a_SOURCES += gettimeofday.c
314 ## end gnulib module gettimeofday
316 ## begin gnulib module gperf
319 V_GPERF = $(V_GPERF_@AM_V@)
320 V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
321 V_GPERF_0 = @echo " GPERF " $@;
323 ## end gnulib module gperf
325 ## begin gnulib module havelib
328 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
330 ## end gnulib module havelib
332 ## begin gnulib module iconv-h
334 BUILT_SOURCES += $(ICONV_H)
336 # We need the following in order to create <iconv.h> when the system
337 # doesn't have one that works with the given compiler.
338 if GL_GENERATE_ICONV_H
339 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
340 $(AM_V_GEN)rm -f $@-t $@ && \
341 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
342 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
343 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
344 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
345 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
346 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
347 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
348 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
349 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
350 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
351 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
352 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
353 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
354 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
355 < $(srcdir)/iconv.in.h; \
359 iconv.h: $(top_builddir)/config.status
362 MOSTLYCLEANFILES += iconv.h iconv.h-t
364 EXTRA_DIST += iconv.in.h
366 ## end gnulib module iconv-h
368 ## begin gnulib module iconv_open
370 iconv_open-aix.h: iconv_open-aix.gperf
371 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
372 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
373 iconv_open-hpux.h: iconv_open-hpux.gperf
374 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
375 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
376 iconv_open-irix.h: iconv_open-irix.gperf
377 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
378 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
379 iconv_open-osf.h: iconv_open-osf.gperf
380 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
381 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
382 iconv_open-solaris.h: iconv_open-solaris.gperf
383 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
384 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
385 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
386 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
387 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
388 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
390 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
392 EXTRA_libgrt_a_SOURCES += iconv.c iconv_close.c iconv_open.c
394 ## end gnulib module iconv_open
396 ## begin gnulib module intprops
399 EXTRA_DIST += intprops.h
401 ## end gnulib module intprops
403 ## begin gnulib module iswblank
406 EXTRA_DIST += iswblank.c
408 EXTRA_libgrt_a_SOURCES += iswblank.c
410 ## end gnulib module iswblank
412 ## begin gnulib module javacomp-script
415 EXTRA_DIST += $(top_srcdir)/../build-aux/javacomp.sh.in
417 ## end gnulib module javacomp-script
419 ## begin gnulib module langinfo
421 BUILT_SOURCES += langinfo.h
423 # We need the following in order to create an empty placeholder for
424 # <langinfo.h> when the system doesn't have one.
425 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
426 $(AM_V_GEN)rm -f $@-t $@ && \
427 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
428 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
429 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
430 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
431 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
432 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
433 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
434 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
435 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
436 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
437 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
438 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
439 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
440 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
441 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
442 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
443 < $(srcdir)/langinfo.in.h; \
446 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
448 EXTRA_DIST += langinfo.in.h
450 ## end gnulib module langinfo
452 ## begin gnulib module localcharset
454 libgrt_a_SOURCES += localcharset.h localcharset.c
456 # We need the following in order to install a simple file in $(libdir)
457 # which is shared with other installed packages. We use a list of referencing
458 # packages so that "make uninstall" will remove the file if and only if it
459 # is not used by another installed package.
460 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
461 # avoid installing it.
463 all-local: charset.alias ref-add.sed ref-del.sed
465 charset_alias = $(DESTDIR)$(libdir)/charset.alias
466 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
467 install-exec-local: install-exec-localcharset
468 install-exec-localcharset: all-local
469 if test $(GLIBC21) = no; then \
470 case '$(host_os)' in \
472 need_charset_alias=true ;; \
473 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
474 need_charset_alias=false ;; \
476 need_charset_alias=true ;; \
479 need_charset_alias=false ; \
481 if $$need_charset_alias; then \
482 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
484 if test -f $(charset_alias); then \
485 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
486 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
487 rm -f $(charset_tmp) ; \
489 if $$need_charset_alias; then \
490 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
491 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
492 rm -f $(charset_tmp) ; \
496 uninstall-local: uninstall-localcharset
497 uninstall-localcharset: all-local
498 if test -f $(charset_alias); then \
499 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
500 if grep '^# Packages using this file: $$' $(charset_tmp) \
502 rm -f $(charset_alias); \
504 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
506 rm -f $(charset_tmp); \
509 charset.alias: config.charset
510 $(AM_V_GEN)rm -f t-$@ $@ && \
511 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
514 SUFFIXES += .sed .sin
516 $(AM_V_GEN)rm -f t-$@ $@ && \
517 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
520 CLEANFILES += charset.alias ref-add.sed ref-del.sed
522 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
524 ## end gnulib module localcharset
526 ## begin gnulib module locale
528 BUILT_SOURCES += locale.h
530 # We need the following in order to create <locale.h> when the system
531 # doesn't have one that provides all definitions.
532 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
533 $(AM_V_GEN)rm -f $@-t $@ && \
534 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
535 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
536 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
537 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
538 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
539 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
540 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
541 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
542 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
543 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
544 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
545 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
546 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
547 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
548 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
549 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
550 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
551 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
552 < $(srcdir)/locale.in.h; \
555 MOSTLYCLEANFILES += locale.h locale.h-t
557 EXTRA_DIST += locale.in.h
559 ## end gnulib module locale
561 ## begin gnulib module localename
563 libgrt_a_SOURCES += localename.c
565 EXTRA_DIST += localename.h
567 ## end gnulib module localename
569 ## begin gnulib module lock
571 libgrt_a_SOURCES += glthread/lock.h glthread/lock.c
573 ## end gnulib module lock
575 ## begin gnulib module lstat
578 EXTRA_DIST += lstat.c
580 EXTRA_libgrt_a_SOURCES += lstat.c
582 ## end gnulib module lstat
584 ## begin gnulib module malloca
586 libgrt_a_SOURCES += malloca.c
588 EXTRA_DIST += malloca.h malloca.valgrind
590 ## end gnulib module malloca
592 ## begin gnulib module mbchar
594 libgrt_a_SOURCES += mbchar.c
596 EXTRA_DIST += mbchar.h
598 ## end gnulib module mbchar
600 ## begin gnulib module mbiter
602 libgrt_a_SOURCES += mbiter.h mbiter.c
604 ## end gnulib module mbiter
606 ## begin gnulib module mbrtowc
609 EXTRA_DIST += mbrtowc.c
611 EXTRA_libgrt_a_SOURCES += mbrtowc.c
613 ## end gnulib module mbrtowc
615 ## begin gnulib module mbsinit
618 EXTRA_DIST += mbsinit.c
620 EXTRA_libgrt_a_SOURCES += mbsinit.c
622 ## end gnulib module mbsinit
624 ## begin gnulib module mbslen
626 libgrt_a_SOURCES += mbslen.c
628 ## end gnulib module mbslen
630 ## begin gnulib module mbsstr
632 libgrt_a_SOURCES += mbsstr.c
634 EXTRA_DIST += str-kmp.h
636 ## end gnulib module mbsstr
638 ## begin gnulib module mbuiter
640 libgrt_a_SOURCES += mbuiter.h mbuiter.c
642 ## end gnulib module mbuiter
644 ## begin gnulib module memchr
647 EXTRA_DIST += memchr.c memchr.valgrind
649 EXTRA_libgrt_a_SOURCES += memchr.c
651 ## end gnulib module memchr
653 ## begin gnulib module memmove
656 EXTRA_DIST += memmove.c
658 EXTRA_libgrt_a_SOURCES += memmove.c
660 ## end gnulib module memmove
662 ## begin gnulib module msvc-inval
665 EXTRA_DIST += msvc-inval.c msvc-inval.h
667 EXTRA_libgrt_a_SOURCES += msvc-inval.c
669 ## end gnulib module msvc-inval
671 ## begin gnulib module msvc-nothrow
674 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
676 EXTRA_libgrt_a_SOURCES += msvc-nothrow.c
678 ## end gnulib module msvc-nothrow
680 ## begin gnulib module pathmax
683 EXTRA_DIST += pathmax.h
685 ## end gnulib module pathmax
687 ## begin gnulib module progname
689 libgrt_a_SOURCES += progname.h progname.c
691 ## end gnulib module progname
693 ## begin gnulib module propername
695 libgrt_a_SOURCES += propername.h propername.c
697 ## end gnulib module propername
699 ## begin gnulib module raise
702 EXTRA_DIST += raise.c
704 EXTRA_libgrt_a_SOURCES += raise.c
706 ## end gnulib module raise
708 ## begin gnulib module readlink
711 EXTRA_DIST += readlink.c
713 EXTRA_libgrt_a_SOURCES += readlink.c
715 ## end gnulib module readlink
717 ## begin gnulib module relocatable-prog
719 DEFS += -DEXEEXT=\"@EXEEXT@\"
720 if RELOCATABLE_VIA_WRAPPER
721 uninstall-hook: uninstall-relocwrapper
722 uninstall-relocwrapper:
723 if test $(RELOCATABLE) = yes; then \
724 case '$(EXEEXT)' in \
726 *) cd $(top_builddir) && \
727 $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
728 AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
732 .PHONY: uninstall-relocwrapper
735 EXTRA_DIST += progreloc.c relocatable.c relocatable.h
737 EXTRA_libgrt_a_SOURCES += progreloc.c relocatable.c
739 EXTRA_DIST += $(top_srcdir)/../build-aux/config.libpath $(top_srcdir)/../build-aux/reloc-ldflags
741 ## end gnulib module relocatable-prog
743 ## begin gnulib module relocatable-prog-wrapper
746 EXTRA_DIST += allocator.c allocator.h areadlink.c areadlink.h c-ctype.c c-ctype.h canonicalize-lgpl.c careadlinkat.c careadlinkat.h malloca.c malloca.h progname.c progname.h progreloc.c readlink.c relocatable.c relocatable.h relocwrapper.c setenv.c
748 EXTRA_DIST += $(top_srcdir)/../build-aux/install-reloc
750 ## end gnulib module relocatable-prog-wrapper
752 ## begin gnulib module setlocale
755 EXTRA_DIST += setlocale.c
757 EXTRA_libgrt_a_SOURCES += setlocale.c
759 ## end gnulib module setlocale
761 ## begin gnulib module signal-h
763 BUILT_SOURCES += signal.h
765 # We need the following in order to create <signal.h> when the system
766 # doesn't have a complete one.
767 signal.h: signal.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_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
775 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
776 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
777 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
778 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
779 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
780 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
781 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
782 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
783 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
784 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
785 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
786 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
787 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
788 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
789 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
790 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
791 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
792 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
793 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
794 < $(srcdir)/signal.in.h; \
797 MOSTLYCLEANFILES += signal.h signal.h-t
799 EXTRA_DIST += signal.in.h
801 ## end gnulib module signal-h
803 ## begin gnulib module sigpipe
806 EXTRA_DIST += stdio-write.c
808 EXTRA_libgrt_a_SOURCES += stdio-write.c
810 ## end gnulib module sigpipe
812 ## begin gnulib module sigprocmask
815 EXTRA_DIST += sigprocmask.c
817 EXTRA_libgrt_a_SOURCES += sigprocmask.c
819 ## end gnulib module sigprocmask
821 ## begin gnulib module snippet/_Noreturn
823 # Because this Makefile snippet defines a variable used by other
824 # gnulib Makefile snippets, it must be present in all Makefile.am that
825 # need it. This is ensured by the applicability 'all' defined above.
827 _NORETURN_H=$(top_srcdir)/../build-aux/snippet/_Noreturn.h
829 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/_Noreturn.h
831 ## end gnulib module snippet/_Noreturn
833 ## begin gnulib module snippet/arg-nonnull
835 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
836 # statements but through direct file reference. Therefore this snippet must be
837 # present in all Makefile.am that need it. This is ensured by the applicability
838 # 'all' defined above.
840 BUILT_SOURCES += arg-nonnull.h
841 # The arg-nonnull.h that gets inserted into generated .h files is the same as
842 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
844 arg-nonnull.h: $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
845 $(AM_V_GEN)rm -f $@-t $@ && \
846 sed -n -e '/GL_ARG_NONNULL/,$$p' \
847 < $(top_srcdir)/../build-aux/snippet/arg-nonnull.h \
850 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
852 ARG_NONNULL_H=arg-nonnull.h
854 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
856 ## end gnulib module snippet/arg-nonnull
858 ## begin gnulib module snippet/c++defs
860 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
861 # statements but through direct file reference. Therefore this snippet must be
862 # present in all Makefile.am that need it. This is ensured by the applicability
863 # 'all' defined above.
865 BUILT_SOURCES += c++defs.h
866 # The c++defs.h that gets inserted into generated .h files is the same as
867 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
868 c++defs.h: $(top_srcdir)/../build-aux/snippet/c++defs.h
869 $(AM_V_GEN)rm -f $@-t $@ && \
870 sed -n -e '/_GL_CXXDEFS/,$$p' \
871 < $(top_srcdir)/../build-aux/snippet/c++defs.h \
874 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
878 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/c++defs.h
880 ## end gnulib module snippet/c++defs
882 ## begin gnulib module snippet/unused-parameter
884 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
885 # statements but through direct file reference. Therefore this snippet must be
886 # present in all Makefile.am that need it. This is ensured by the applicability
887 # 'all' defined above.
889 BUILT_SOURCES += unused-parameter.h
890 # The unused-parameter.h that gets inserted into generated .h files is the same
891 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
893 unused-parameter.h: $(top_srcdir)/../build-aux/snippet/unused-parameter.h
894 $(AM_V_GEN)rm -f $@-t $@ && \
895 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
896 < $(top_srcdir)/../build-aux/snippet/unused-parameter.h \
899 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
901 UNUSED_PARAMETER_H=unused-parameter.h
903 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/unused-parameter.h
905 ## end gnulib module snippet/unused-parameter
907 ## begin gnulib module snippet/warn-on-use
909 BUILT_SOURCES += warn-on-use.h
910 # The warn-on-use.h that gets inserted into generated .h files is the same as
911 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
913 warn-on-use.h: $(top_srcdir)/../build-aux/snippet/warn-on-use.h
914 $(AM_V_GEN)rm -f $@-t $@ && \
915 sed -n -e '/^.ifndef/,$$p' \
916 < $(top_srcdir)/../build-aux/snippet/warn-on-use.h \
919 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
921 WARN_ON_USE_H=warn-on-use.h
923 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/warn-on-use.h
925 ## end gnulib module snippet/warn-on-use
927 ## begin gnulib module stat
932 EXTRA_libgrt_a_SOURCES += stat.c
934 ## end gnulib module stat
936 ## begin gnulib module stdbool
938 BUILT_SOURCES += $(STDBOOL_H)
940 # We need the following in order to create <stdbool.h> when the system
941 # doesn't have one that works.
942 if GL_GENERATE_STDBOOL_H
943 stdbool.h: stdbool.in.h $(top_builddir)/config.status
944 $(AM_V_GEN)rm -f $@-t $@ && \
945 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
946 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
950 stdbool.h: $(top_builddir)/config.status
953 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
955 EXTRA_DIST += stdbool.in.h
957 ## end gnulib module stdbool
959 ## begin gnulib module stddef
961 BUILT_SOURCES += $(STDDEF_H)
963 # We need the following in order to create <stddef.h> when the system
964 # doesn't have one that works with the given compiler.
965 if GL_GENERATE_STDDEF_H
966 stddef.h: stddef.in.h $(top_builddir)/config.status
967 $(AM_V_GEN)rm -f $@-t $@ && \
968 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
969 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
970 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
971 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
972 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
973 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
974 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
975 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
976 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
977 < $(srcdir)/stddef.in.h; \
981 stddef.h: $(top_builddir)/config.status
984 MOSTLYCLEANFILES += stddef.h stddef.h-t
986 EXTRA_DIST += stddef.in.h
988 ## end gnulib module stddef
990 ## begin gnulib module stdint
992 BUILT_SOURCES += $(STDINT_H)
994 # We need the following in order to create <stdint.h> when the system
995 # doesn't have one that works with the given compiler.
996 if GL_GENERATE_STDINT_H
997 stdint.h: stdint.in.h $(top_builddir)/config.status
998 $(AM_V_GEN)rm -f $@-t $@ && \
999 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1000 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1001 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1002 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1003 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1004 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1005 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1006 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1007 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1008 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1009 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1010 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1011 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1012 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1013 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1014 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1015 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1016 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1017 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1018 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1019 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1020 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1021 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1022 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1023 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1024 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1025 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1026 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1027 < $(srcdir)/stdint.in.h; \
1031 stdint.h: $(top_builddir)/config.status
1034 MOSTLYCLEANFILES += stdint.h stdint.h-t
1036 EXTRA_DIST += stdint.in.h
1038 ## end gnulib module stdint
1040 ## begin gnulib module stdio
1042 BUILT_SOURCES += stdio.h
1044 # We need the following in order to create <stdio.h> when the system
1045 # doesn't have one that works with the given compiler.
1046 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1047 $(AM_V_GEN)rm -f $@-t $@ && \
1048 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1049 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1050 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1051 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1052 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1053 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1054 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1055 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1056 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1057 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1058 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1059 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1060 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1061 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1062 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1063 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1064 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1065 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1066 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1067 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1068 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1069 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1070 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1071 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1072 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1073 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1074 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1075 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1076 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1077 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1078 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1079 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1080 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1081 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1082 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1083 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1084 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1085 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1086 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1087 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1088 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1089 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1090 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1091 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1092 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1093 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1094 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1095 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1096 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1097 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1098 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1099 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1100 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1101 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1102 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1103 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1104 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1105 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1106 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1107 < $(srcdir)/stdio.in.h | \
1108 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1109 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1110 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1111 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1112 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1113 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1114 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1115 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1116 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1117 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1118 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1119 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1120 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1121 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1122 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1123 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1124 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1125 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1126 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1127 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1128 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1129 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1130 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1131 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1132 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1133 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1134 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1135 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1136 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1137 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1138 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1139 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1140 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1141 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1142 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1143 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1144 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1145 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1146 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1147 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1148 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1149 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1150 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1151 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1152 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1153 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1154 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1155 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1156 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1157 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1158 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1159 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1162 MOSTLYCLEANFILES += stdio.h stdio.h-t
1164 EXTRA_DIST += stdio.in.h
1166 ## end gnulib module stdio
1168 ## begin gnulib module stdlib
1170 BUILT_SOURCES += stdlib.h
1172 # We need the following in order to create <stdlib.h> when the system
1173 # doesn't have one that works with the given compiler.
1174 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1175 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1176 $(AM_V_GEN)rm -f $@-t $@ && \
1177 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1178 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1179 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1180 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1181 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1182 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1183 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1184 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1185 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1186 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1187 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1188 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1189 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1190 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1191 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1192 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1193 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1194 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1195 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1196 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1197 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1198 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1199 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1200 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1201 -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
1202 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1203 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1204 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1205 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1206 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1207 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1208 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1209 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1210 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1211 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1212 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1213 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1214 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1215 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1216 < $(srcdir)/stdlib.in.h | \
1217 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1218 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1219 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1220 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1221 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1222 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1223 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1224 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1225 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1226 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1227 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1228 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1229 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1230 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1231 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1232 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1233 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1234 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1235 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1236 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1237 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1238 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1239 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1240 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1241 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1242 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1243 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1244 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1245 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1246 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1247 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1248 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1249 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1250 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1251 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1252 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1253 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1254 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1255 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1256 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1257 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1258 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1259 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1260 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1261 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1262 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1263 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1264 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1267 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1269 EXTRA_DIST += stdlib.in.h
1271 ## end gnulib module stdlib
1273 ## begin gnulib module streq
1276 EXTRA_DIST += streq.h
1278 ## end gnulib module streq
1280 ## begin gnulib module strerror
1283 EXTRA_DIST += strerror.c
1285 EXTRA_libgrt_a_SOURCES += strerror.c
1287 ## end gnulib module strerror
1289 ## begin gnulib module strerror-override
1292 EXTRA_DIST += strerror-override.c strerror-override.h
1294 EXTRA_libgrt_a_SOURCES += strerror-override.c
1296 ## end gnulib module strerror-override
1298 ## begin gnulib module striconv
1300 libgrt_a_SOURCES += striconv.h striconv.c
1304 ## end gnulib module striconv
1306 ## begin gnulib module string
1308 BUILT_SOURCES += string.h
1310 # We need the following in order to create <string.h> when the system
1311 # doesn't have one that works with the given compiler.
1312 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1313 $(AM_V_GEN)rm -f $@-t $@ && \
1314 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1315 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1316 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1317 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1318 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1319 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1320 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1321 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1322 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1323 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1324 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1325 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1326 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1327 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1328 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1329 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1330 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1331 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1332 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1333 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1334 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1335 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1336 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1337 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1338 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1339 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1340 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1341 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1342 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1343 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1344 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1345 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1346 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1347 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1348 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1349 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1350 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1351 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1352 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1353 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1354 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1355 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1356 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1357 < $(srcdir)/string.in.h | \
1358 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1359 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1360 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1361 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1362 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1363 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1364 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1365 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1366 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1367 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1368 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1369 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1370 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1371 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1372 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1373 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1374 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1375 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1376 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1377 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1378 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1379 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1380 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1381 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1382 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1383 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1384 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1385 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1386 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1387 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1388 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1389 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1390 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1391 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1392 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1393 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1394 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1395 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1396 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1397 < $(srcdir)/string.in.h; \
1400 MOSTLYCLEANFILES += string.h string.h-t
1402 EXTRA_DIST += string.in.h
1404 ## end gnulib module string
1406 ## begin gnulib module strnlen
1409 EXTRA_DIST += strnlen.c
1411 EXTRA_libgrt_a_SOURCES += strnlen.c
1413 ## end gnulib module strnlen
1415 ## begin gnulib module strnlen1
1417 libgrt_a_SOURCES += strnlen1.h strnlen1.c
1419 ## end gnulib module strnlen1
1421 ## begin gnulib module strtoul
1424 EXTRA_DIST += strtol.c strtoul.c
1426 EXTRA_libgrt_a_SOURCES += strtol.c strtoul.c
1428 ## end gnulib module strtoul
1430 ## begin gnulib module sys_stat
1432 BUILT_SOURCES += sys/stat.h
1434 # We need the following in order to create <sys/stat.h> when the system
1435 # has one that is incomplete.
1436 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1437 $(AM_V_at)$(MKDIR_P) sys
1438 $(AM_V_GEN)rm -f $@-t $@ && \
1439 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1440 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1441 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1442 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1443 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1444 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1445 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1446 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1447 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1448 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1449 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1450 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1451 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1452 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1453 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1454 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1455 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1456 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1457 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1458 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1459 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1460 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1461 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1462 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1463 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1464 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1465 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1466 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1467 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1468 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1469 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1470 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1471 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1472 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1473 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1474 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1475 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1476 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1477 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1478 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1479 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1480 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1481 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1482 < $(srcdir)/sys_stat.in.h; \
1485 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1486 MOSTLYCLEANDIRS += sys
1488 EXTRA_DIST += sys_stat.in.h
1490 ## end gnulib module sys_stat
1492 ## begin gnulib module sys_time
1494 BUILT_SOURCES += sys/time.h
1496 # We need the following in order to create <sys/time.h> when the system
1497 # doesn't have one that works with the given compiler.
1498 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1499 $(AM_V_at)$(MKDIR_P) sys
1500 $(AM_V_GEN)rm -f $@-t $@ && \
1501 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1502 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1503 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1504 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1505 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1506 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1507 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1508 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1509 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1510 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1511 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1512 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1513 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1514 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1515 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1516 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1517 < $(srcdir)/sys_time.in.h; \
1520 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1522 EXTRA_DIST += sys_time.in.h
1524 ## end gnulib module sys_time
1526 ## begin gnulib module sys_types
1528 BUILT_SOURCES += sys/types.h
1530 # We need the following in order to create <sys/types.h> when the system
1531 # doesn't have one that works with the given compiler.
1532 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1533 $(AM_V_at)$(MKDIR_P) sys
1534 $(AM_V_GEN)rm -f $@-t $@ && \
1535 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1536 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1537 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1538 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1539 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1540 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1541 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1542 < $(srcdir)/sys_types.in.h; \
1545 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1547 EXTRA_DIST += sys_types.in.h
1549 ## end gnulib module sys_types
1551 ## begin gnulib module threadlib
1553 libgrt_a_SOURCES += glthread/threadlib.c
1555 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
1557 ## end gnulib module threadlib
1559 ## begin gnulib module time
1561 BUILT_SOURCES += time.h
1563 # We need the following in order to create <time.h> when the system
1564 # doesn't have one that works with the given compiler.
1565 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1566 $(AM_V_GEN)rm -f $@-t $@ && \
1567 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1568 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1569 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1570 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1571 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1572 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1573 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1574 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1575 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1576 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1577 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1578 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1579 -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
1580 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1581 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1582 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1583 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1584 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
1585 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1586 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
1587 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1588 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1589 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1590 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1591 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1592 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1593 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1594 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1595 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1596 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1597 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1598 < $(srcdir)/time.in.h; \
1601 MOSTLYCLEANFILES += time.h time.h-t
1603 EXTRA_DIST += time.in.h
1605 ## end gnulib module time
1607 ## begin gnulib module trim
1609 libgrt_a_SOURCES += trim.c
1611 EXTRA_DIST += trim.h
1613 ## end gnulib module trim
1615 ## begin gnulib module unistd
1617 BUILT_SOURCES += unistd.h
1618 libgrt_a_SOURCES += unistd.c
1620 # We need the following in order to create an empty placeholder for
1621 # <unistd.h> when the system doesn't have one.
1622 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1623 $(AM_V_GEN)rm -f $@-t $@ && \
1624 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1625 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1626 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1627 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1628 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1629 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1630 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1631 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1632 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1633 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1634 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1635 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1636 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1637 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1638 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1639 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1640 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1641 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1642 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1643 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1644 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1645 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1646 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1647 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1648 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1649 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1650 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1651 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1652 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1653 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1654 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1655 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1656 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1657 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1658 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1659 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1660 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1661 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1662 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1663 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1664 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1665 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1666 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1667 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1668 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1669 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1670 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1671 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1672 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1673 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1674 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1675 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1676 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1677 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1678 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1679 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1680 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1681 < $(srcdir)/unistd.in.h | \
1682 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1683 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1684 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1685 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1686 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1687 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1688 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1689 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1690 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1691 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1692 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1693 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1694 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1695 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1696 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1697 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1698 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1699 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1700 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1701 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1702 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1703 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1704 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1705 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1706 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1707 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1708 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1709 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1710 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1711 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1712 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1713 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1714 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1715 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1716 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1717 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1718 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1719 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1720 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1721 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1722 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1723 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1725 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1726 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1727 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1728 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1729 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1730 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1731 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1732 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1733 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1734 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1735 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1736 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1737 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1738 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1739 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1740 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1741 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1742 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1743 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1744 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1745 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1746 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1747 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1748 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1749 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1750 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1751 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1752 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1753 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1754 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1755 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1756 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1757 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1758 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1759 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1760 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1763 MOSTLYCLEANFILES += unistd.h unistd.h-t
1765 EXTRA_DIST += unistd.in.h
1767 ## end gnulib module unistd
1769 ## begin gnulib module unistr/base
1771 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
1773 unistr.h: unistr.in.h
1774 $(AM_V_GEN)rm -f $@-t $@ && \
1775 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1776 cat $(srcdir)/unistr.in.h; \
1779 MOSTLYCLEANFILES += unistr.h unistr.h-t
1781 EXTRA_DIST += unistr.in.h
1783 ## end gnulib module unistr/base
1785 ## begin gnulib module unistr/u8-mbtoucr
1787 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
1788 libgrt_a_SOURCES += unistr/u8-mbtoucr.c
1791 ## end gnulib module unistr/u8-mbtoucr
1793 ## begin gnulib module unistr/u8-uctomb
1795 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
1796 libgrt_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1799 ## end gnulib module unistr/u8-uctomb
1801 ## begin gnulib module unitypes
1803 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1805 unitypes.h: unitypes.in.h
1806 $(AM_V_GEN)rm -f $@-t $@ && \
1807 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1808 cat $(srcdir)/unitypes.in.h; \
1811 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
1813 EXTRA_DIST += unitypes.in.h
1815 ## end gnulib module unitypes
1817 ## begin gnulib module uniwidth/base
1819 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
1821 uniwidth.h: uniwidth.in.h
1822 $(AM_V_GEN)rm -f $@-t $@ && \
1823 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1824 cat $(srcdir)/uniwidth.in.h; \
1827 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1829 EXTRA_DIST += localcharset.h uniwidth.in.h
1831 ## end gnulib module uniwidth/base
1833 ## begin gnulib module uniwidth/width
1835 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1836 libgrt_a_SOURCES += uniwidth/width.c
1839 EXTRA_DIST += uniwidth/cjk.h
1841 ## end gnulib module uniwidth/width
1843 ## begin gnulib module unlocked-io
1846 EXTRA_DIST += unlocked-io.h
1848 ## end gnulib module unlocked-io
1850 ## begin gnulib module verify
1853 EXTRA_DIST += verify.h
1855 ## end gnulib module verify
1857 ## begin gnulib module wchar
1859 BUILT_SOURCES += wchar.h
1861 # We need the following in order to create <wchar.h> when the system
1862 # version does not work standalone.
1863 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1864 $(AM_V_GEN)rm -f $@-t $@ && \
1865 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1866 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1867 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1868 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1869 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1870 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1871 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1872 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1873 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1874 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1875 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1876 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1877 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1878 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1879 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1880 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1881 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1882 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1883 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1884 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1885 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1886 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1887 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1888 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1889 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1890 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1891 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1892 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1893 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1894 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1895 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1896 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1897 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1898 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1899 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1900 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1901 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1902 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1903 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1904 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1905 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1906 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1907 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1908 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1909 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1910 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1911 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1912 < $(srcdir)/wchar.in.h | \
1913 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1914 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1915 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1916 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1917 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1918 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1919 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1920 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1921 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1922 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1923 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1924 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1925 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1926 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1927 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1928 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1929 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1930 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1931 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1932 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1933 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1934 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1935 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1936 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1937 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1938 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1939 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1940 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1941 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1942 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1943 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1944 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1945 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1946 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1947 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1948 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1949 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1950 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1951 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1952 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1954 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1955 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1956 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1957 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1958 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1959 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1960 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1961 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1962 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1963 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1964 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1965 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1966 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1967 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1968 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1969 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1972 MOSTLYCLEANFILES += wchar.h wchar.h-t
1974 EXTRA_DIST += wchar.in.h
1976 ## end gnulib module wchar
1978 ## begin gnulib module wctype-h
1980 BUILT_SOURCES += wctype.h
1981 libgrt_a_SOURCES += wctype-h.c
1983 # We need the following in order to create <wctype.h> when the system
1984 # doesn't have one that works with the given compiler.
1985 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1986 $(AM_V_GEN)rm -f $@-t $@ && \
1987 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1988 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1989 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1990 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1991 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1992 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1993 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1994 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
1995 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
1996 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
1997 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
1998 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
1999 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2000 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2001 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2002 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2003 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2004 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2005 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2006 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2007 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2008 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2009 < $(srcdir)/wctype.in.h; \
2012 MOSTLYCLEANFILES += wctype.h wctype.h-t
2014 EXTRA_DIST += wctype.in.h
2016 ## end gnulib module wctype-h
2018 ## begin gnulib module wcwidth
2021 EXTRA_DIST += wcwidth.c
2023 EXTRA_libgrt_a_SOURCES += wcwidth.c
2025 ## end gnulib module wcwidth
2027 ## begin gnulib module xalloc
2029 libgrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c
2031 ## end gnulib module xalloc
2033 ## begin gnulib module xreadlink
2035 libgrt_a_SOURCES += xreadlink.c
2037 EXTRA_DIST += xreadlink.h
2039 ## end gnulib module xreadlink
2041 ## begin gnulib module xstriconv
2043 libgrt_a_SOURCES += xstriconv.h xstriconv.c
2045 ## end gnulib module xstriconv
2048 mostlyclean-local: mostlyclean-generic
2049 @for dir in '' $(MOSTLYCLEANDIRS); do \
2050 if test -n "$$dir" && test -d $$dir; then \
2051 echo "rmdir $$dir"; rmdir $$dir; \