Code

Add the timegm Gnulib module
[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 =
32 noinst_LIBRARIES += libgnu.a
34 libgnu_a_SOURCES =
35 libgnu_a_LIBADD = $(gl_LIBOBJS)
36 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgnu_a_SOURCES =
39 ## begin gnulib module alloca
42 EXTRA_DIST += alloca.c
44 EXTRA_libgnu_a_SOURCES += alloca.c
46 libgnu_a_LIBADD += @ALLOCA@
47 libgnu_a_DEPENDENCIES += @ALLOCA@
48 ## end   gnulib module alloca
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
56 alloca.h: alloca.in.h
57         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58           cat $(srcdir)/alloca.in.h; \
59         } > $@-t
60         mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end   gnulib module alloca-opt
67 ## begin gnulib module arpa_inet
69 BUILT_SOURCES += $(ARPA_INET_H)
71 # We need the following in order to create <arpa/inet.h> when the system
72 # doesn't have one.
73 arpa/inet.h:
74         @MKDIR_P@ arpa
75         rm -f $@-t $@
76         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
77           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
78               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
79               -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
80               -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
81               -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
82               -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
83               -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
84               -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
85               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
86               < $(srcdir)/arpa_inet.in.h; \
87         } > $@-t
88         mv $@-t $@
89 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
90 MOSTLYCLEANDIRS += arpa
92 EXTRA_DIST += arpa_inet.in.h
94 ## end   gnulib module arpa_inet
96 ## begin gnulib module base64
98 libgnu_a_SOURCES += base64.h base64.c
100 ## end   gnulib module base64
102 ## begin gnulib module btowc
105 EXTRA_DIST += btowc.c
107 EXTRA_libgnu_a_SOURCES += btowc.c
109 ## end   gnulib module btowc
111 ## begin gnulib module c-strtod
114 EXTRA_DIST += c-strtod.c c-strtod.h
116 EXTRA_libgnu_a_SOURCES += c-strtod.c
118 ## end   gnulib module c-strtod
120 ## begin gnulib module cloexec
123 EXTRA_DIST += cloexec.c cloexec.h
125 EXTRA_libgnu_a_SOURCES += cloexec.c
127 ## end   gnulib module cloexec
129 ## begin gnulib module configmake
131 # Retrieve values of the variables through 'configure' followed by
132 # 'make', not directly through 'configure', so that a user who
133 # sets some of these variables consistently on the 'make' command
134 # line gets correct results.
136 # One advantage of this approach, compared to the classical
137 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
138 # is that it protects against the use of undefined variables.
139 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
140 # defined by this module, and code using LIBDIR gives a
141 # compilation error.
143 # Another advantage is that 'make' output is shorter.
145 # Listed in the same order as the GNU makefile conventions.
146 # The Automake-defined pkg* macros are appended, in the order
147 # listed in the Automake 1.10a+ documentation.
148 configmake.h: Makefile
149         rm -f $@-t $@
150         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
151           echo '#define PREFIX "$(prefix)"'; \
152           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
153           echo '#define BINDIR "$(bindir)"'; \
154           echo '#define SBINDIR "$(sbindir)"'; \
155           echo '#define LIBEXECDIR "$(libexecdir)"'; \
156           echo '#define DATAROOTDIR "$(datarootdir)"'; \
157           echo '#define DATADIR "$(datadir)"'; \
158           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
159           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
160           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
161           echo '#define INCLUDEDIR "$(includedir)"'; \
162           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
163           echo '#define DOCDIR "$(docdir)"'; \
164           echo '#define INFODIR "$(infodir)"'; \
165           echo '#define HTMLDIR "$(htmldir)"'; \
166           echo '#define DVIDIR "$(dvidir)"'; \
167           echo '#define PDFDIR "$(pdfdir)"'; \
168           echo '#define PSDIR "$(psdir)"'; \
169           echo '#define LIBDIR "$(libdir)"'; \
170           echo '#define LISPDIR "$(lispdir)"'; \
171           echo '#define LOCALEDIR "$(localedir)"'; \
172           echo '#define MANDIR "$(mandir)"'; \
173           echo '#define MANEXT "$(manext)"'; \
174           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
175           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
176           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
177           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
178         } | sed '/""/d' > $@-t
179         mv $@-t $@
180 BUILT_SOURCES += configmake.h
181 CLEANFILES += configmake.h configmake.h-t
183 ## end   gnulib module configmake
185 ## begin gnulib module dirname
188 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
190 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
192 ## end   gnulib module dirname
194 ## begin gnulib module errno
196 BUILT_SOURCES += $(ERRNO_H)
198 # We need the following in order to create <errno.h> when the system
199 # doesn't have one that is POSIX compliant.
200 errno.h: errno.in.h
201         rm -f $@-t $@
202         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
203           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
204               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
205               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
206               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
207               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
208               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
209               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
210               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
211               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
212               < $(srcdir)/errno.in.h; \
213         } > $@-t
214         mv $@-t $@
215 MOSTLYCLEANFILES += errno.h errno.h-t
217 EXTRA_DIST += errno.in.h
219 ## end   gnulib module errno
221 ## begin gnulib module error
224 EXTRA_DIST += error.c error.h
226 EXTRA_libgnu_a_SOURCES += error.c
228 ## end   gnulib module error
230 ## begin gnulib module exitfail
233 EXTRA_DIST += exitfail.c exitfail.h
235 EXTRA_libgnu_a_SOURCES += exitfail.c
237 ## end   gnulib module exitfail
239 ## begin gnulib module fcntl
241 BUILT_SOURCES += $(FCNTL_H)
243 # We need the following in order to create <fcntl.h> when the system
244 # doesn't have one that works with the given compiler.
245 fcntl.h: fcntl.in.h
246         rm -f $@-t $@
247         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
248           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
249               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
250               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
251               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
252               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
253               < $(srcdir)/fcntl.in.h; \
254         } > $@-t
255         mv $@-t $@
256 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
258 EXTRA_DIST += fcntl.in.h
260 ## end   gnulib module fcntl
262 ## begin gnulib module fcntl-safer
265 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
267 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
269 ## end   gnulib module fcntl-safer
271 ## begin gnulib module float
273 BUILT_SOURCES += $(FLOAT_H)
275 # We need the following in order to create <float.h> when the system
276 # doesn't have one that works with the given compiler.
277 float.h: float.in.h
278         rm -f $@-t $@
279         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
280           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
281               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
282               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
283               < $(srcdir)/float.in.h; \
284         } > $@-t
285         mv $@-t $@
286 MOSTLYCLEANFILES += float.h float.h-t
288 EXTRA_DIST += float.in.h
290 ## end   gnulib module float
292 ## begin gnulib module floorf
295 EXTRA_DIST += floor.c floorf.c
297 EXTRA_libgnu_a_SOURCES += floor.c floorf.c
299 ## end   gnulib module floorf
301 ## begin gnulib module fsusage
304 EXTRA_DIST += fsusage.c fsusage.h
306 EXTRA_libgnu_a_SOURCES += fsusage.c
308 ## end   gnulib module fsusage
310 ## begin gnulib module full-read
312 libgnu_a_SOURCES += full-read.h full-read.c
314 ## end   gnulib module full-read
316 ## begin gnulib module full-write
318 libgnu_a_SOURCES += full-write.h full-write.c
320 ## end   gnulib module full-write
322 ## begin gnulib module getaddrinfo
325 EXTRA_DIST += gai_strerror.c getaddrinfo.c
327 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
329 ## end   gnulib module getaddrinfo
331 ## begin gnulib module gethostname
334 EXTRA_DIST += gethostname.c
336 EXTRA_libgnu_a_SOURCES += gethostname.c
338 ## end   gnulib module gethostname
340 ## begin gnulib module getloadavg
343 EXTRA_DIST += getloadavg.c
345 EXTRA_libgnu_a_SOURCES += getloadavg.c
347 ## end   gnulib module getloadavg
349 ## begin gnulib module getopt
351 BUILT_SOURCES += $(GETOPT_H)
353 # We need the following in order to create <getopt.h> when the system
354 # doesn't have one that works with the given compiler.
355 getopt.h: getopt.in.h
356         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
357           cat $(srcdir)/getopt.in.h; \
358         } > $@-t
359         mv -f $@-t $@
360 MOSTLYCLEANFILES += getopt.h getopt.h-t
362 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
364 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
366 ## end   gnulib module getopt
368 ## begin gnulib module gettext
370 # This is for those projects which use "gettextize --intl" to put a source-code
371 # copy of libintl into their package. In such projects, every Makefile.am needs
372 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
373 # For the Makefile.ams in other directories it is the maintainer's
374 # responsibility; for the one from gnulib we do it here.
375 # This option has no effect when the user disables NLS (because then the intl
376 # directory contains no libintl.h file) or when the project does not use
377 # "gettextize --intl".
378 AM_CPPFLAGS += -I$(top_builddir)/intl
380 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
382 ## end   gnulib module gettext
384 ## begin gnulib module gettext-h
386 libgnu_a_SOURCES += gettext.h
388 ## end   gnulib module gettext-h
390 ## begin gnulib module havelib
393 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
395 ## end   gnulib module havelib
397 ## begin gnulib module inet_ntop
400 EXTRA_DIST += inet_ntop.c
402 EXTRA_libgnu_a_SOURCES += inet_ntop.c
404 ## end   gnulib module inet_ntop
406 ## begin gnulib module intprops
409 EXTRA_DIST += intprops.h
411 ## end   gnulib module intprops
413 ## begin gnulib module link-warning
415 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
417 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
419 ## end   gnulib module link-warning
421 ## begin gnulib module localcharset
423 libgnu_a_SOURCES += localcharset.h localcharset.c
425 # We need the following in order to install a simple file in $(libdir)
426 # which is shared with other installed packages. We use a list of referencing
427 # packages so that "make uninstall" will remove the file if and only if it
428 # is not used by another installed package.
429 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
430 # avoid installing it.
432 all-local: charset.alias ref-add.sed ref-del.sed
434 charset_alias = $(DESTDIR)$(libdir)/charset.alias
435 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
436 install-exec-local: all-local
437         test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
438         if test -f $(charset_alias); then \
439           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
440           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
441           rm -f $(charset_tmp) ; \
442         else \
443           if test $(GLIBC21) = no; then \
444             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
445             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
446             rm -f $(charset_tmp) ; \
447           fi ; \
448         fi
450 uninstall-local: all-local
451         if test -f $(charset_alias); then \
452           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
453           if grep '^# Packages using this file: $$' $(charset_tmp) \
454               > /dev/null; then \
455             rm -f $(charset_alias); \
456           else \
457             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
458           fi; \
459           rm -f $(charset_tmp); \
460         fi
462 charset.alias: config.charset
463         rm -f t-$@ $@
464         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
465         mv t-$@ $@
467 SUFFIXES += .sed .sin
468 .sin.sed:
469         rm -f t-$@ $@
470         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
471         mv t-$@ $@
473 CLEANFILES += charset.alias ref-add.sed ref-del.sed
475 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
477 ## end   gnulib module localcharset
479 ## begin gnulib module malloc
482 EXTRA_DIST += malloc.c
484 EXTRA_libgnu_a_SOURCES += malloc.c
486 ## end   gnulib module malloc
488 ## begin gnulib module malloc-posix
491 EXTRA_DIST += malloc.c
493 EXTRA_libgnu_a_SOURCES += malloc.c
495 ## end   gnulib module malloc-posix
497 ## begin gnulib module math
499 BUILT_SOURCES += math.h
501 # We need the following in order to create <math.h> when the system
502 # doesn't have one that works with the given compiler.
503 math.h: math.in.h
504         rm -f $@-t $@
505         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
506           sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
507               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
508               -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
509               -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
510               -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
511               -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
512               -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
513               -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
514               -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
515               -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
516               -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
517               -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
518               -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
519               -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
520               -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
521               -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
522               -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
523               -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
524               -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
525               -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
526               -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
527               -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
528               -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
529               -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
530               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
531               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
532               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
533               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
534               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
535               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
536               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
537               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
538               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
539               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
540               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
541               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
542               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
543               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
544               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
545               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
546               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
547               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
548               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
549               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
550               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
551               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
552               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
553               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
554               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
555               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
556               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
557               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
558               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
559               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
560               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
561               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
562               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
563               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
564               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
565               < $(srcdir)/math.in.h; \
566         } > $@-t
567         mv $@-t $@
568 MOSTLYCLEANFILES += math.h math.h-t
570 EXTRA_DIST += math.in.h
572 ## end   gnulib module math
574 ## begin gnulib module mbrtowc
577 EXTRA_DIST += mbrtowc.c
579 EXTRA_libgnu_a_SOURCES += mbrtowc.c
581 ## end   gnulib module mbrtowc
583 ## begin gnulib module mbsinit
586 EXTRA_DIST += mbsinit.c
588 EXTRA_libgnu_a_SOURCES += mbsinit.c
590 ## end   gnulib module mbsinit
592 ## begin gnulib module mktime
595 EXTRA_DIST += mktime.c
597 EXTRA_libgnu_a_SOURCES += mktime.c
599 ## end   gnulib module mktime
601 ## begin gnulib module mountlist
604 EXTRA_DIST += mountlist.c mountlist.h
606 EXTRA_libgnu_a_SOURCES += mountlist.c
608 ## end   gnulib module mountlist
610 ## begin gnulib module netdb
612 BUILT_SOURCES += $(NETDB_H)
614 # We need the following in order to create <netdb.h> when the system
615 # doesn't have one that works with the given compiler.
616 netdb.h: netdb.in.h
617         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_NETDB_H''@|$(NEXT_NETDB_H)|g' \
622               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
623               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
624               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
625               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
626               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
627               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
628               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
629               < $(srcdir)/netdb.in.h; \
630         } > $@-t
631         mv $@-t $@
632 MOSTLYCLEANFILES += netdb.h netdb.h-t
634 EXTRA_DIST += netdb.in.h
636 ## end   gnulib module netdb
638 ## begin gnulib module netinet_in
640 BUILT_SOURCES += $(NETINET_IN_H)
642 # We need the following in order to create <netinet/in.h> when the system
643 # doesn't have one.
644 netinet/in.h: netinet_in.in.h
645         @MKDIR_P@ netinet
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_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
651               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
652               < $(srcdir)/netinet_in.in.h; \
653         } > $@-t
654         mv $@-t $@
655 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
656 MOSTLYCLEANDIRS += netinet
658 EXTRA_DIST += netinet_in.in.h
660 ## end   gnulib module netinet_in
662 ## begin gnulib module open
665 EXTRA_DIST += open.c
667 EXTRA_libgnu_a_SOURCES += open.c
669 ## end   gnulib module open
671 ## begin gnulib module regex
674 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
676 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
678 ## end   gnulib module regex
680 ## begin gnulib module safe-read
683 EXTRA_DIST += safe-read.c safe-read.h
685 EXTRA_libgnu_a_SOURCES += safe-read.c
687 ## end   gnulib module safe-read
689 ## begin gnulib module safe-write
692 EXTRA_DIST += safe-write.c safe-write.h
694 EXTRA_libgnu_a_SOURCES += safe-write.c
696 ## end   gnulib module safe-write
698 ## begin gnulib module size_max
700 libgnu_a_SOURCES += size_max.h
702 ## end   gnulib module size_max
704 ## begin gnulib module snprintf
707 EXTRA_DIST += snprintf.c
709 EXTRA_libgnu_a_SOURCES += snprintf.c
711 ## end   gnulib module snprintf
713 ## begin gnulib module stdbool
715 BUILT_SOURCES += $(STDBOOL_H)
717 # We need the following in order to create <stdbool.h> when the system
718 # doesn't have one that works.
719 stdbool.h: stdbool.in.h
720         rm -f $@-t $@
721         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
722           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
723         } > $@-t
724         mv $@-t $@
725 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
727 EXTRA_DIST += stdbool.in.h
729 ## end   gnulib module stdbool
731 ## begin gnulib module stdint
733 BUILT_SOURCES += $(STDINT_H)
735 # We need the following in order to create <stdint.h> when the system
736 # doesn't have one that works with the given compiler.
737 stdint.h: stdint.in.h
738         rm -f $@-t $@
739         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
740           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
741               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
742               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
743               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
744               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
745               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
746               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
747               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
748               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
749               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
750               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
751               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
752               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
753               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
754               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
755               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
756               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
757               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
758               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
759               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
760               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
761               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
762               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
763               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
764               < $(srcdir)/stdint.in.h; \
765         } > $@-t
766         mv $@-t $@
767 MOSTLYCLEANFILES += stdint.h stdint.h-t
769 EXTRA_DIST += stdint.in.h
771 ## end   gnulib module stdint
773 ## begin gnulib module stdio
775 BUILT_SOURCES += stdio.h
777 # We need the following in order to create <stdio.h> when the system
778 # doesn't have one that works with the given compiler.
779 stdio.h: stdio.in.h
780         rm -f $@-t $@
781         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
782           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
783               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
784               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
785               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
786               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
787               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
788               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
789               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
790               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|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               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
798               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
799               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
800               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
801               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
802               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
803               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
804               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
805               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
806               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
807               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
808               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
809               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
810               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
811               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
812               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
813               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
814               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
815               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
816               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
817               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
818               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
819               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
820               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
821               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
822               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
823               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
824               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
825               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
826               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
827               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
828               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
829               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
830               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
831               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
832               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
833               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
834               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
835               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
836               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
837               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
838               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
839               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
840               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
841               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
842               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
843               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
844               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
845               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
846               < $(srcdir)/stdio.in.h; \
847         } > $@-t
848         mv $@-t $@
849 MOSTLYCLEANFILES += stdio.h stdio.h-t
851 EXTRA_DIST += stdio-write.c stdio.in.h
853 EXTRA_libgnu_a_SOURCES += stdio-write.c
855 ## end   gnulib module stdio
857 ## begin gnulib module stdlib
859 BUILT_SOURCES += stdlib.h
861 # We need the following in order to create <stdlib.h> when the system
862 # doesn't have one that works with the given compiler.
863 stdlib.h: stdlib.in.h
864         rm -f $@-t $@
865         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
866           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
867               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
868               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
869               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
870               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
871               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
872               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
873               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
874               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
875               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
876               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
877               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
878               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
879               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
880               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
881               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
882               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
883               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
884               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
885               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
886               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
887               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
888               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
889               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
890               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
891               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
892               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
893               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
894               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
895               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
896               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
897               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
898               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
899               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
900               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
901               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
902               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
903               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
904               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
905               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
906               < $(srcdir)/stdlib.in.h; \
907         } > $@-t
908         mv $@-t $@
909 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
911 EXTRA_DIST += stdlib.in.h
913 ## end   gnulib module stdlib
915 ## begin gnulib module streq
918 EXTRA_DIST += streq.h
920 ## end   gnulib module streq
922 ## begin gnulib module strerror
925 EXTRA_DIST += strerror.c
927 EXTRA_libgnu_a_SOURCES += strerror.c
929 ## end   gnulib module strerror
931 ## begin gnulib module string
933 BUILT_SOURCES += string.h
935 # We need the following in order to create <string.h> when the system
936 # doesn't have one that works with the given compiler.
937 string.h: string.in.h
938         rm -f $@-t $@
939         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
940           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
941               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
942               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
943               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
944               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
945               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
946               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
947               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
948               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
949               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
950               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
951               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
952               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
953               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
954               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
955               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
956               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
957               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
958               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
959               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
960               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
961               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
962               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
963               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
964               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
965               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
966               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
967               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
968               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
969               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
970               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
971               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
972               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
973               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
974               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
975               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
976               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
977               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
978               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
979               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
980               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
981               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
982               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
983               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
984               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
985               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
986               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
987               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
988               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
989               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
990               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
991               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
992               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
993               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
994               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
995               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
996               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
997               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
998               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
999               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1000               < $(srcdir)/string.in.h; \
1001         } > $@-t
1002         mv $@-t $@
1003 MOSTLYCLEANFILES += string.h string.h-t
1005 EXTRA_DIST += string.in.h
1007 ## end   gnulib module string
1009 ## begin gnulib module strndup
1012 EXTRA_DIST += strndup.c
1014 EXTRA_libgnu_a_SOURCES += strndup.c
1016 ## end   gnulib module strndup
1018 ## begin gnulib module strnlen
1021 EXTRA_DIST += strnlen.c
1023 EXTRA_libgnu_a_SOURCES += strnlen.c
1025 ## end   gnulib module strnlen
1027 ## begin gnulib module sys_socket
1029 BUILT_SOURCES += $(SYS_SOCKET_H)
1031 # We need the following in order to create <sys/socket.h> when the system
1032 # doesn't have one that works with the given compiler.
1033 sys/socket.h: sys_socket.in.h
1034         @MKDIR_P@ sys
1035         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1036           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1037               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1038               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1039               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1040               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1041               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1042               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1043               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1044               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1045               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1046               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1047               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1048               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1049               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1050               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1051               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1052               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1053               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1054               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1055               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1056               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1057               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1058               < $(srcdir)/sys_socket.in.h; \
1059         } > $@-t
1060         mv -f $@-t $@
1061 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1062 MOSTLYCLEANDIRS += sys
1064 EXTRA_DIST += sys_socket.in.h
1066 ## end   gnulib module sys_socket
1068 ## begin gnulib module time
1070 BUILT_SOURCES += time.h
1072 # We need the following in order to create <time.h> when the system
1073 # doesn't have one that works with the given compiler.
1074 time.h: time.in.h
1075         rm -f $@-t $@
1076         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1077           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1078               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1079               -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1080               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1081               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1082               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1083               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1084               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1085               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1086               < $(srcdir)/time.in.h; \
1087         } > $@-t
1088         mv $@-t $@
1089 MOSTLYCLEANFILES += time.h time.h-t
1091 EXTRA_DIST += time.in.h
1093 ## end   gnulib module time
1095 ## begin gnulib module time_r
1098 EXTRA_DIST += time_r.c
1100 EXTRA_libgnu_a_SOURCES += time_r.c
1102 ## end   gnulib module time_r
1104 ## begin gnulib module timegm
1107 EXTRA_DIST += timegm.c
1109 EXTRA_libgnu_a_SOURCES += timegm.c
1111 ## end   gnulib module timegm
1113 ## begin gnulib module unistd
1115 BUILT_SOURCES += unistd.h
1117 # We need the following in order to create an empty placeholder for
1118 # <unistd.h> when the system doesn't have one.
1119 unistd.h: unistd.in.h
1120         rm -f $@-t $@
1121         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1122           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1123               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1124               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1125               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1126               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1127               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1128               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1129               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1130               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1131               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1132               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1133               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1134               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1135               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1136               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1137               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1138               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1139               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1140               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1141               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1142               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1143               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1144               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1145               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1146               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1147               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1148               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1149               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1150               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1151               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1152               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1153               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1154               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1155               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1156               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1157               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1158               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1159               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1160               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1161               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1162               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1163               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1164               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1165               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1166               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1167               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1168               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1169               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1170               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1171               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1172               < $(srcdir)/unistd.in.h; \
1173         } > $@-t
1174         mv $@-t $@
1175 MOSTLYCLEANFILES += unistd.h unistd.h-t
1177 EXTRA_DIST += unistd.in.h
1179 ## end   gnulib module unistd
1181 ## begin gnulib module unistd-safer
1184 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1186 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1188 ## end   gnulib module unistd-safer
1190 ## begin gnulib module vasnprintf
1193 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1195 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1197 ## end   gnulib module vasnprintf
1199 ## begin gnulib module vasprintf
1202 EXTRA_DIST += asprintf.c vasprintf.c
1204 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
1206 ## end   gnulib module vasprintf
1208 ## begin gnulib module verify
1210 libgnu_a_SOURCES += verify.h
1212 ## end   gnulib module verify
1214 ## begin gnulib module vsnprintf
1217 EXTRA_DIST += vsnprintf.c
1219 EXTRA_libgnu_a_SOURCES += vsnprintf.c
1221 ## end   gnulib module vsnprintf
1223 ## begin gnulib module wchar
1225 BUILT_SOURCES += $(WCHAR_H)
1227 # We need the following in order to create <wchar.h> when the system
1228 # version does not work standalone.
1229 wchar.h: wchar.in.h
1230         rm -f $@-t $@
1231         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1232           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1233               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1234               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1235               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1236               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1237               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1238               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1239               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1240               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1241               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1242               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1243               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1244               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1245               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1246               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1247               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1248               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1249               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1250               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1251               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1252               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1253               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1254               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1255               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1256               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1257               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1258               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1259               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1260               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1261               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1262               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1263               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1264               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1265               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1266               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1267               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1268               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1269               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1270               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1271             < $(srcdir)/wchar.in.h; \
1272         } > $@-t
1273         mv $@-t $@
1274 MOSTLYCLEANFILES += wchar.h wchar.h-t
1276 EXTRA_DIST += wchar.in.h
1278 ## end   gnulib module wchar
1280 ## begin gnulib module wcrtomb
1283 EXTRA_DIST += wcrtomb.c
1285 EXTRA_libgnu_a_SOURCES += wcrtomb.c
1287 ## end   gnulib module wcrtomb
1289 ## begin gnulib module wctype
1291 BUILT_SOURCES += $(WCTYPE_H)
1293 # We need the following in order to create <wctype.h> when the system
1294 # doesn't have one that works with the given compiler.
1295 wctype.h: wctype.in.h
1296         rm -f $@-t $@
1297         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1298           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1299               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1300               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1301               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1302               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1303               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1304               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1305               < $(srcdir)/wctype.in.h; \
1306         } > $@-t
1307         mv $@-t $@
1308 MOSTLYCLEANFILES += wctype.h wctype.h-t
1310 EXTRA_DIST += wctype.in.h
1312 ## end   gnulib module wctype
1314 ## begin gnulib module write
1317 EXTRA_DIST += write.c
1319 EXTRA_libgnu_a_SOURCES += write.c
1321 ## end   gnulib module write
1323 ## begin gnulib module xalloc
1326 EXTRA_DIST += xalloc.h xmalloc.c
1328 EXTRA_libgnu_a_SOURCES += xmalloc.c
1330 ## end   gnulib module xalloc
1332 ## begin gnulib module xalloc-die
1334 libgnu_a_SOURCES += xalloc-die.c
1336 ## end   gnulib module xalloc-die
1338 ## begin gnulib module xsize
1340 libgnu_a_SOURCES += xsize.h
1342 ## end   gnulib module xsize
1344 ## begin gnulib module xstrndup
1346 libgnu_a_SOURCES += xstrndup.h xstrndup.c
1348 ## end   gnulib module xstrndup
1351 mostlyclean-local: mostlyclean-generic
1352         @for dir in '' $(MOSTLYCLEANDIRS); do \
1353           if test -n "$$dir" && test -d $$dir; then \
1354             echo "rmdir $$dir"; rmdir $$dir; \
1355           fi; \
1356         done; \
1357         :