Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gettext-runtime / gnulib-lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
4 #
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.
9 #
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.
14 #
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/>.
17 #
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.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --dir=gettext-runtime --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
25
26 AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40
41 AM_CPPFLAGS =
42 AM_CFLAGS =
43
44 noinst_LIBRARIES += libgrt.a
45
46 libgrt_a_SOURCES =
47 libgrt_a_LIBADD = $(gl_LIBOBJS)
48 libgrt_a_DEPENDENCIES = $(gl_LIBOBJS)
49 EXTRA_libgrt_a_SOURCES =
50
51 ## begin gnulib module alloca-opt
52
53 BUILT_SOURCES += $(ALLOCA_H)
54
55 # We need the following in order to create <alloca.h> when the system
56 # doesn't have one that works with the given compiler.
57 if GL_GENERATE_ALLOCA_H
58 alloca.h: alloca.in.h $(top_builddir)/config.status
59         $(AM_V_GEN)rm -f $@-t $@ && \
60         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
61           cat $(srcdir)/alloca.in.h; \
62         } > $@-t && \
63         mv -f $@-t $@
64 else
65 alloca.h: $(top_builddir)/config.status
66         rm -f $@
67 endif
68 MOSTLYCLEANFILES += alloca.h alloca.h-t
69
70 EXTRA_DIST += alloca.in.h
71
72 ## end   gnulib module alloca-opt
73
74 ## begin gnulib module allocator
75
76 libgrt_a_SOURCES += allocator.c
77
78 EXTRA_DIST += allocator.h
79
80 ## end   gnulib module allocator
81
82 ## begin gnulib module areadlink
83
84 libgrt_a_SOURCES += areadlink.c
85
86 EXTRA_DIST += areadlink.h
87
88 ## end   gnulib module areadlink
89
90 ## begin gnulib module atexit
91
92
93 EXTRA_DIST += atexit.c
94
95 EXTRA_libgrt_a_SOURCES += atexit.c
96
97 ## end   gnulib module atexit
98
99 ## begin gnulib module basename
100
101 libgrt_a_SOURCES += basename.h basename.c
102
103 ## end   gnulib module basename
104
105 ## begin gnulib module c-ctype
106
107 libgrt_a_SOURCES += c-ctype.h c-ctype.c
108
109 ## end   gnulib module c-ctype
110
111 ## begin gnulib module c-strcase
112
113 libgrt_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
114
115 ## end   gnulib module c-strcase
116
117 ## begin gnulib module canonicalize-lgpl
118
119
120 EXTRA_DIST += canonicalize-lgpl.c
121
122 EXTRA_libgrt_a_SOURCES += canonicalize-lgpl.c
123
124 ## end   gnulib module canonicalize-lgpl
125
126 ## begin gnulib module careadlinkat
127
128 libgrt_a_SOURCES += careadlinkat.c
129
130 EXTRA_DIST += careadlinkat.h
131
132 ## end   gnulib module careadlinkat
133
134 ## begin gnulib module closeout
135
136 libgrt_a_SOURCES += closeout.h closeout.c
137
138 ## end   gnulib module closeout
139
140 ## begin gnulib module configmake
141
142 # Listed in the same order as the GNU makefile conventions, and
143 # provided by autoconf 2.59c+.
144 # The Automake-defined pkg* macros are appended, in the order
145 # listed in the Automake 1.10a+ documentation.
146 configmake.h: Makefile
147         $(AM_V_GEN)rm -f $@-t && \
148         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
149           echo '#define PREFIX "$(prefix)"'; \
150           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
151           echo '#define BINDIR "$(bindir)"'; \
152           echo '#define SBINDIR "$(sbindir)"'; \
153           echo '#define LIBEXECDIR "$(libexecdir)"'; \
154           echo '#define DATAROOTDIR "$(datarootdir)"'; \
155           echo '#define DATADIR "$(datadir)"'; \
156           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
157           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
158           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
159           echo '#define INCLUDEDIR "$(includedir)"'; \
160           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
161           echo '#define DOCDIR "$(docdir)"'; \
162           echo '#define INFODIR "$(infodir)"'; \
163           echo '#define HTMLDIR "$(htmldir)"'; \
164           echo '#define DVIDIR "$(dvidir)"'; \
165           echo '#define PDFDIR "$(pdfdir)"'; \
166           echo '#define PSDIR "$(psdir)"'; \
167           echo '#define LIBDIR "$(libdir)"'; \
168           echo '#define LISPDIR "$(lispdir)"'; \
169           echo '#define LOCALEDIR "$(localedir)"'; \
170           echo '#define MANDIR "$(mandir)"'; \
171           echo '#define MANEXT "$(manext)"'; \
172           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
173           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
174           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
175           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
176         } | sed '/""/d' > $@-t && \
177         mv -f $@-t $@
178
179 BUILT_SOURCES += configmake.h
180 CLEANFILES += configmake.h configmake.h-t
181
182 ## end   gnulib module configmake
183
184 ## begin gnulib module csharpcomp-script
185
186
187 EXTRA_DIST += $(top_srcdir)/../build-aux/csharpcomp.sh.in
188
189 ## end   gnulib module csharpcomp-script
190
191 ## begin gnulib module dosname
192
193
194 EXTRA_DIST += dosname.h
195
196 ## end   gnulib module dosname
197
198 ## begin gnulib module errno
199
200 BUILT_SOURCES += $(ERRNO_H)
201
202 # We need the following in order to create <errno.h> when the system
203 # doesn't have one that is POSIX compliant.
204 if GL_GENERATE_ERRNO_H
205 errno.h: errno.in.h $(top_builddir)/config.status
206         $(AM_V_GEN)rm -f $@-t $@ && \
207         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
208           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
209               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
210               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
211               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
212               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
213               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
214               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
215               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
216               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
217               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
218               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
219               < $(srcdir)/errno.in.h; \
220         } > $@-t && \
221         mv $@-t $@
222 else
223 errno.h: $(top_builddir)/config.status
224         rm -f $@
225 endif
226 MOSTLYCLEANFILES += errno.h errno.h-t
227
228 EXTRA_DIST += errno.in.h
229
230 ## end   gnulib module errno
231
232 ## begin gnulib module error
233
234
235 EXTRA_DIST += error.c error.h
236
237 EXTRA_libgrt_a_SOURCES += error.c
238
239 ## end   gnulib module error
240
241 ## begin gnulib module fwriteerror
242
243 libgrt_a_SOURCES += fwriteerror.h fwriteerror.c
244
245 ## end   gnulib module fwriteerror
246
247 ## begin gnulib module getopt-posix
248
249 BUILT_SOURCES += $(GETOPT_H)
250
251 # We need the following in order to create <getopt.h> when the system
252 # doesn't have one that works with the given compiler.
253 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
254         $(AM_V_GEN)rm -f $@-t $@ && \
255         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
256           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
257               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
258               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
259               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
260               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
261               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
262               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
263               < $(srcdir)/getopt.in.h; \
264         } > $@-t && \
265         mv -f $@-t $@
266 MOSTLYCLEANFILES += getopt.h getopt.h-t
267
268 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
269
270 EXTRA_libgrt_a_SOURCES += getopt.c getopt1.c
271
272 ## end   gnulib module getopt-posix
273
274 ## begin gnulib module gettext-h
275
276 libgrt_a_SOURCES += gettext.h
277
278 ## end   gnulib module gettext-h
279
280 ## begin gnulib module gettext-runtime-misc
281
282 AUTOMAKE_OPTIONS += no-dependencies
283
284 # Hmm... is this still necessary?
285 AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
286
287 # Parametrization of the 'relocatable' module.
288 AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
289
290 # Tell the mingw or Cygwin linker which symbols to export.
291 if WOE32DLL
292 AM_CPPFLAGS += @INTL_EXPORTS_FLAGS@
293 endif
294
295 ## end   gnulib module gettext-runtime-misc
296
297 ## begin gnulib module gperf
298
299 GPERF = gperf
300
301 ## end   gnulib module gperf
302
303 ## begin gnulib module havelib
304
305
306 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
307
308 ## end   gnulib module havelib
309
310 ## begin gnulib module iconv-h
311
312 BUILT_SOURCES += $(ICONV_H)
313
314 # We need the following in order to create <iconv.h> when the system
315 # doesn't have one that works with the given compiler.
316 if GL_GENERATE_ICONV_H
317 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
318         $(AM_V_GEN)rm -f $@-t $@ && \
319         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
320           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
321               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
322               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
323               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
324               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
325               -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
326               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
327               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
328               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
329               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
330               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
331               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
332               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
333               < $(srcdir)/iconv.in.h; \
334         } > $@-t && \
335         mv $@-t $@
336 else
337 iconv.h: $(top_builddir)/config.status
338         rm -f $@
339 endif
340 MOSTLYCLEANFILES += iconv.h iconv.h-t
341
342 EXTRA_DIST += iconv.in.h
343
344 ## end   gnulib module iconv-h
345
346 ## begin gnulib module iconv_open
347
348 iconv_open-aix.h: iconv_open-aix.gperf
349         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
350         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
351 iconv_open-hpux.h: iconv_open-hpux.gperf
352         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
353         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
354 iconv_open-irix.h: iconv_open-irix.gperf
355         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
356         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
357 iconv_open-osf.h: iconv_open-osf.gperf
358         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
359         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
360 iconv_open-solaris.h: iconv_open-solaris.gperf
361         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
362         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
363 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
364 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
365 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
366 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
367
368 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
369
370 EXTRA_libgrt_a_SOURCES += iconv.c iconv_close.c iconv_open.c
371
372 ## end   gnulib module iconv_open
373
374 ## begin gnulib module intprops
375
376
377 EXTRA_DIST += intprops.h
378
379 ## end   gnulib module intprops
380
381 ## begin gnulib module iswblank
382
383
384 EXTRA_DIST += iswblank.c
385
386 EXTRA_libgrt_a_SOURCES += iswblank.c
387
388 ## end   gnulib module iswblank
389
390 ## begin gnulib module javacomp-script
391
392
393 EXTRA_DIST += $(top_srcdir)/../build-aux/javacomp.sh.in
394
395 ## end   gnulib module javacomp-script
396
397 ## begin gnulib module localcharset
398
399 libgrt_a_SOURCES += localcharset.h localcharset.c
400
401 # We need the following in order to install a simple file in $(libdir)
402 # which is shared with other installed packages. We use a list of referencing
403 # packages so that "make uninstall" will remove the file if and only if it
404 # is not used by another installed package.
405 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
406 # avoid installing it.
407
408 all-local: charset.alias ref-add.sed ref-del.sed
409
410 charset_alias = $(DESTDIR)$(libdir)/charset.alias
411 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
412 install-exec-local: install-exec-localcharset
413 install-exec-localcharset: all-local
414         if test $(GLIBC21) = no; then \
415           case '$(host_os)' in \
416             darwin[56]*) \
417               need_charset_alias=true ;; \
418             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
419               need_charset_alias=false ;; \
420             *) \
421               need_charset_alias=true ;; \
422           esac ; \
423         else \
424           need_charset_alias=false ; \
425         fi ; \
426         if $$need_charset_alias; then \
427           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
428         fi ; \
429         if test -f $(charset_alias); then \
430           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
431           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
432           rm -f $(charset_tmp) ; \
433         else \
434           if $$need_charset_alias; then \
435             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
436             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
437             rm -f $(charset_tmp) ; \
438           fi ; \
439         fi
440
441 uninstall-local: uninstall-localcharset
442 uninstall-localcharset: all-local
443         if test -f $(charset_alias); then \
444           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
445           if grep '^# Packages using this file: $$' $(charset_tmp) \
446               > /dev/null; then \
447             rm -f $(charset_alias); \
448           else \
449             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
450           fi; \
451           rm -f $(charset_tmp); \
452         fi
453
454 charset.alias: config.charset
455         $(AM_V_GEN)rm -f t-$@ $@ && \
456         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
457         mv t-$@ $@
458
459 SUFFIXES += .sed .sin
460 .sin.sed:
461         $(AM_V_GEN)rm -f t-$@ $@ && \
462         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
463         mv t-$@ $@
464
465 CLEANFILES += charset.alias ref-add.sed ref-del.sed
466
467 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
468
469 ## end   gnulib module localcharset
470
471 ## begin gnulib module locale
472
473 BUILT_SOURCES += locale.h
474
475 # We need the following in order to create <locale.h> when the system
476 # doesn't have one that provides all definitions.
477 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
478         $(AM_V_GEN)rm -f $@-t $@ && \
479         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
480           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
481               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
482               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
483               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
484               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
485               -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
486               -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
487               -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
488               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
489               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
490               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
491               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
492               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
493               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
494               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
495               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
496               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
497               < $(srcdir)/locale.in.h; \
498         } > $@-t && \
499         mv $@-t $@
500 MOSTLYCLEANFILES += locale.h locale.h-t
501
502 EXTRA_DIST += locale.in.h
503
504 ## end   gnulib module locale
505
506 ## begin gnulib module localename
507
508 libgrt_a_SOURCES += localename.c
509
510 EXTRA_DIST += localename.h
511
512 ## end   gnulib module localename
513
514 ## begin gnulib module lock
515
516 libgrt_a_SOURCES += glthread/lock.h glthread/lock.c
517
518 ## end   gnulib module lock
519
520 ## begin gnulib module lstat
521
522
523 EXTRA_DIST += lstat.c
524
525 EXTRA_libgrt_a_SOURCES += lstat.c
526
527 ## end   gnulib module lstat
528
529 ## begin gnulib module malloca
530
531 libgrt_a_SOURCES += malloca.c
532
533 EXTRA_DIST += malloca.h malloca.valgrind
534
535 ## end   gnulib module malloca
536
537 ## begin gnulib module mbchar
538
539 libgrt_a_SOURCES += mbchar.c
540
541 EXTRA_DIST += mbchar.h
542
543 ## end   gnulib module mbchar
544
545 ## begin gnulib module mbiter
546
547 libgrt_a_SOURCES += mbiter.h mbiter.c
548
549 ## end   gnulib module mbiter
550
551 ## begin gnulib module mbrtowc
552
553
554 EXTRA_DIST += mbrtowc.c
555
556 EXTRA_libgrt_a_SOURCES += mbrtowc.c
557
558 ## end   gnulib module mbrtowc
559
560 ## begin gnulib module mbsinit
561
562
563 EXTRA_DIST += mbsinit.c
564
565 EXTRA_libgrt_a_SOURCES += mbsinit.c
566
567 ## end   gnulib module mbsinit
568
569 ## begin gnulib module mbslen
570
571 libgrt_a_SOURCES += mbslen.c
572
573 ## end   gnulib module mbslen
574
575 ## begin gnulib module mbsstr
576
577 libgrt_a_SOURCES += mbsstr.c
578
579 EXTRA_DIST += str-kmp.h
580
581 ## end   gnulib module mbsstr
582
583 ## begin gnulib module mbuiter
584
585 libgrt_a_SOURCES += mbuiter.h mbuiter.c
586
587 ## end   gnulib module mbuiter
588
589 ## begin gnulib module memchr
590
591
592 EXTRA_DIST += memchr.c memchr.valgrind
593
594 EXTRA_libgrt_a_SOURCES += memchr.c
595
596 ## end   gnulib module memchr
597
598 ## begin gnulib module memmove
599
600
601 EXTRA_DIST += memmove.c
602
603 EXTRA_libgrt_a_SOURCES += memmove.c
604
605 ## end   gnulib module memmove
606
607 ## begin gnulib module msvc-inval
608
609
610 EXTRA_DIST += msvc-inval.c msvc-inval.h
611
612 EXTRA_libgrt_a_SOURCES += msvc-inval.c
613
614 ## end   gnulib module msvc-inval
615
616 ## begin gnulib module msvc-nothrow
617
618
619 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
620
621 EXTRA_libgrt_a_SOURCES += msvc-nothrow.c
622
623 ## end   gnulib module msvc-nothrow
624
625 ## begin gnulib module pathmax
626
627
628 EXTRA_DIST += pathmax.h
629
630 ## end   gnulib module pathmax
631
632 ## begin gnulib module progname
633
634 libgrt_a_SOURCES += progname.h progname.c
635
636 ## end   gnulib module progname
637
638 ## begin gnulib module propername
639
640 libgrt_a_SOURCES += propername.h propername.c
641
642 ## end   gnulib module propername
643
644 ## begin gnulib module raise
645
646
647 EXTRA_DIST += raise.c
648
649 EXTRA_libgrt_a_SOURCES += raise.c
650
651 ## end   gnulib module raise
652
653 ## begin gnulib module readlink
654
655
656 EXTRA_DIST += readlink.c
657
658 EXTRA_libgrt_a_SOURCES += readlink.c
659
660 ## end   gnulib module readlink
661
662 ## begin gnulib module relocatable-prog
663
664 DEFS += -DEXEEXT=\"@EXEEXT@\"
665 if RELOCATABLE_VIA_WRAPPER
666 uninstall-hook: uninstall-relocwrapper
667 uninstall-relocwrapper:
668         if test $(RELOCATABLE) = yes; then \
669           case '$(EXEEXT)' in \
670             .bin*) ;; \
671             *) cd $(top_builddir) && \
672                $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
673                        AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
674                        uninstall ;; \
675           esac; \
676         fi
677 .PHONY: uninstall-relocwrapper
678 endif
679
680 EXTRA_DIST += progreloc.c relocatable.c relocatable.h
681
682 EXTRA_libgrt_a_SOURCES += progreloc.c relocatable.c
683
684 EXTRA_DIST += $(top_srcdir)/../build-aux/config.libpath $(top_srcdir)/../build-aux/reloc-ldflags
685
686 ## end   gnulib module relocatable-prog
687
688 ## begin gnulib module relocatable-prog-wrapper
689
690
691 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
692
693 EXTRA_DIST += $(top_srcdir)/../build-aux/install-reloc
694
695 ## end   gnulib module relocatable-prog-wrapper
696
697 ## begin gnulib module setlocale
698
699
700 EXTRA_DIST += setlocale.c
701
702 EXTRA_libgrt_a_SOURCES += setlocale.c
703
704 ## end   gnulib module setlocale
705
706 ## begin gnulib module signal-h
707
708 BUILT_SOURCES += signal.h
709
710 # We need the following in order to create <signal.h> when the system
711 # doesn't have a complete one.
712 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
713         $(AM_V_GEN)rm -f $@-t $@ && \
714         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
715           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
716               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
717               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
718               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
719               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
720               -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
721               -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
722               -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
723               -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
724               -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
725               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
726               -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
727               -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
728               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
729               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
730               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
731               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
732               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
733               -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
734               -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
735               -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
736               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
737               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
738               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
739               < $(srcdir)/signal.in.h; \
740         } > $@-t && \
741         mv $@-t $@
742 MOSTLYCLEANFILES += signal.h signal.h-t
743
744 EXTRA_DIST += signal.in.h
745
746 ## end   gnulib module signal-h
747
748 ## begin gnulib module sigpipe
749
750
751 EXTRA_DIST += stdio-write.c
752
753 EXTRA_libgrt_a_SOURCES += stdio-write.c
754
755 ## end   gnulib module sigpipe
756
757 ## begin gnulib module sigprocmask
758
759
760 EXTRA_DIST += sigprocmask.c
761
762 EXTRA_libgrt_a_SOURCES += sigprocmask.c
763
764 ## end   gnulib module sigprocmask
765
766 ## begin gnulib module snippet/_Noreturn
767
768 # Because this Makefile snippet defines a variable used by other
769 # gnulib Makefile snippets, it must be present in all Makefile.am that
770 # need it. This is ensured by the applicability 'all' defined above.
771
772 _NORETURN_H=$(top_srcdir)/../build-aux/snippet/_Noreturn.h
773
774 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/_Noreturn.h
775
776 ## end   gnulib module snippet/_Noreturn
777
778 ## begin gnulib module snippet/arg-nonnull
779
780 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
781 # statements but through direct file reference. Therefore this snippet must be
782 # present in all Makefile.am that need it. This is ensured by the applicability
783 # 'all' defined above.
784
785 BUILT_SOURCES += arg-nonnull.h
786 # The arg-nonnull.h that gets inserted into generated .h files is the same as
787 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
788 # off.
789 arg-nonnull.h: $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
790         $(AM_V_GEN)rm -f $@-t $@ && \
791         sed -n -e '/GL_ARG_NONNULL/,$$p' \
792           < $(top_srcdir)/../build-aux/snippet/arg-nonnull.h \
793           > $@-t && \
794         mv $@-t $@
795 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
796
797 ARG_NONNULL_H=arg-nonnull.h
798
799 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
800
801 ## end   gnulib module snippet/arg-nonnull
802
803 ## begin gnulib module snippet/c++defs
804
805 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
806 # statements but through direct file reference. Therefore this snippet must be
807 # present in all Makefile.am that need it. This is ensured by the applicability
808 # 'all' defined above.
809
810 BUILT_SOURCES += c++defs.h
811 # The c++defs.h that gets inserted into generated .h files is the same as
812 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
813 c++defs.h: $(top_srcdir)/../build-aux/snippet/c++defs.h
814         $(AM_V_GEN)rm -f $@-t $@ && \
815         sed -n -e '/_GL_CXXDEFS/,$$p' \
816           < $(top_srcdir)/../build-aux/snippet/c++defs.h \
817           > $@-t && \
818         mv $@-t $@
819 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
820
821 CXXDEFS_H=c++defs.h
822
823 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/c++defs.h
824
825 ## end   gnulib module snippet/c++defs
826
827 ## begin gnulib module snippet/unused-parameter
828
829 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
830 # statements but through direct file reference. Therefore this snippet must be
831 # present in all Makefile.am that need it. This is ensured by the applicability
832 # 'all' defined above.
833
834 BUILT_SOURCES += unused-parameter.h
835 # The unused-parameter.h that gets inserted into generated .h files is the same
836 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
837 # header cut off.
838 unused-parameter.h: $(top_srcdir)/../build-aux/snippet/unused-parameter.h
839         $(AM_V_GEN)rm -f $@-t $@ && \
840         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
841           < $(top_srcdir)/../build-aux/snippet/unused-parameter.h \
842           > $@-t && \
843         mv $@-t $@
844 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
845
846 UNUSED_PARAMETER_H=unused-parameter.h
847
848 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/unused-parameter.h
849
850 ## end   gnulib module snippet/unused-parameter
851
852 ## begin gnulib module snippet/warn-on-use
853
854 BUILT_SOURCES += warn-on-use.h
855 # The warn-on-use.h that gets inserted into generated .h files is the same as
856 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
857 # off.
858 warn-on-use.h: $(top_srcdir)/../build-aux/snippet/warn-on-use.h
859         $(AM_V_GEN)rm -f $@-t $@ && \
860         sed -n -e '/^.ifndef/,$$p' \
861           < $(top_srcdir)/../build-aux/snippet/warn-on-use.h \
862           > $@-t && \
863         mv $@-t $@
864 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
865
866 WARN_ON_USE_H=warn-on-use.h
867
868 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/warn-on-use.h
869
870 ## end   gnulib module snippet/warn-on-use
871
872 ## begin gnulib module stat
873
874
875 EXTRA_DIST += stat.c
876
877 EXTRA_libgrt_a_SOURCES += stat.c
878
879 ## end   gnulib module stat
880
881 ## begin gnulib module stdbool
882
883 BUILT_SOURCES += $(STDBOOL_H)
884
885 # We need the following in order to create <stdbool.h> when the system
886 # doesn't have one that works.
887 if GL_GENERATE_STDBOOL_H
888 stdbool.h: stdbool.in.h $(top_builddir)/config.status
889         $(AM_V_GEN)rm -f $@-t $@ && \
890         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
891           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
892         } > $@-t && \
893         mv $@-t $@
894 else
895 stdbool.h: $(top_builddir)/config.status
896         rm -f $@
897 endif
898 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
899
900 EXTRA_DIST += stdbool.in.h
901
902 ## end   gnulib module stdbool
903
904 ## begin gnulib module stddef
905
906 BUILT_SOURCES += $(STDDEF_H)
907
908 # We need the following in order to create <stddef.h> when the system
909 # doesn't have one that works with the given compiler.
910 if GL_GENERATE_STDDEF_H
911 stddef.h: stddef.in.h $(top_builddir)/config.status
912         $(AM_V_GEN)rm -f $@-t $@ && \
913         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
914           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
915               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
916               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
917               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
918               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
919               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
920               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
921               < $(srcdir)/stddef.in.h; \
922         } > $@-t && \
923         mv $@-t $@
924 else
925 stddef.h: $(top_builddir)/config.status
926         rm -f $@
927 endif
928 MOSTLYCLEANFILES += stddef.h stddef.h-t
929
930 EXTRA_DIST += stddef.in.h
931
932 ## end   gnulib module stddef
933
934 ## begin gnulib module stdint
935
936 BUILT_SOURCES += $(STDINT_H)
937
938 # We need the following in order to create <stdint.h> when the system
939 # doesn't have one that works with the given compiler.
940 if GL_GENERATE_STDINT_H
941 stdint.h: stdint.in.h $(top_builddir)/config.status
942         $(AM_V_GEN)rm -f $@-t $@ && \
943         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
944           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
945               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
946               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
947               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
948               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
949               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
950               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
951               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
952               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
953               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
954               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
955               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
956               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
957               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
958               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
959               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
960               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
961               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
962               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
963               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
964               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
965               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
966               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
967               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
968               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
969               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
970               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
971               < $(srcdir)/stdint.in.h; \
972         } > $@-t && \
973         mv $@-t $@
974 else
975 stdint.h: $(top_builddir)/config.status
976         rm -f $@
977 endif
978 MOSTLYCLEANFILES += stdint.h stdint.h-t
979
980 EXTRA_DIST += stdint.in.h
981
982 ## end   gnulib module stdint
983
984 ## begin gnulib module stdio
985
986 BUILT_SOURCES += stdio.h
987
988 # We need the following in order to create <stdio.h> when the system
989 # doesn't have one that works with the given compiler.
990 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
991         $(AM_V_GEN)rm -f $@-t $@ && \
992         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
993           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
994               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
995               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
996               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
997               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
998               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
999               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1000               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1001               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1002               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1003               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1004               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1005               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1006               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1007               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1008               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1009               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1010               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1011               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1012               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1013               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1014               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1015               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1016               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1017               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1018               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1019               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1020               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1021               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1022               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1023               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1024               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1025               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1026               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1027               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1028               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1029               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1030               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1031               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1032               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1033               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1034               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1035               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1036               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1037               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1038               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1039               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1040               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1041               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1042               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1043               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1044               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1045               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1046               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1047               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1048               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1049               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1050               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1051               < $(srcdir)/stdio.in.h | \
1052           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1053               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1054               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1055               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1056               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1057               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1058               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1059               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1060               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1061               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1062               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1063               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1064               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1065               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1066               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1067               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1068               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1069               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1070               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1071               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1072               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1073               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1074               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1075               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1076               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1077               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1078               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1079               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1080               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1081               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1082               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1083               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1084               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1085               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1086               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1087               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1088               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1089               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1090               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1091               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1092               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1093               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1094               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1095               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1096               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1097               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1098               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1099               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1100               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1101               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1102               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1103               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1104         } > $@-t && \
1105         mv $@-t $@
1106 MOSTLYCLEANFILES += stdio.h stdio.h-t
1107
1108 EXTRA_DIST += stdio.in.h
1109
1110 ## end   gnulib module stdio
1111
1112 ## begin gnulib module stdlib
1113
1114 BUILT_SOURCES += stdlib.h
1115
1116 # We need the following in order to create <stdlib.h> when the system
1117 # doesn't have one that works with the given compiler.
1118 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1119   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1120         $(AM_V_GEN)rm -f $@-t $@ && \
1121         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1122           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1123               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1124               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1125               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1126               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1127               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1128               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1129               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1130               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1131               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1132               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1133               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1134               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1135               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1136               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1137               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1138               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1139               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1140               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1141               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1142               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1143               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1144               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1145               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1146               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1147               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1148               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1149               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1150               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1151               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1152               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1153               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1154               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1155               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1156               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1157               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1158               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1159               < $(srcdir)/stdlib.in.h | \
1160           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1161               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1162               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1163               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1164               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1165               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1166               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1167               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1168               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1169               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1170               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1171               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1172               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1173               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1174               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1175               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1176               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1177               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1178               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1179               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1180               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1181               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1182               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1183               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1184               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1185               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1186               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1187               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1188               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1189               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1190               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1191               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1192               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1193               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1194               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1195               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1196               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1197               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1198               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1199               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1200               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1201               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1202               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1203               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1204               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1205               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1206               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1207         } > $@-t && \
1208         mv $@-t $@
1209 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1210
1211 EXTRA_DIST += stdlib.in.h
1212
1213 ## end   gnulib module stdlib
1214
1215 ## begin gnulib module streq
1216
1217
1218 EXTRA_DIST += streq.h
1219
1220 ## end   gnulib module streq
1221
1222 ## begin gnulib module strerror
1223
1224
1225 EXTRA_DIST += strerror.c
1226
1227 EXTRA_libgrt_a_SOURCES += strerror.c
1228
1229 ## end   gnulib module strerror
1230
1231 ## begin gnulib module strerror-override
1232
1233
1234 EXTRA_DIST += strerror-override.c strerror-override.h
1235
1236 EXTRA_libgrt_a_SOURCES += strerror-override.c
1237
1238 ## end   gnulib module strerror-override
1239
1240 ## begin gnulib module striconv
1241
1242 libgrt_a_SOURCES += striconv.h striconv.c
1243 if GL_COND_LIBTOOL
1244 endif
1245
1246 ## end   gnulib module striconv
1247
1248 ## begin gnulib module string
1249
1250 BUILT_SOURCES += string.h
1251
1252 # We need the following in order to create <string.h> when the system
1253 # doesn't have one that works with the given compiler.
1254 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1255         $(AM_V_GEN)rm -f $@-t $@ && \
1256         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1257           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1258               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1259               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1260               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1261               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1262               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1263               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1264               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1265               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1266               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1267               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1268               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1269               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1270               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1271               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1272               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1273               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1274               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1275               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1276               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1277               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1278               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1279               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1280               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1281               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1282               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1283               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1284               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1285               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1286               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1287               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1288               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1289               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1290               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1291               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1292               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1293               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1294               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1295               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1296               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1297               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1298               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1299               < $(srcdir)/string.in.h | \
1300           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1301               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1302               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1303               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1304               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1305               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1306               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1307               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1308               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1309               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1310               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1311               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1312               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1313               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1314               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1315               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1316               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1317               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1318               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1319               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1320               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1321               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1322               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1323               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1324               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1325               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1326               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1327               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1328               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1329               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1330               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1331               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1332               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1333               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1334               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1335               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1336               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1337               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1338               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1339               < $(srcdir)/string.in.h; \
1340         } > $@-t && \
1341         mv $@-t $@
1342 MOSTLYCLEANFILES += string.h string.h-t
1343
1344 EXTRA_DIST += string.in.h
1345
1346 ## end   gnulib module string
1347
1348 ## begin gnulib module strnlen
1349
1350
1351 EXTRA_DIST += strnlen.c
1352
1353 EXTRA_libgrt_a_SOURCES += strnlen.c
1354
1355 ## end   gnulib module strnlen
1356
1357 ## begin gnulib module strnlen1
1358
1359 libgrt_a_SOURCES += strnlen1.h strnlen1.c
1360
1361 ## end   gnulib module strnlen1
1362
1363 ## begin gnulib module strtoul
1364
1365
1366 EXTRA_DIST += strtol.c strtoul.c
1367
1368 EXTRA_libgrt_a_SOURCES += strtol.c strtoul.c
1369
1370 ## end   gnulib module strtoul
1371
1372 ## begin gnulib module sys_stat
1373
1374 BUILT_SOURCES += sys/stat.h
1375
1376 # We need the following in order to create <sys/stat.h> when the system
1377 # has one that is incomplete.
1378 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1379         $(AM_V_at)$(MKDIR_P) sys
1380         $(AM_V_GEN)rm -f $@-t $@ && \
1381         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1382           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1383               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1384               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1385               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1386               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1387               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1388               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1389               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1390               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1391               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1392               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1393               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1394               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1395               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1396               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1397               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1398               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1399               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1400               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1401               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1402               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1403               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1404               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1405               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1406               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1407               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1408               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1409               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1410               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1411               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1412               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1413               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1414               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1415               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1416               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1417               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1418               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1419               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1420               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1421               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1422               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1423               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1424               < $(srcdir)/sys_stat.in.h; \
1425         } > $@-t && \
1426         mv $@-t $@
1427 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1428 MOSTLYCLEANDIRS += sys
1429
1430 EXTRA_DIST += sys_stat.in.h
1431
1432 ## end   gnulib module sys_stat
1433
1434 ## begin gnulib module sys_types
1435
1436 BUILT_SOURCES += sys/types.h
1437
1438 # We need the following in order to create <sys/types.h> when the system
1439 # doesn't have one that works with the given compiler.
1440 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1441         $(AM_V_at)$(MKDIR_P) sys
1442         $(AM_V_GEN)rm -f $@-t $@ && \
1443         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1444           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1445               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1446               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1447               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1448               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1449               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1450               < $(srcdir)/sys_types.in.h; \
1451         } > $@-t && \
1452         mv $@-t $@
1453 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1454
1455 EXTRA_DIST += sys_types.in.h
1456
1457 ## end   gnulib module sys_types
1458
1459 ## begin gnulib module threadlib
1460
1461 libgrt_a_SOURCES += glthread/threadlib.c
1462
1463 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
1464
1465 ## end   gnulib module threadlib
1466
1467 ## begin gnulib module time
1468
1469 BUILT_SOURCES += time.h
1470
1471 # We need the following in order to create <time.h> when the system
1472 # doesn't have one that works with the given compiler.
1473 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1474         $(AM_V_GEN)rm -f $@-t $@ && \
1475         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1476           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1477               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1478               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1479               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1480               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1481               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1482               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1483               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1484               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1485               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1486               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1487               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1488               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1489               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1490               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1491               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1492               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1493               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1494               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1495               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1496               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1497               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1498               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1499               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1500               < $(srcdir)/time.in.h; \
1501         } > $@-t && \
1502         mv $@-t $@
1503 MOSTLYCLEANFILES += time.h time.h-t
1504
1505 EXTRA_DIST += time.in.h
1506
1507 ## end   gnulib module time
1508
1509 ## begin gnulib module trim
1510
1511 libgrt_a_SOURCES += trim.c
1512
1513 EXTRA_DIST += trim.h
1514
1515 ## end   gnulib module trim
1516
1517 ## begin gnulib module unistd
1518
1519 BUILT_SOURCES += unistd.h
1520 libgrt_a_SOURCES += unistd.c
1521
1522 # We need the following in order to create an empty placeholder for
1523 # <unistd.h> when the system doesn't have one.
1524 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1525         $(AM_V_GEN)rm -f $@-t $@ && \
1526         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1527           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1528               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1529               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1530               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1531               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1532               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1533               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1534               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1535               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1536               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1537               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1538               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1539               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1540               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1541               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1542               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1543               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1544               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1545               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1546               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1547               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1548               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1549               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1550               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1551               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1552               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1553               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1554               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1555               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1556               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1557               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1558               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1559               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1560               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1561               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1562               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1563               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1564               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1565               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1566               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1567               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1568               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1569               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1570               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1571               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1572               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1573               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1574               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1575               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1576               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1577               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1578               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1579               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1580               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1581               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1582               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1583               < $(srcdir)/unistd.in.h | \
1584           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1585               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1586               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1587               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1588               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1589               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1590               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1591               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1592               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1593               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1594               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1595               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1596               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1597               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1598               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1599               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1600               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1601               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1602               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1603               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1604               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1605               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1606               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1607               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1608               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1609               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1610               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1611               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1612               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1613               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1614               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1615               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1616               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1617               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1618               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1619               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1620               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1621               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1622               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1623               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1624               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1625               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1626           | \
1627           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1628               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1629               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1630               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1631               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1632               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1633               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1634               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1635               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1636               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1637               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1638               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1639               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1640               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1641               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1642               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1643               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1644               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1645               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1646               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1647               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1648               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1649               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1650               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1651               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1652               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1653               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1654               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1655               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1656               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1657               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1658               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1659               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1660         } > $@-t && \
1661         mv $@-t $@
1662 MOSTLYCLEANFILES += unistd.h unistd.h-t
1663
1664 EXTRA_DIST += unistd.in.h
1665
1666 ## end   gnulib module unistd
1667
1668 ## begin gnulib module unistr/base
1669
1670 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
1671
1672 unistr.h: unistr.in.h
1673         $(AM_V_GEN)rm -f $@-t $@ && \
1674         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1675           cat $(srcdir)/unistr.in.h; \
1676         } > $@-t && \
1677         mv -f $@-t $@
1678 MOSTLYCLEANFILES += unistr.h unistr.h-t
1679
1680 EXTRA_DIST += unistr.in.h
1681
1682 ## end   gnulib module unistr/base
1683
1684 ## begin gnulib module unistr/u8-mbtoucr
1685
1686 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
1687 libgrt_a_SOURCES += unistr/u8-mbtoucr.c
1688 endif
1689
1690 ## end   gnulib module unistr/u8-mbtoucr
1691
1692 ## begin gnulib module unistr/u8-uctomb
1693
1694 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
1695 libgrt_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1696 endif
1697
1698 ## end   gnulib module unistr/u8-uctomb
1699
1700 ## begin gnulib module unitypes
1701
1702 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1703
1704 unitypes.h: unitypes.in.h
1705         $(AM_V_GEN)rm -f $@-t $@ && \
1706         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1707           cat $(srcdir)/unitypes.in.h; \
1708         } > $@-t && \
1709         mv -f $@-t $@
1710 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
1711
1712 EXTRA_DIST += unitypes.in.h
1713
1714 ## end   gnulib module unitypes
1715
1716 ## begin gnulib module uniwidth/base
1717
1718 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
1719
1720 uniwidth.h: uniwidth.in.h
1721         $(AM_V_GEN)rm -f $@-t $@ && \
1722         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1723           cat $(srcdir)/uniwidth.in.h; \
1724         } > $@-t && \
1725         mv -f $@-t $@
1726 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1727
1728 EXTRA_DIST += localcharset.h uniwidth.in.h
1729
1730 ## end   gnulib module uniwidth/base
1731
1732 ## begin gnulib module uniwidth/width
1733
1734 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1735 libgrt_a_SOURCES += uniwidth/width.c
1736 endif
1737
1738 EXTRA_DIST += uniwidth/cjk.h
1739
1740 ## end   gnulib module uniwidth/width
1741
1742 ## begin gnulib module unlocked-io
1743
1744
1745 EXTRA_DIST += unlocked-io.h
1746
1747 ## end   gnulib module unlocked-io
1748
1749 ## begin gnulib module verify
1750
1751
1752 EXTRA_DIST += verify.h
1753
1754 ## end   gnulib module verify
1755
1756 ## begin gnulib module wchar
1757
1758 BUILT_SOURCES += wchar.h
1759
1760 # We need the following in order to create <wchar.h> when the system
1761 # version does not work standalone.
1762 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1763         $(AM_V_GEN)rm -f $@-t $@ && \
1764         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1765           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1766               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1767               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1768               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1769               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1770               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1771               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1772               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1773               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1774               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1775               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1776               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1777               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1778               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1779               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1780               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1781               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1782               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1783               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1784               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1785               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1786               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1787               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1788               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1789               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1790               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1791               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1792               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1793               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1794               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1795               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1796               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1797               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1798               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1799               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1800               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1801               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1802               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1803               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1804               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1805               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1806               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1807               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1808               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1809               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1810               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1811               < $(srcdir)/wchar.in.h | \
1812           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1813               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1814               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1815               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1816               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1817               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1818               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1819               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1820               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1821               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1822               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1823               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1824               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1825               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1826               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1827               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1828               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1829               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1830               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1831               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1832               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1833               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1834               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1835               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1836               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1837               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1838               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1839               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1840               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1841               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1842               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1843               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1844               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1845               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1846               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1847               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1848               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1849               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1850               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1851               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1852           | \
1853           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1854               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1855               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1856               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1857               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1858               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1859               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1860               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1861               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1862               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1863               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1864               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1865               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1866               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1867               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1868               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1869         } > $@-t && \
1870         mv $@-t $@
1871 MOSTLYCLEANFILES += wchar.h wchar.h-t
1872
1873 EXTRA_DIST += wchar.in.h
1874
1875 ## end   gnulib module wchar
1876
1877 ## begin gnulib module wctype-h
1878
1879 BUILT_SOURCES += wctype.h
1880 libgrt_a_SOURCES += wctype-h.c
1881
1882 # We need the following in order to create <wctype.h> when the system
1883 # doesn't have one that works with the given compiler.
1884 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1885         $(AM_V_GEN)rm -f $@-t $@ && \
1886         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1887           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1888               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1889               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1890               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1891               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1892               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1893               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
1894               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
1895               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
1896               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
1897               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
1898               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1899               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1900               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
1901               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
1902               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1903               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1904               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1905               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
1906               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1907               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1908               < $(srcdir)/wctype.in.h; \
1909         } > $@-t && \
1910         mv $@-t $@
1911 MOSTLYCLEANFILES += wctype.h wctype.h-t
1912
1913 EXTRA_DIST += wctype.in.h
1914
1915 ## end   gnulib module wctype-h
1916
1917 ## begin gnulib module wcwidth
1918
1919
1920 EXTRA_DIST += wcwidth.c
1921
1922 EXTRA_libgrt_a_SOURCES += wcwidth.c
1923
1924 ## end   gnulib module wcwidth
1925
1926 ## begin gnulib module xalloc
1927
1928 libgrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c
1929
1930 ## end   gnulib module xalloc
1931
1932 ## begin gnulib module xreadlink
1933
1934 libgrt_a_SOURCES += xreadlink.c
1935
1936 EXTRA_DIST += xreadlink.h
1937
1938 ## end   gnulib module xreadlink
1939
1940 ## begin gnulib module xstriconv
1941
1942 libgrt_a_SOURCES += xstriconv.h xstriconv.c
1943
1944 ## end   gnulib module xstriconv
1945
1946
1947 mostlyclean-local: mostlyclean-generic
1948         @for dir in '' $(MOSTLYCLEANDIRS); do \
1949           if test -n "$$dir" && test -d $$dir; then \
1950             echo "rmdir $$dir"; rmdir $$dir; \
1951           fi; \
1952         done; \
1953         :