1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=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-libtool --macro-prefix=gl atexit basename closeout csharpcomp-script error getopt-gnu gettext-h gettext-runtime-misc havelib java javacomp-script memmove progname propername relocatable-prog sigpipe stdbool stdio stdlib strtoul unlocked-io xalloc
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
32 noinst_LIBRARIES += libgrt.a
35 libgrt_a_LIBADD = $(gl_LIBOBJS)
36 libgrt_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgrt_a_SOURCES =
39 ## begin gnulib module alloca-opt
41 BUILT_SOURCES += $(ALLOCA_H)
43 # We need the following in order to create <alloca.h> when the system
44 # doesn't have one that works with the given compiler.
46 $(AM_V_GEN)rm -f $@-t $@ && \
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
51 MOSTLYCLEANFILES += alloca.h alloca.h-t
53 EXTRA_DIST += alloca.in.h
55 ## end gnulib module alloca-opt
57 ## begin gnulib module areadlink
59 libgrt_a_SOURCES += areadlink.c
61 EXTRA_DIST += areadlink.h
63 ## end gnulib module areadlink
65 ## begin gnulib module arg-nonnull
67 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
68 # statements but through direct file reference. Therefore this snippet must be
69 # present in all Makefile.am that need it. This is ensured by the applicability
70 # 'all' defined above.
72 BUILT_SOURCES += arg-nonnull.h
73 # The arg-nonnull.h that gets inserted into generated .h files is the same as
74 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
75 arg-nonnull.h: $(top_srcdir)/../build-aux/arg-nonnull.h
76 $(AM_V_GEN)rm -f $@-t $@ && \
77 sed -n -e '/GL_ARG_NONNULL/,$$p' \
78 < $(top_srcdir)/../build-aux/arg-nonnull.h \
81 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
83 ARG_NONNULL_H=arg-nonnull.h
85 EXTRA_DIST += $(top_srcdir)/../build-aux/arg-nonnull.h
87 ## end gnulib module arg-nonnull
89 ## begin gnulib module atexit
92 EXTRA_DIST += atexit.c
94 EXTRA_libgrt_a_SOURCES += atexit.c
96 ## end gnulib module atexit
98 ## begin gnulib module basename
100 libgrt_a_SOURCES += basename.h basename.c
102 ## end gnulib module basename
104 ## begin gnulib module c++defs
106 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
107 # statements but through direct file reference. Therefore this snippet must be
108 # present in all Makefile.am that need it. This is ensured by the applicability
109 # 'all' defined above.
111 BUILT_SOURCES += c++defs.h
112 # The c++defs.h that gets inserted into generated .h files is the same as
113 # build-aux/c++defs.h, except that it has the copyright header cut off.
114 c++defs.h: $(top_srcdir)/../build-aux/c++defs.h
115 $(AM_V_GEN)rm -f $@-t $@ && \
116 sed -n -e '/_GL_CXXDEFS/,$$p' \
117 < $(top_srcdir)/../build-aux/c++defs.h \
120 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
124 EXTRA_DIST += $(top_srcdir)/../build-aux/c++defs.h
126 ## end gnulib module c++defs
128 ## begin gnulib module c-ctype
130 libgrt_a_SOURCES += c-ctype.h c-ctype.c
132 ## end gnulib module c-ctype
134 ## begin gnulib module c-strcase
136 libgrt_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
138 ## end gnulib module c-strcase
140 ## begin gnulib module canonicalize-lgpl
143 EXTRA_DIST += canonicalize-lgpl.c
145 EXTRA_libgrt_a_SOURCES += canonicalize-lgpl.c
147 ## end gnulib module canonicalize-lgpl
149 ## begin gnulib module closeout
151 libgrt_a_SOURCES += closeout.h closeout.c
153 ## end gnulib module closeout
155 ## begin gnulib module configmake
157 # Retrieve values of the variables through 'configure' followed by
158 # 'make', not directly through 'configure', so that a user who
159 # sets some of these variables consistently on the 'make' command
160 # line gets correct results.
162 # One advantage of this approach, compared to the classical
163 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
164 # is that it protects against the use of undefined variables.
165 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
166 # defined by this module, and code using LIBDIR gives a
169 # Another advantage is that 'make' output is shorter.
171 # Listed in the same order as the GNU makefile conventions.
172 # The Automake-defined pkg* macros are appended, in the order
173 # listed in the Automake 1.10a+ documentation.
174 configmake.h: Makefile
175 $(AM_V_GEN)rm -f $@-t && \
176 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
177 echo '#define PREFIX "$(prefix)"'; \
178 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
179 echo '#define BINDIR "$(bindir)"'; \
180 echo '#define SBINDIR "$(sbindir)"'; \
181 echo '#define LIBEXECDIR "$(libexecdir)"'; \
182 echo '#define DATAROOTDIR "$(datarootdir)"'; \
183 echo '#define DATADIR "$(datadir)"'; \
184 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
185 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
186 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
187 echo '#define INCLUDEDIR "$(includedir)"'; \
188 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
189 echo '#define DOCDIR "$(docdir)"'; \
190 echo '#define INFODIR "$(infodir)"'; \
191 echo '#define HTMLDIR "$(htmldir)"'; \
192 echo '#define DVIDIR "$(dvidir)"'; \
193 echo '#define PDFDIR "$(pdfdir)"'; \
194 echo '#define PSDIR "$(psdir)"'; \
195 echo '#define LIBDIR "$(libdir)"'; \
196 echo '#define LISPDIR "$(lispdir)"'; \
197 echo '#define LOCALEDIR "$(localedir)"'; \
198 echo '#define MANDIR "$(mandir)"'; \
199 echo '#define MANEXT "$(manext)"'; \
200 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
201 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
202 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
203 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
204 } | sed '/""/d' > $@-t && \
205 if test -f $@ && cmp $@-t $@ > /dev/null; then \
208 rm -f $@; mv $@-t $@; \
211 BUILT_SOURCES += configmake.h
212 CLEANFILES += configmake.h configmake.h-t
214 ## end gnulib module configmake
216 ## begin gnulib module csharpcomp-script
219 EXTRA_DIST += $(top_srcdir)/../build-aux/csharpcomp.sh.in
221 ## end gnulib module csharpcomp-script
223 ## begin gnulib module errno
225 BUILT_SOURCES += $(ERRNO_H)
227 # We need the following in order to create <errno.h> when the system
228 # doesn't have one that is POSIX compliant.
230 $(AM_V_GEN)rm -f $@-t $@ && \
231 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
232 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
235 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
236 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
237 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
238 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
239 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
240 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
241 < $(srcdir)/errno.in.h; \
244 MOSTLYCLEANFILES += errno.h errno.h-t
246 EXTRA_DIST += errno.in.h
248 ## end gnulib module errno
250 ## begin gnulib module error
253 EXTRA_DIST += error.c error.h
255 EXTRA_libgrt_a_SOURCES += error.c
257 ## end gnulib module error
259 ## begin gnulib module fwriteerror
261 libgrt_a_SOURCES += fwriteerror.h fwriteerror.c
263 ## end gnulib module fwriteerror
265 ## begin gnulib module getopt-posix
267 BUILT_SOURCES += $(GETOPT_H)
269 # We need the following in order to create <getopt.h> when the system
270 # doesn't have one that works with the given compiler.
271 getopt.h: getopt.in.h $(ARG_NONNULL_H)
272 $(AM_V_GEN)rm -f $@-t $@ && \
273 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
274 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
275 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
276 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
277 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
278 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
279 < $(srcdir)/getopt.in.h; \
282 MOSTLYCLEANFILES += getopt.h getopt.h-t
284 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
286 EXTRA_libgrt_a_SOURCES += getopt.c getopt1.c
288 ## end gnulib module getopt-posix
290 ## begin gnulib module gettext-h
292 libgrt_a_SOURCES += gettext.h
294 ## end gnulib module gettext-h
296 ## begin gnulib module gettext-runtime-misc
298 AUTOMAKE_OPTIONS += no-dependencies
300 # Hmm... is this still necessary?
301 AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
303 # Parametrization of the 'relocatable' module.
304 AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
306 ## end gnulib module gettext-runtime-misc
308 ## begin gnulib module gperf
312 ## end gnulib module gperf
314 ## begin gnulib module havelib
317 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
319 ## end gnulib module havelib
321 ## begin gnulib module iconv-h
323 BUILT_SOURCES += $(ICONV_H)
325 # We need the following in order to create <iconv.h> when the system
326 # doesn't have one that works with the given compiler.
327 iconv.h: iconv.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
328 $(AM_V_GEN)rm -f $@-t $@ && \
329 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
330 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
331 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
332 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
333 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
334 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
335 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
336 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
337 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
338 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
339 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
340 < $(srcdir)/iconv.in.h; \
343 MOSTLYCLEANFILES += iconv.h iconv.h-t
345 EXTRA_DIST += iconv.in.h
347 ## end gnulib module iconv-h
349 ## begin gnulib module iconv_open
351 iconv_open-aix.h: iconv_open-aix.gperf
352 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
353 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
354 iconv_open-hpux.h: iconv_open-hpux.gperf
355 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
356 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
357 iconv_open-irix.h: iconv_open-irix.gperf
358 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
359 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
360 iconv_open-osf.h: iconv_open-osf.gperf
361 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
362 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
363 iconv_open-solaris.h: iconv_open-solaris.gperf
364 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
365 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
366 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
367 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
368 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
369 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
371 EXTRA_DIST += iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
373 EXTRA_libgrt_a_SOURCES += iconv_open.c
375 ## end gnulib module iconv_open
377 ## begin gnulib module intprops
380 EXTRA_DIST += intprops.h
382 ## end gnulib module intprops
384 ## begin gnulib module javacomp-script
387 EXTRA_DIST += $(top_srcdir)/../build-aux/javacomp.sh.in
389 ## end gnulib module javacomp-script
391 ## begin gnulib module localcharset
393 libgrt_a_SOURCES += localcharset.h localcharset.c
395 # We need the following in order to install a simple file in $(libdir)
396 # which is shared with other installed packages. We use a list of referencing
397 # packages so that "make uninstall" will remove the file if and only if it
398 # is not used by another installed package.
399 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
400 # avoid installing it.
402 all-local: charset.alias ref-add.sed ref-del.sed
404 charset_alias = $(DESTDIR)$(libdir)/charset.alias
405 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
406 install-exec-local: install-exec-localcharset
407 install-exec-localcharset: all-local
408 if test $(GLIBC21) = no; then \
409 case '$(host_os)' in \
411 need_charset_alias=true ;; \
412 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
413 need_charset_alias=false ;; \
415 need_charset_alias=true ;; \
418 need_charset_alias=false ; \
420 if $$need_charset_alias; then \
421 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
423 if test -f $(charset_alias); then \
424 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
425 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
426 rm -f $(charset_tmp) ; \
428 if $$need_charset_alias; then \
429 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
430 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
431 rm -f $(charset_tmp) ; \
435 uninstall-local: uninstall-localcharset
436 uninstall-localcharset: all-local
437 if test -f $(charset_alias); then \
438 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
439 if grep '^# Packages using this file: $$' $(charset_tmp) \
441 rm -f $(charset_alias); \
443 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
445 rm -f $(charset_tmp); \
448 charset.alias: config.charset
449 $(AM_V_GEN)rm -f t-$@ $@ && \
450 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
453 SUFFIXES += .sed .sin
455 $(AM_V_GEN)rm -f t-$@ $@ && \
456 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
459 CLEANFILES += charset.alias ref-add.sed ref-del.sed
461 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
463 ## end gnulib module localcharset
465 ## begin gnulib module lstat
468 EXTRA_DIST += lstat.c
470 EXTRA_libgrt_a_SOURCES += lstat.c
472 ## end gnulib module lstat
474 ## begin gnulib module malloc-posix
477 EXTRA_DIST += malloc.c
479 EXTRA_libgrt_a_SOURCES += malloc.c
481 ## end gnulib module malloc-posix
483 ## begin gnulib module malloca
485 libgrt_a_SOURCES += malloca.c
487 EXTRA_DIST += malloca.h malloca.valgrind
489 ## end gnulib module malloca
491 ## begin gnulib module mbchar
493 libgrt_a_SOURCES += mbchar.c
495 EXTRA_DIST += mbchar.h
497 ## end gnulib module mbchar
499 ## begin gnulib module mbiter
501 libgrt_a_SOURCES += mbiter.h
503 ## end gnulib module mbiter
505 ## begin gnulib module mbrtowc
508 EXTRA_DIST += mbrtowc.c
510 EXTRA_libgrt_a_SOURCES += mbrtowc.c
512 ## end gnulib module mbrtowc
514 ## begin gnulib module mbsinit
517 EXTRA_DIST += mbsinit.c
519 EXTRA_libgrt_a_SOURCES += mbsinit.c
521 ## end gnulib module mbsinit
523 ## begin gnulib module mbslen
525 libgrt_a_SOURCES += mbslen.c
527 ## end gnulib module mbslen
529 ## begin gnulib module mbsstr
531 libgrt_a_SOURCES += mbsstr.c
533 EXTRA_DIST += str-kmp.h
535 ## end gnulib module mbsstr
537 ## begin gnulib module mbuiter
539 libgrt_a_SOURCES += mbuiter.h
541 ## end gnulib module mbuiter
543 ## begin gnulib module memchr
546 EXTRA_DIST += memchr.c memchr.valgrind
548 EXTRA_libgrt_a_SOURCES += memchr.c
550 ## end gnulib module memchr
552 ## begin gnulib module memmove
555 EXTRA_DIST += memmove.c
557 EXTRA_libgrt_a_SOURCES += memmove.c
559 ## end gnulib module memmove
561 ## begin gnulib module pathmax
564 EXTRA_DIST += pathmax.h
566 ## end gnulib module pathmax
568 ## begin gnulib module progname
570 libgrt_a_SOURCES += progname.h progname.c
572 ## end gnulib module progname
574 ## begin gnulib module propername
576 libgrt_a_SOURCES += propername.h propername.c
578 ## end gnulib module propername
580 ## begin gnulib module readlink
583 EXTRA_DIST += readlink.c
585 EXTRA_libgrt_a_SOURCES += readlink.c
587 ## end gnulib module readlink
589 ## begin gnulib module relocatable-prog
591 DEFS += -DEXEEXT=\"@EXEEXT@\"
593 EXTRA_DIST += progreloc.c relocatable.c relocatable.h
595 EXTRA_libgrt_a_SOURCES += progreloc.c relocatable.c
597 EXTRA_DIST += $(top_srcdir)/../build-aux/config.libpath $(top_srcdir)/../build-aux/reloc-ldflags
599 ## end gnulib module relocatable-prog
601 ## begin gnulib module relocatable-prog-wrapper
604 EXTRA_DIST += areadlink.c areadlink.h c-ctype.c c-ctype.h canonicalize-lgpl.c malloca.c malloca.h progname.c progname.h progreloc.c readlink.c relocatable.c relocatable.h relocwrapper.c setenv.c strerror.c
606 EXTRA_DIST += $(top_srcdir)/../build-aux/install-reloc
608 ## end gnulib module relocatable-prog-wrapper
610 ## begin gnulib module signal
612 BUILT_SOURCES += signal.h
614 # We need the following in order to create <signal.h> when the system
615 # doesn't have a complete one.
616 signal.h: signal.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
617 $(AM_V_GEN)rm -f $@-t $@ && \
618 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
619 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
620 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
621 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
622 -e 's|@''GNULIB_SIGNAL_H_SIGPIPE''@|$(GNULIB_SIGNAL_H_SIGPIPE)|g' \
623 -e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
624 -e 's|@''GNULIB_SIGACTION''@|$(GNULIB_SIGACTION)|g' \
625 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
626 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
627 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
628 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
629 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
630 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
631 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
632 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
633 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
634 < $(srcdir)/signal.in.h; \
637 MOSTLYCLEANFILES += signal.h signal.h-t
639 EXTRA_DIST += signal.in.h
641 ## end gnulib module signal
643 ## begin gnulib module sigprocmask
646 EXTRA_DIST += sigprocmask.c
648 EXTRA_libgrt_a_SOURCES += sigprocmask.c
650 ## end gnulib module sigprocmask
652 ## begin gnulib module stat
657 EXTRA_libgrt_a_SOURCES += stat.c
659 ## end gnulib module stat
661 ## begin gnulib module stdbool
663 BUILT_SOURCES += $(STDBOOL_H)
665 # We need the following in order to create <stdbool.h> when the system
666 # doesn't have one that works.
667 stdbool.h: stdbool.in.h
668 $(AM_V_GEN)rm -f $@-t $@ && \
669 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
670 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
673 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
675 EXTRA_DIST += stdbool.in.h
677 ## end gnulib module stdbool
679 ## begin gnulib module stddef
681 BUILT_SOURCES += $(STDDEF_H)
683 # We need the following in order to create <stddef.h> when the system
684 # doesn't have one that works with the given compiler.
685 stddef.h: stddef.in.h
686 $(AM_V_GEN)rm -f $@-t $@ && \
687 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
688 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
689 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
690 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
691 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
692 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
693 < $(srcdir)/stddef.in.h; \
696 MOSTLYCLEANFILES += stddef.h stddef.h-t
698 EXTRA_DIST += stddef.in.h
700 ## end gnulib module stddef
702 ## begin gnulib module stdint
704 BUILT_SOURCES += $(STDINT_H)
706 # We need the following in order to create <stdint.h> when the system
707 # doesn't have one that works with the given compiler.
708 stdint.h: stdint.in.h
709 $(AM_V_GEN)rm -f $@-t $@ && \
710 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
711 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
712 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
713 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
714 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
715 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
716 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
717 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
718 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
719 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
720 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
721 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
722 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
723 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
724 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
725 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
726 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
727 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
728 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
729 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
730 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
731 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
732 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
733 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
734 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
735 < $(srcdir)/stdint.in.h; \
738 MOSTLYCLEANFILES += stdint.h stdint.h-t
740 EXTRA_DIST += stdint.in.h
742 ## end gnulib module stdint
744 ## begin gnulib module stdio
746 BUILT_SOURCES += stdio.h
748 # We need the following in order to create <stdio.h> when the system
749 # doesn't have one that works with the given compiler.
750 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
751 $(AM_V_GEN)rm -f $@-t $@ && \
752 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
753 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
754 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
755 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
756 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
757 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
758 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
759 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
760 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
761 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
762 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
763 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
764 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
765 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
766 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
767 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
768 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
769 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
770 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
771 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
772 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
773 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
774 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
775 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
776 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
777 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
778 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
779 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
780 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
781 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
782 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
783 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
784 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
785 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
786 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
787 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
788 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
789 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
790 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
791 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
792 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
793 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
794 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
795 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
796 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
797 < $(srcdir)/stdio.in.h | \
798 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
799 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
800 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
801 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
802 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
803 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
804 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
805 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
806 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
807 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
808 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
809 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
810 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
811 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
812 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
813 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
814 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
815 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
816 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
817 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
818 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
819 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
820 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
821 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
822 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
823 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
824 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
825 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
826 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
827 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
828 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
829 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
830 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
831 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
832 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
833 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
834 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
835 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
836 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
837 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
838 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
839 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
840 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
841 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
842 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
843 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
846 MOSTLYCLEANFILES += stdio.h stdio.h-t
848 EXTRA_DIST += stdio-write.c stdio.in.h
850 EXTRA_libgrt_a_SOURCES += stdio-write.c
852 ## end gnulib module stdio
854 ## begin gnulib module stdlib
856 BUILT_SOURCES += stdlib.h
858 # We need the following in order to create <stdlib.h> when the system
859 # doesn't have one that works with the given compiler.
860 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
861 $(AM_V_GEN)rm -f $@-t $@ && \
862 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
863 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
864 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
865 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
866 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
867 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
868 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
869 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
870 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
871 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
872 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
873 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
874 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
875 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
876 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
877 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
878 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
879 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
880 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
881 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
882 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
883 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
884 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
885 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
886 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
887 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
888 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
889 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
890 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
891 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
892 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
893 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
894 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
895 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
896 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
897 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
898 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
899 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
900 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
901 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
902 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
903 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
904 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
905 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
906 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
907 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
908 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
909 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
910 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
911 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
912 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
913 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
914 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
915 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
916 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
917 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
918 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
919 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
920 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
921 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
922 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
923 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
924 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
925 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
926 < $(srcdir)/stdlib.in.h; \
929 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
931 EXTRA_DIST += stdlib.in.h
933 ## end gnulib module stdlib
935 ## begin gnulib module streq
938 EXTRA_DIST += streq.h
940 ## end gnulib module streq
942 ## begin gnulib module strerror
945 EXTRA_DIST += strerror.c
947 EXTRA_libgrt_a_SOURCES += strerror.c
949 ## end gnulib module strerror
951 ## begin gnulib module striconv
953 libgrt_a_SOURCES += striconv.h striconv.c
957 ## end gnulib module striconv
959 ## begin gnulib module string
961 BUILT_SOURCES += string.h
963 # We need the following in order to create <string.h> when the system
964 # doesn't have one that works with the given compiler.
965 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
966 $(AM_V_GEN)rm -f $@-t $@ && \
967 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
968 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
969 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
970 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
971 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
972 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
973 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
974 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
975 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
976 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
977 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
978 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
979 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
980 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
981 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
982 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
983 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
984 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
985 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
986 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
987 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
988 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
989 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
990 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
991 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
992 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
993 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
994 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
995 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
996 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
997 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
998 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
999 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1000 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1001 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1002 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1003 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1004 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1005 < $(srcdir)/string.in.h | \
1006 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1007 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1008 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1009 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1010 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1011 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1012 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1013 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1014 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1015 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1016 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1017 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1018 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1019 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1020 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1021 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1022 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1023 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1024 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1025 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1026 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1027 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1028 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1029 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1030 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1031 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1032 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1033 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1034 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1035 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1036 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1037 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1038 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1039 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1040 < $(srcdir)/string.in.h; \
1043 MOSTLYCLEANFILES += string.h string.h-t
1045 EXTRA_DIST += string.in.h
1047 ## end gnulib module string
1049 ## begin gnulib module strnlen
1052 EXTRA_DIST += strnlen.c
1054 EXTRA_libgrt_a_SOURCES += strnlen.c
1056 ## end gnulib module strnlen
1058 ## begin gnulib module strnlen1
1060 libgrt_a_SOURCES += strnlen1.h strnlen1.c
1062 ## end gnulib module strnlen1
1064 ## begin gnulib module strtol
1067 EXTRA_DIST += strtol.c
1069 EXTRA_libgrt_a_SOURCES += strtol.c
1071 ## end gnulib module strtol
1073 ## begin gnulib module strtoul
1076 EXTRA_DIST += strtoul.c
1078 EXTRA_libgrt_a_SOURCES += strtoul.c
1080 ## end gnulib module strtoul
1082 ## begin gnulib module sys_stat
1084 BUILT_SOURCES += sys/stat.h
1086 # We need the following in order to create <sys/stat.h> when the system
1087 # has one that is incomplete.
1088 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1089 $(AM_V_at)$(MKDIR_P) sys
1090 $(AM_V_GEN)rm -f $@-t $@ && \
1091 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1092 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1093 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1094 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1095 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1096 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1097 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1098 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1099 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1100 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1101 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1102 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1103 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1104 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1105 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1106 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1107 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1108 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1109 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1110 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1111 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1112 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1113 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1114 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1115 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1116 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1117 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1118 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1119 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1120 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1121 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1122 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1123 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1124 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1125 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1126 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1127 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1128 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1129 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1130 < $(srcdir)/sys_stat.in.h; \
1133 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1134 MOSTLYCLEANDIRS += sys
1136 EXTRA_DIST += sys_stat.in.h
1138 ## end gnulib module sys_stat
1140 ## begin gnulib module time
1142 BUILT_SOURCES += time.h
1144 # We need the following in order to create <time.h> when the system
1145 # doesn't have one that works with the given compiler.
1146 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1147 $(AM_V_GEN)rm -f $@-t $@ && \
1148 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1149 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1150 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1151 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1152 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1153 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1154 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1155 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1156 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1157 -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1158 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1159 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1160 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1161 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1162 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1163 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1164 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1165 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1166 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1167 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1168 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1169 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1170 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1171 < $(srcdir)/time.in.h; \
1174 MOSTLYCLEANFILES += time.h time.h-t
1176 EXTRA_DIST += time.in.h
1178 ## end gnulib module time
1180 ## begin gnulib module trim
1182 libgrt_a_SOURCES += trim.c
1184 EXTRA_DIST += trim.h
1186 ## end gnulib module trim
1188 ## begin gnulib module unistd
1190 BUILT_SOURCES += unistd.h
1192 # We need the following in order to create an empty placeholder for
1193 # <unistd.h> when the system doesn't have one.
1194 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1195 $(AM_V_GEN)rm -f $@-t $@ && \
1196 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1197 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1198 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1199 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1200 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1201 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1202 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1203 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1204 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1205 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1206 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1207 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1208 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1209 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1210 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1211 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1212 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1213 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1214 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1215 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1216 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1217 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1218 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1219 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1220 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1221 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1222 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1223 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1224 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1225 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1226 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1227 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
1228 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1229 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1230 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1231 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1232 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1233 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1234 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1235 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1236 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1237 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1238 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1239 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1240 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1241 < $(srcdir)/unistd.in.h | \
1242 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1243 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1244 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1245 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1246 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1247 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1248 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1249 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1250 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1251 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1252 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1253 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1254 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1255 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1256 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1257 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1258 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1259 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1260 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1261 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1262 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1263 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1264 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1265 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1266 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1267 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1268 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1269 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1270 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1271 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1272 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1273 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1274 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1275 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1276 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1277 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1278 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1279 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1280 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1281 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1282 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1283 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1284 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1285 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1286 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1287 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1288 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1289 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1290 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1291 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1292 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1293 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1294 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1295 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1296 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1297 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1298 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1299 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1300 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1301 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1302 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1303 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1304 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1307 MOSTLYCLEANFILES += unistd.h unistd.h-t
1309 EXTRA_DIST += unistd.in.h
1311 ## end gnulib module unistd
1313 ## begin gnulib module unitypes
1315 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1317 unitypes.h: unitypes.in.h
1318 $(AM_V_GEN)rm -f $@-t $@ && \
1319 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1320 cat $(srcdir)/unitypes.in.h; \
1323 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
1325 EXTRA_DIST += unitypes.in.h
1327 ## end gnulib module unitypes
1329 ## begin gnulib module uniwidth/base
1331 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
1333 uniwidth.h: uniwidth.in.h
1334 $(AM_V_GEN)rm -f $@-t $@ && \
1335 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1336 cat $(srcdir)/uniwidth.in.h; \
1339 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1341 EXTRA_DIST += localcharset.h uniwidth.in.h
1343 ## end gnulib module uniwidth/base
1345 ## begin gnulib module uniwidth/width
1347 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1348 libgrt_a_SOURCES += uniwidth/width.c
1351 EXTRA_DIST += uniwidth/cjk.h
1353 ## end gnulib module uniwidth/width
1355 ## begin gnulib module unlocked-io
1358 EXTRA_DIST += unlocked-io.h
1360 ## end gnulib module unlocked-io
1362 ## begin gnulib module verify
1364 libgrt_a_SOURCES += verify.h
1366 ## end gnulib module verify
1368 ## begin gnulib module warn-on-use
1370 BUILT_SOURCES += warn-on-use.h
1371 # The warn-on-use.h that gets inserted into generated .h files is the same as
1372 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1373 warn-on-use.h: $(top_srcdir)/../build-aux/warn-on-use.h
1374 $(AM_V_GEN)rm -f $@-t $@ && \
1375 sed -n -e '/^.ifndef/,$$p' \
1376 < $(top_srcdir)/../build-aux/warn-on-use.h \
1379 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1381 WARN_ON_USE_H=warn-on-use.h
1383 EXTRA_DIST += $(top_srcdir)/../build-aux/warn-on-use.h
1385 ## end gnulib module warn-on-use
1387 ## begin gnulib module wchar
1389 BUILT_SOURCES += wchar.h
1391 # We need the following in order to create <wchar.h> when the system
1392 # version does not work standalone.
1393 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1394 $(AM_V_GEN)rm -f $@-t $@ && \
1395 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1396 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1397 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1398 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1399 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1400 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1401 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1402 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1403 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1404 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1405 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1406 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1407 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1408 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1409 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1410 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1411 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1412 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1413 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1414 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1415 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1416 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1417 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1418 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1419 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1420 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1421 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1422 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1423 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1424 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1425 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1426 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1427 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1428 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1429 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1430 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1431 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1432 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1433 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1434 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1435 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1436 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1437 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1438 < $(srcdir)/wchar.in.h; \
1441 MOSTLYCLEANFILES += wchar.h wchar.h-t
1443 EXTRA_DIST += wchar.in.h
1445 ## end gnulib module wchar
1447 ## begin gnulib module wctype
1449 BUILT_SOURCES += wctype.h
1451 # We need the following in order to create <wctype.h> when the system
1452 # doesn't have one that works with the given compiler.
1453 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1454 $(AM_V_GEN)rm -f $@-t $@ && \
1455 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1456 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1457 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1458 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1459 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1460 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1461 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1462 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1463 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1464 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1465 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1466 < $(srcdir)/wctype.in.h; \
1469 MOSTLYCLEANFILES += wctype.h wctype.h-t
1471 EXTRA_DIST += wctype.in.h
1473 ## end gnulib module wctype
1475 ## begin gnulib module wcwidth
1478 EXTRA_DIST += wcwidth.c
1480 EXTRA_libgrt_a_SOURCES += wcwidth.c
1482 ## end gnulib module wcwidth
1484 ## begin gnulib module xalloc
1486 libgrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c
1488 ## end gnulib module xalloc
1490 ## begin gnulib module xreadlink
1492 libgrt_a_SOURCES += xreadlink.c
1494 EXTRA_DIST += xreadlink.h
1496 ## end gnulib module xreadlink
1498 ## begin gnulib module xstriconv
1500 libgrt_a_SOURCES += xstriconv.h xstriconv.c
1502 ## end gnulib module xstriconv
1505 mostlyclean-local: mostlyclean-generic
1506 @for dir in '' $(MOSTLYCLEANDIRS); do \
1507 if test -n "$$dir" && test -d $$dir; then \
1508 echo "rmdir $$dir"; rmdir $$dir; \