Code

87fe0316ce89145c73c5740455a4ac3d4e4de3d9
[nagiosplug.git] / gl / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
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.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex timegm vasprintf vsnprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28 EXTRA_DIST += m4/gnulib-cache.m4
30 AM_CPPFLAGS =
31 AM_CFLAGS =
33 noinst_LIBRARIES += libgnu.a
35 libgnu_a_SOURCES =
36 libgnu_a_LIBADD = $(gl_LIBOBJS)
37 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
38 EXTRA_libgnu_a_SOURCES =
40 ## begin gnulib module alignof
43 EXTRA_DIST += alignof.h
45 ## end   gnulib module alignof
47 ## begin gnulib module alloca
50 EXTRA_DIST += alloca.c
52 EXTRA_libgnu_a_SOURCES += alloca.c
54 libgnu_a_LIBADD += @ALLOCA@
55 libgnu_a_DEPENDENCIES += @ALLOCA@
56 ## end   gnulib module alloca
58 ## begin gnulib module alloca-opt
60 BUILT_SOURCES += $(ALLOCA_H)
62 # We need the following in order to create <alloca.h> when the system
63 # doesn't have one that works with the given compiler.
64 alloca.h: alloca.in.h
65         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
66           cat $(srcdir)/alloca.in.h; \
67         } > $@-t
68         mv -f $@-t $@
69 MOSTLYCLEANFILES += alloca.h alloca.h-t
71 EXTRA_DIST += alloca.in.h
73 ## end   gnulib module alloca-opt
75 ## begin gnulib module arpa_inet
77 BUILT_SOURCES += $(ARPA_INET_H)
79 # We need the following in order to create <arpa/inet.h> when the system
80 # doesn't have one.
81 arpa/inet.h: arpa_inet.in.h
82         @MKDIR_P@ arpa
83         rm -f $@-t $@
84         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
85           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
86               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
87               -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
88               -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
89               -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
90               -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
91               -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
92               -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
93               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
94               < $(srcdir)/arpa_inet.in.h; \
95         } > $@-t
96         mv $@-t $@
97 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
98 MOSTLYCLEANDIRS += arpa
100 EXTRA_DIST += arpa_inet.in.h
102 ## end   gnulib module arpa_inet
104 ## begin gnulib module base64
106 libgnu_a_SOURCES += base64.h base64.c
108 ## end   gnulib module base64
110 ## begin gnulib module btowc
113 EXTRA_DIST += btowc.c
115 EXTRA_libgnu_a_SOURCES += btowc.c
117 ## end   gnulib module btowc
119 ## begin gnulib module c-strtod
122 EXTRA_DIST += c-strtod.c c-strtod.h
124 EXTRA_libgnu_a_SOURCES += c-strtod.c
126 ## end   gnulib module c-strtod
128 ## begin gnulib module cloexec
131 EXTRA_DIST += cloexec.c cloexec.h
133 EXTRA_libgnu_a_SOURCES += cloexec.c
135 ## end   gnulib module cloexec
137 ## begin gnulib module configmake
139 # Retrieve values of the variables through 'configure' followed by
140 # 'make', not directly through 'configure', so that a user who
141 # sets some of these variables consistently on the 'make' command
142 # line gets correct results.
144 # One advantage of this approach, compared to the classical
145 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
146 # is that it protects against the use of undefined variables.
147 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
148 # defined by this module, and code using LIBDIR gives a
149 # compilation error.
151 # Another advantage is that 'make' output is shorter.
153 # Listed in the same order as the GNU makefile conventions.
154 # The Automake-defined pkg* macros are appended, in the order
155 # listed in the Automake 1.10a+ documentation.
156 configmake.h: Makefile
157         rm -f $@-t
158         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
159           echo '#define PREFIX "$(prefix)"'; \
160           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
161           echo '#define BINDIR "$(bindir)"'; \
162           echo '#define SBINDIR "$(sbindir)"'; \
163           echo '#define LIBEXECDIR "$(libexecdir)"'; \
164           echo '#define DATAROOTDIR "$(datarootdir)"'; \
165           echo '#define DATADIR "$(datadir)"'; \
166           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
167           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
168           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
169           echo '#define INCLUDEDIR "$(includedir)"'; \
170           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
171           echo '#define DOCDIR "$(docdir)"'; \
172           echo '#define INFODIR "$(infodir)"'; \
173           echo '#define HTMLDIR "$(htmldir)"'; \
174           echo '#define DVIDIR "$(dvidir)"'; \
175           echo '#define PDFDIR "$(pdfdir)"'; \
176           echo '#define PSDIR "$(psdir)"'; \
177           echo '#define LIBDIR "$(libdir)"'; \
178           echo '#define LISPDIR "$(lispdir)"'; \
179           echo '#define LOCALEDIR "$(localedir)"'; \
180           echo '#define MANDIR "$(mandir)"'; \
181           echo '#define MANEXT "$(manext)"'; \
182           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
183           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
184           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
185           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
186         } | sed '/""/d' > $@-t
187         if test -f $@ && cmp $@-t $@ > /dev/null; then \
188           rm -f $@-t; \
189         else \
190           rm -f $@; mv $@-t $@; \
191         fi
193 BUILT_SOURCES += configmake.h
194 CLEANFILES += configmake.h configmake.h-t
196 ## end   gnulib module configmake
198 ## begin gnulib module dirname
201 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
203 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
205 ## end   gnulib module dirname
207 ## begin gnulib module errno
209 BUILT_SOURCES += $(ERRNO_H)
211 # We need the following in order to create <errno.h> when the system
212 # doesn't have one that is POSIX compliant.
213 errno.h: errno.in.h
214         rm -f $@-t $@
215         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
216           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
217               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
218               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
219               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
220               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
221               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
222               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
223               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
224               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
225               < $(srcdir)/errno.in.h; \
226         } > $@-t
227         mv $@-t $@
228 MOSTLYCLEANFILES += errno.h errno.h-t
230 EXTRA_DIST += errno.in.h
232 ## end   gnulib module errno
234 ## begin gnulib module error
237 EXTRA_DIST += error.c error.h
239 EXTRA_libgnu_a_SOURCES += error.c
241 ## end   gnulib module error
243 ## begin gnulib module exitfail
246 EXTRA_DIST += exitfail.c exitfail.h
248 EXTRA_libgnu_a_SOURCES += exitfail.c
250 ## end   gnulib module exitfail
252 ## begin gnulib module fcntl
254 BUILT_SOURCES += $(FCNTL_H)
256 # We need the following in order to create <fcntl.h> when the system
257 # doesn't have one that works with the given compiler.
258 fcntl.h: fcntl.in.h
259         rm -f $@-t $@
260         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
261           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
262               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
263               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
264               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
265               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
266               < $(srcdir)/fcntl.in.h; \
267         } > $@-t
268         mv $@-t $@
269 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
271 EXTRA_DIST += fcntl.in.h
273 ## end   gnulib module fcntl
275 ## begin gnulib module fcntl-safer
278 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
280 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
282 ## end   gnulib module fcntl-safer
284 ## begin gnulib module float
286 BUILT_SOURCES += $(FLOAT_H)
288 # We need the following in order to create <float.h> when the system
289 # doesn't have one that works with the given compiler.
290 float.h: float.in.h
291         rm -f $@-t $@
292         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
293           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
294               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
295               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
296               < $(srcdir)/float.in.h; \
297         } > $@-t
298         mv $@-t $@
299 MOSTLYCLEANFILES += float.h float.h-t
301 EXTRA_DIST += float.in.h
303 ## end   gnulib module float
305 ## begin gnulib module floorf
308 EXTRA_DIST += floor.c floorf.c
310 EXTRA_libgnu_a_SOURCES += floor.c floorf.c
312 ## end   gnulib module floorf
314 ## begin gnulib module fsusage
317 EXTRA_DIST += fsusage.c fsusage.h
319 EXTRA_libgnu_a_SOURCES += fsusage.c
321 ## end   gnulib module fsusage
323 ## begin gnulib module full-read
325 libgnu_a_SOURCES += full-read.h full-read.c
327 ## end   gnulib module full-read
329 ## begin gnulib module full-write
331 libgnu_a_SOURCES += full-write.h full-write.c
333 ## end   gnulib module full-write
335 ## begin gnulib module getaddrinfo
338 EXTRA_DIST += gai_strerror.c getaddrinfo.c
340 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
342 ## end   gnulib module getaddrinfo
344 ## begin gnulib module gethostname
347 EXTRA_DIST += gethostname.c
349 EXTRA_libgnu_a_SOURCES += gethostname.c
351 ## end   gnulib module gethostname
353 ## begin gnulib module getloadavg
356 EXTRA_DIST += getloadavg.c
358 EXTRA_libgnu_a_SOURCES += getloadavg.c
360 ## end   gnulib module getloadavg
362 ## begin gnulib module getopt
364 BUILT_SOURCES += $(GETOPT_H)
366 # We need the following in order to create <getopt.h> when the system
367 # doesn't have one that works with the given compiler.
368 getopt.h: getopt.in.h
369         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
370           cat $(srcdir)/getopt.in.h; \
371         } > $@-t
372         mv -f $@-t $@
373 MOSTLYCLEANFILES += getopt.h getopt.h-t
375 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
377 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
379 ## end   gnulib module getopt
381 ## begin gnulib module gettext
383 # This is for those projects which use "gettextize --intl" to put a source-code
384 # copy of libintl into their package. In such projects, every Makefile.am needs
385 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
386 # For the Makefile.ams in other directories it is the maintainer's
387 # responsibility; for the one from gnulib we do it here.
388 # This option has no effect when the user disables NLS (because then the intl
389 # directory contains no libintl.h file) or when the project does not use
390 # "gettextize --intl".
391 AM_CPPFLAGS += -I$(top_builddir)/intl
393 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
395 ## end   gnulib module gettext
397 ## begin gnulib module gettext-h
399 libgnu_a_SOURCES += gettext.h
401 ## end   gnulib module gettext-h
403 ## begin gnulib module havelib
406 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
408 ## end   gnulib module havelib
410 ## begin gnulib module inet_ntop
413 EXTRA_DIST += inet_ntop.c
415 EXTRA_libgnu_a_SOURCES += inet_ntop.c
417 ## end   gnulib module inet_ntop
419 ## begin gnulib module intprops
422 EXTRA_DIST += intprops.h
424 ## end   gnulib module intprops
426 ## begin gnulib module link-warning
428 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
430 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
432 ## end   gnulib module link-warning
434 ## begin gnulib module localcharset
436 libgnu_a_SOURCES += localcharset.h localcharset.c
438 # We need the following in order to install a simple file in $(libdir)
439 # which is shared with other installed packages. We use a list of referencing
440 # packages so that "make uninstall" will remove the file if and only if it
441 # is not used by another installed package.
442 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
443 # avoid installing it.
445 all-local: charset.alias ref-add.sed ref-del.sed
447 charset_alias = $(DESTDIR)$(libdir)/charset.alias
448 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
449 install-exec-local: install-exec-localcharset
450 install-exec-localcharset: all-local
451         if test $(GLIBC21) = no; then \
452           case '$(host_os)' in \
453             darwin[56]*) \
454               need_charset_alias=true ;; \
455             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
456               need_charset_alias=false ;; \
457             *) \
458               need_charset_alias=true ;; \
459           esac ; \
460         else \
461           need_charset_alias=false ; \
462         fi ; \
463         if $$need_charset_alias; then \
464           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
465         fi ; \
466         if test -f $(charset_alias); then \
467           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
468           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
469           rm -f $(charset_tmp) ; \
470         else \
471           if $$need_charset_alias; then \
472             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
473             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
474             rm -f $(charset_tmp) ; \
475           fi ; \
476         fi
478 uninstall-local: uninstall-localcharset
479 uninstall-localcharset: all-local
480         if test -f $(charset_alias); then \
481           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
482           if grep '^# Packages using this file: $$' $(charset_tmp) \
483               > /dev/null; then \
484             rm -f $(charset_alias); \
485           else \
486             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
487           fi; \
488           rm -f $(charset_tmp); \
489         fi
491 charset.alias: config.charset
492         rm -f t-$@ $@
493         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
494         mv t-$@ $@
496 SUFFIXES += .sed .sin
497 .sin.sed:
498         rm -f t-$@ $@
499         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
500         mv t-$@ $@
502 CLEANFILES += charset.alias ref-add.sed ref-del.sed
504 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
506 ## end   gnulib module localcharset
508 ## begin gnulib module malloc
511 EXTRA_DIST += malloc.c
513 EXTRA_libgnu_a_SOURCES += malloc.c
515 ## end   gnulib module malloc
517 ## begin gnulib module malloc-posix
520 EXTRA_DIST += malloc.c
522 EXTRA_libgnu_a_SOURCES += malloc.c
524 ## end   gnulib module malloc-posix
526 ## begin gnulib module math
528 BUILT_SOURCES += math.h
530 # We need the following in order to create <math.h> when the system
531 # doesn't have one that works with the given compiler.
532 math.h: math.in.h
533         rm -f $@-t $@
534         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
535           sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
536               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
537               -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
538               -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
539               -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
540               -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
541               -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
542               -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
543               -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
544               -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
545               -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
546               -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
547               -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
548               -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
549               -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
550               -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
551               -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
552               -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
553               -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
554               -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
555               -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
556               -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
557               -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
558               -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
559               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
560               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
561               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
562               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
563               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
564               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
565               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
566               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
567               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
568               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
569               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
570               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
571               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
572               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
573               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
574               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
575               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
576               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
577               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
578               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
579               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
580               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
581               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
582               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
583               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
584               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
585               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
586               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
587               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
588               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
589               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
590               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
591               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
592               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
593               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
594               < $(srcdir)/math.in.h; \
595         } > $@-t
596         mv $@-t $@
597 MOSTLYCLEANFILES += math.h math.h-t
599 EXTRA_DIST += math.in.h
601 ## end   gnulib module math
603 ## begin gnulib module mbrtowc
606 EXTRA_DIST += mbrtowc.c
608 EXTRA_libgnu_a_SOURCES += mbrtowc.c
610 ## end   gnulib module mbrtowc
612 ## begin gnulib module mbsinit
615 EXTRA_DIST += mbsinit.c
617 EXTRA_libgnu_a_SOURCES += mbsinit.c
619 ## end   gnulib module mbsinit
621 ## begin gnulib module mktime
624 EXTRA_DIST += mktime.c
626 EXTRA_libgnu_a_SOURCES += mktime.c
628 ## end   gnulib module mktime
630 ## begin gnulib module mountlist
633 EXTRA_DIST += mountlist.c mountlist.h
635 EXTRA_libgnu_a_SOURCES += mountlist.c
637 ## end   gnulib module mountlist
639 ## begin gnulib module netdb
641 BUILT_SOURCES += $(NETDB_H)
643 # We need the following in order to create <netdb.h> when the system
644 # doesn't have one that works with the given compiler.
645 netdb.h: netdb.in.h
646         rm -f $@-t $@
647         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
648           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
649               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
650               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
651               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
652               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
653               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
654               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
655               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
656               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
657               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
658               < $(srcdir)/netdb.in.h; \
659         } > $@-t
660         mv $@-t $@
661 MOSTLYCLEANFILES += netdb.h netdb.h-t
663 EXTRA_DIST += netdb.in.h
665 ## end   gnulib module netdb
667 ## begin gnulib module netinet_in
669 BUILT_SOURCES += $(NETINET_IN_H)
671 # We need the following in order to create <netinet/in.h> when the system
672 # doesn't have one.
673 netinet/in.h: netinet_in.in.h
674         @MKDIR_P@ netinet
675         rm -f $@-t $@
676         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
677           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
678               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
679               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
680               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
681               < $(srcdir)/netinet_in.in.h; \
682         } > $@-t
683         mv $@-t $@
684 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
685 MOSTLYCLEANDIRS += netinet
687 EXTRA_DIST += netinet_in.in.h
689 ## end   gnulib module netinet_in
691 ## begin gnulib module open
694 EXTRA_DIST += open.c
696 EXTRA_libgnu_a_SOURCES += open.c
698 ## end   gnulib module open
700 ## begin gnulib module regex
703 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
705 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
707 ## end   gnulib module regex
709 ## begin gnulib module safe-read
712 EXTRA_DIST += safe-read.c safe-read.h
714 EXTRA_libgnu_a_SOURCES += safe-read.c
716 ## end   gnulib module safe-read
718 ## begin gnulib module safe-write
721 EXTRA_DIST += safe-write.c safe-write.h
723 EXTRA_libgnu_a_SOURCES += safe-write.c
725 ## end   gnulib module safe-write
727 ## begin gnulib module size_max
729 libgnu_a_SOURCES += size_max.h
731 ## end   gnulib module size_max
733 ## begin gnulib module snprintf
736 EXTRA_DIST += snprintf.c
738 EXTRA_libgnu_a_SOURCES += snprintf.c
740 ## end   gnulib module snprintf
742 ## begin gnulib module stdbool
744 BUILT_SOURCES += $(STDBOOL_H)
746 # We need the following in order to create <stdbool.h> when the system
747 # doesn't have one that works.
748 stdbool.h: stdbool.in.h
749         rm -f $@-t $@
750         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
751           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
752         } > $@-t
753         mv $@-t $@
754 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
756 EXTRA_DIST += stdbool.in.h
758 ## end   gnulib module stdbool
760 ## begin gnulib module stdint
762 BUILT_SOURCES += $(STDINT_H)
764 # We need the following in order to create <stdint.h> when the system
765 # doesn't have one that works with the given compiler.
766 stdint.h: stdint.in.h
767         rm -f $@-t $@
768         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
769           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
770               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
771               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
772               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
773               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
774               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
775               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
776               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
777               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
778               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
779               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
780               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
781               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
782               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
783               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
784               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
785               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
786               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
787               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
788               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
789               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
790               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
791               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
792               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
793               < $(srcdir)/stdint.in.h; \
794         } > $@-t
795         mv $@-t $@
796 MOSTLYCLEANFILES += stdint.h stdint.h-t
798 EXTRA_DIST += stdint.in.h
800 ## end   gnulib module stdint
802 ## begin gnulib module stdio
804 BUILT_SOURCES += stdio.h
806 # We need the following in order to create <stdio.h> when the system
807 # doesn't have one that works with the given compiler.
808 stdio.h: stdio.in.h
809         rm -f $@-t $@
810         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
811           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
812               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
813               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
814               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
815               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
816               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
817               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
818               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
819               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
820               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
821               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
822               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
823               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
824               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
825               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
826               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
827               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
828               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
829               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
830               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
831               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
832               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
833               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
834               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
835               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
836               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
837               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
838               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
839               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
840               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
841               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
842               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
843               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
844               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
845               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
846               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
847               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
848               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
849               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
850               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
851               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
852               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
853               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
854               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
855               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
856               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
857               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
858               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
859               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
860               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
861               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
862               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
863               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
864               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
865               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
866               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
867               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
868               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
869               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
870               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
871               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
872               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
873               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
874               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
875               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
876               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
877               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
878               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
879               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
880               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
881               < $(srcdir)/stdio.in.h; \
882         } > $@-t
883         mv $@-t $@
884 MOSTLYCLEANFILES += stdio.h stdio.h-t
886 EXTRA_DIST += stdio-write.c stdio.in.h
888 EXTRA_libgnu_a_SOURCES += stdio-write.c
890 ## end   gnulib module stdio
892 ## begin gnulib module stdlib
894 BUILT_SOURCES += stdlib.h
896 # We need the following in order to create <stdlib.h> when the system
897 # doesn't have one that works with the given compiler.
898 stdlib.h: stdlib.in.h
899         rm -f $@-t $@
900         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
901           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
902               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
903               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
904               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
905               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
906               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
907               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
908               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
909               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
910               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
911               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
912               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
913               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
914               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
915               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
916               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
917               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
918               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
919               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
920               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
921               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
922               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
923               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
924               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
925               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
926               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
927               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
928               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
929               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
930               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
931               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
932               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
933               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
934               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
935               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
936               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
937               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
938               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
939               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
940               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
941               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
942               < $(srcdir)/stdlib.in.h; \
943         } > $@-t
944         mv $@-t $@
945 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
947 EXTRA_DIST += stdlib.in.h
949 ## end   gnulib module stdlib
951 ## begin gnulib module strdup-posix
954 EXTRA_DIST += strdup.c
956 EXTRA_libgnu_a_SOURCES += strdup.c
958 ## end   gnulib module strdup-posix
960 ## begin gnulib module streq
963 EXTRA_DIST += streq.h
965 ## end   gnulib module streq
967 ## begin gnulib module strerror
970 EXTRA_DIST += strerror.c
972 EXTRA_libgnu_a_SOURCES += strerror.c
974 ## end   gnulib module strerror
976 ## begin gnulib module string
978 BUILT_SOURCES += string.h
980 # We need the following in order to create <string.h> when the system
981 # doesn't have one that works with the given compiler.
982 string.h: string.in.h
983         rm -f $@-t $@
984         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
985           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
986               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
987               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
988               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
989               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
990               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
991               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
992               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
993               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
994               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
995               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
996               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
997               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
998               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
999               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1000               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1001               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1002               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1003               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1004               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1005               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1006               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1007               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1008               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1009               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1010               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1011               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1012               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1013               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1014               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1015               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1016               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1017               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1018               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1019               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1020               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1021               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1022               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1023               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1024               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1025               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1026               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1027               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1028               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
1029               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1030               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1031               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1032               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1033               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1034               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1035               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
1036               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1037               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1038               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1039               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1040               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1041               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1042               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1043               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1044               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1045               < $(srcdir)/string.in.h; \
1046         } > $@-t
1047         mv $@-t $@
1048 MOSTLYCLEANFILES += string.h string.h-t
1050 EXTRA_DIST += string.in.h
1052 ## end   gnulib module string
1054 ## begin gnulib module strndup
1057 EXTRA_DIST += strndup.c
1059 EXTRA_libgnu_a_SOURCES += strndup.c
1061 ## end   gnulib module strndup
1063 ## begin gnulib module strnlen
1066 EXTRA_DIST += strnlen.c
1068 EXTRA_libgnu_a_SOURCES += strnlen.c
1070 ## end   gnulib module strnlen
1072 ## begin gnulib module sys_socket
1074 BUILT_SOURCES += $(SYS_SOCKET_H)
1076 # We need the following in order to create <sys/socket.h> when the system
1077 # doesn't have one that works with the given compiler.
1078 sys/socket.h: sys_socket.in.h
1079         @MKDIR_P@ sys
1080         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1081           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1082               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1083               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1084               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1085               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1086               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1087               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1088               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1089               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1090               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1091               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1092               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1093               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1094               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1095               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1096               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1097               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1098               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1099               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1100               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1101               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1102               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1103               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1104               < $(srcdir)/sys_socket.in.h; \
1105         } > $@-t
1106         mv -f $@-t $@
1107 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1108 MOSTLYCLEANDIRS += sys
1110 EXTRA_DIST += sys_socket.in.h
1112 ## end   gnulib module sys_socket
1114 ## begin gnulib module time
1116 BUILT_SOURCES += time.h
1118 # We need the following in order to create <time.h> when the system
1119 # doesn't have one that works with the given compiler.
1120 time.h: time.in.h
1121         rm -f $@-t $@
1122         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1123           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1124               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1125               -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1126               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1127               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1128               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1129               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1130               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1131               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1132               < $(srcdir)/time.in.h; \
1133         } > $@-t
1134         mv $@-t $@
1135 MOSTLYCLEANFILES += time.h time.h-t
1137 EXTRA_DIST += time.in.h
1139 ## end   gnulib module time
1141 ## begin gnulib module time_r
1144 EXTRA_DIST += time_r.c
1146 EXTRA_libgnu_a_SOURCES += time_r.c
1148 ## end   gnulib module time_r
1150 ## begin gnulib module timegm
1153 EXTRA_DIST += timegm.c
1155 EXTRA_libgnu_a_SOURCES += timegm.c
1157 ## end   gnulib module timegm
1159 ## begin gnulib module unistd
1161 BUILT_SOURCES += unistd.h
1163 # We need the following in order to create an empty placeholder for
1164 # <unistd.h> when the system doesn't have one.
1165 unistd.h: unistd.in.h
1166         rm -f $@-t $@
1167         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1168           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1169               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1170               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1171               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1172               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1173               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1174               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1175               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1176               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1177               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1178               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1179               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1180               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1181               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1182               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1183               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1184               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1185               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1186               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1187               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1188               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1189               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1190               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1191               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1192               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1193               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1194               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1195               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1196               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1197               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1198               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1199               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1200               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1201               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1202               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1203               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1204               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1205               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1206               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1207               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1208               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1209               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1210               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1211               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1212               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1213               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1214               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1215               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1216               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1217               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1218               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1219               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1220               < $(srcdir)/unistd.in.h; \
1221         } > $@-t
1222         mv $@-t $@
1223 MOSTLYCLEANFILES += unistd.h unistd.h-t
1225 EXTRA_DIST += unistd.in.h
1227 ## end   gnulib module unistd
1229 ## begin gnulib module unistd-safer
1232 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1234 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1236 ## end   gnulib module unistd-safer
1238 ## begin gnulib module vasnprintf
1241 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1243 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1245 ## end   gnulib module vasnprintf
1247 ## begin gnulib module vasprintf
1250 EXTRA_DIST += asprintf.c vasprintf.c
1252 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
1254 ## end   gnulib module vasprintf
1256 ## begin gnulib module verify
1258 libgnu_a_SOURCES += verify.h
1260 ## end   gnulib module verify
1262 ## begin gnulib module vsnprintf
1265 EXTRA_DIST += vsnprintf.c
1267 EXTRA_libgnu_a_SOURCES += vsnprintf.c
1269 ## end   gnulib module vsnprintf
1271 ## begin gnulib module wchar
1273 BUILT_SOURCES += $(WCHAR_H)
1275 # We need the following in order to create <wchar.h> when the system
1276 # version does not work standalone.
1277 wchar.h: wchar.in.h
1278         rm -f $@-t $@
1279         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1280           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1281               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1282               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1283               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1284               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1285               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1286               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1287               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1288               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1289               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1290               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1291               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1292               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1293               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1294               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1295               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1296               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1297               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1298               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1299               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1300               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1301               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1302               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1303               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1304               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1305               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1306               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1307               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1308               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1309               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1310               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1311               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1312               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1313               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1314               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1315               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1316               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1317               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1318               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1319               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1320             < $(srcdir)/wchar.in.h; \
1321         } > $@-t
1322         mv $@-t $@
1323 MOSTLYCLEANFILES += wchar.h wchar.h-t
1325 EXTRA_DIST += wchar.in.h
1327 ## end   gnulib module wchar
1329 ## begin gnulib module wcrtomb
1332 EXTRA_DIST += wcrtomb.c
1334 EXTRA_libgnu_a_SOURCES += wcrtomb.c
1336 ## end   gnulib module wcrtomb
1338 ## begin gnulib module wctype
1340 BUILT_SOURCES += $(WCTYPE_H)
1342 # We need the following in order to create <wctype.h> when the system
1343 # doesn't have one that works with the given compiler.
1344 wctype.h: wctype.in.h
1345         rm -f $@-t $@
1346         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1347           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1348               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1349               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1350               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1351               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1352               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1353               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1354               < $(srcdir)/wctype.in.h; \
1355         } > $@-t
1356         mv $@-t $@
1357 MOSTLYCLEANFILES += wctype.h wctype.h-t
1359 EXTRA_DIST += wctype.in.h
1361 ## end   gnulib module wctype
1363 ## begin gnulib module write
1366 EXTRA_DIST += write.c
1368 EXTRA_libgnu_a_SOURCES += write.c
1370 ## end   gnulib module write
1372 ## begin gnulib module xalloc
1375 EXTRA_DIST += xalloc.h xmalloc.c
1377 EXTRA_libgnu_a_SOURCES += xmalloc.c
1379 ## end   gnulib module xalloc
1381 ## begin gnulib module xalloc-die
1383 libgnu_a_SOURCES += xalloc-die.c
1385 ## end   gnulib module xalloc-die
1387 ## begin gnulib module xsize
1389 libgnu_a_SOURCES += xsize.h
1391 ## end   gnulib module xsize
1393 ## begin gnulib module xstrndup
1395 libgnu_a_SOURCES += xstrndup.h xstrndup.c
1397 ## end   gnulib module xstrndup
1400 mostlyclean-local: mostlyclean-generic
1401         @for dir in '' $(MOSTLYCLEANDIRS); do \
1402           if test -n "$$dir" && test -d $$dir; then \
1403             echo "rmdir $$dir"; rmdir $$dir; \
1404           fi; \
1405         done; \
1406         :