Code

1eefee9d65936c5a2332000ca03f31d612503a0a
[nagiosplug.git] / gl / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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 --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
28 AM_CPPFLAGS =
30 noinst_LIBRARIES += libgnu.a
32 libgnu_a_SOURCES =
33 libgnu_a_LIBADD = $(gl_LIBOBJS)
34 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libgnu_a_SOURCES =
37 ## begin gnulib module absolute-header
39 # Use this preprocessor expression to decide whether #include_next works.
40 # Do not rely on a 'configure'-time test for this, since the expression
41 # might appear in an installed header, which is used by some other compiler.
42 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
44 ## end   gnulib module absolute-header
46 ## begin gnulib module alloca
49 EXTRA_DIST += alloca.c
51 EXTRA_libgnu_a_SOURCES += alloca.c
53 libgnu_a_LIBADD += @ALLOCA@
54 libgnu_a_DEPENDENCIES += @ALLOCA@
55 ## end   gnulib module alloca
57 ## begin gnulib module alloca-opt
59 BUILT_SOURCES += $(ALLOCA_H)
61 # We need the following in order to create <alloca.h> when the system
62 # doesn't have one that works with the given compiler.
63 alloca.h: alloca.in.h
64         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65           cat $(srcdir)/alloca.in.h; \
66         } > $@-t
67         mv -f $@-t $@
68 MOSTLYCLEANFILES += alloca.h alloca.h-t
70 EXTRA_DIST += alloca.in.h
72 ## end   gnulib module alloca-opt
74 ## begin gnulib module arpa_inet
76 BUILT_SOURCES += $(ARPA_INET_H)
78 # We need the following in order to create <arpa/inet.h> when the system
79 # doesn't have one.
80 arpa/inet.h:
81         @MKDIR_P@ arpa
82         rm -f $@-t $@
83         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
84           echo '#include <sys/socket.h>'; \
85         } > $@-t
86         mv $@-t $@
87 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
88 MOSTLYCLEANDIRS += arpa
90 ## end   gnulib module arpa_inet
92 ## begin gnulib module base64
94 libgnu_a_SOURCES += base64.h base64.c
96 ## end   gnulib module base64
98 ## begin gnulib module c-strtod
101 EXTRA_DIST += c-strtod.c c-strtod.h
103 EXTRA_libgnu_a_SOURCES += c-strtod.c
105 ## end   gnulib module c-strtod
107 ## begin gnulib module cloexec
110 EXTRA_DIST += cloexec.c cloexec.h
112 EXTRA_libgnu_a_SOURCES += cloexec.c
114 ## end   gnulib module cloexec
116 ## begin gnulib module configmake
118 # Retrieve values of the variables through 'configure' followed by
119 # 'make', not directly through 'configure', so that a user who
120 # sets some of these variables consistently on the 'make' command
121 # line gets correct results.
123 # One advantage of this approach, compared to the classical
124 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
125 # is that it protects against the use of undefined variables.
126 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
127 # defined by this module, and code using LIBDIR gives a
128 # compilation error.
130 # Another advantage is that 'make' output is shorter.
132 # Listed in the same order as the GNU makefile conventions.
133 # The Automake-defined pkg* macros are appended, in the order
134 # listed in the Automake 1.10a+ documentation.
135 configmake.h: Makefile
136         rm -f $@-t $@
137         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
138           echo '#define PREFIX "$(prefix)"'; \
139           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
140           echo '#define BINDIR "$(bindir)"'; \
141           echo '#define SBINDIR "$(sbindir)"'; \
142           echo '#define LIBEXECDIR "$(libexecdir)"'; \
143           echo '#define DATAROOTDIR "$(datarootdir)"'; \
144           echo '#define DATADIR "$(datadir)"'; \
145           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
146           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
147           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
148           echo '#define INCLUDEDIR "$(includedir)"'; \
149           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
150           echo '#define DOCDIR "$(docdir)"'; \
151           echo '#define INFODIR "$(infodir)"'; \
152           echo '#define HTMLDIR "$(htmldir)"'; \
153           echo '#define DVIDIR "$(dvidir)"'; \
154           echo '#define PDFDIR "$(pdfdir)"'; \
155           echo '#define PSDIR "$(psdir)"'; \
156           echo '#define LIBDIR "$(libdir)"'; \
157           echo '#define LISPDIR "$(lispdir)"'; \
158           echo '#define LOCALEDIR "$(localedir)"'; \
159           echo '#define MANDIR "$(mandir)"'; \
160           echo '#define MANEXT "$(manext)"'; \
161           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
162           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
163           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
164           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
165         } | sed '/""/d' > $@-t
166         mv $@-t $@
167 BUILT_SOURCES += configmake.h
168 CLEANFILES += configmake.h configmake.h-t
170 ## end   gnulib module configmake
172 ## begin gnulib module dirname
175 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
177 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
179 ## end   gnulib module dirname
181 ## begin gnulib module error
184 EXTRA_DIST += error.c error.h
186 EXTRA_libgnu_a_SOURCES += error.c
188 ## end   gnulib module error
190 ## begin gnulib module exitfail
193 EXTRA_DIST += exitfail.c exitfail.h
195 EXTRA_libgnu_a_SOURCES += exitfail.c
197 ## end   gnulib module exitfail
199 ## begin gnulib module fcntl-safer
202 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
204 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
206 ## end   gnulib module fcntl-safer
208 ## begin gnulib module float
210 BUILT_SOURCES += $(FLOAT_H)
212 # We need the following in order to create <float.h> when the system
213 # doesn't have one that works with the given compiler.
214 float.h: float.in.h
215         rm -f $@-t $@
216         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
217           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
218               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
219               < $(srcdir)/float.in.h; \
220         } > $@-t
221         mv $@-t $@
222 MOSTLYCLEANFILES += float.h float.h-t
224 EXTRA_DIST += float.in.h
226 ## end   gnulib module float
228 ## begin gnulib module floorf
231 EXTRA_DIST += floor.c floorf.c
233 EXTRA_libgnu_a_SOURCES += floor.c floorf.c
235 ## end   gnulib module floorf
237 ## begin gnulib module fsusage
240 EXTRA_DIST += fsusage.c fsusage.h
242 EXTRA_libgnu_a_SOURCES += fsusage.c
244 ## end   gnulib module fsusage
246 ## begin gnulib module full-read
248 libgnu_a_SOURCES += full-read.h full-read.c
250 ## end   gnulib module full-read
252 ## begin gnulib module full-write
254 libgnu_a_SOURCES += full-write.h full-write.c
256 ## end   gnulib module full-write
258 ## begin gnulib module getaddrinfo
261 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
263 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
265 ## end   gnulib module getaddrinfo
267 ## begin gnulib module gethostname
270 EXTRA_DIST += gethostname.c
272 EXTRA_libgnu_a_SOURCES += gethostname.c
274 ## end   gnulib module gethostname
276 ## begin gnulib module getloadavg
279 EXTRA_DIST += getloadavg.c
281 EXTRA_libgnu_a_SOURCES += getloadavg.c
283 ## end   gnulib module getloadavg
285 ## begin gnulib module getopt
287 BUILT_SOURCES += $(GETOPT_H)
289 # We need the following in order to create <getopt.h> when the system
290 # doesn't have one that works with the given compiler.
291 getopt.h: getopt.in.h
292         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
293           cat $(srcdir)/getopt.in.h; \
294         } > $@-t
295         mv -f $@-t $@
296 MOSTLYCLEANFILES += getopt.h getopt.h-t
298 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
300 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
302 ## end   gnulib module getopt
304 ## begin gnulib module gettext
306 # This is for those projects which use "gettextize --intl" to put a source-code
307 # copy of libintl into their package. In such projects, every Makefile.am needs
308 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
309 # For the Makefile.ams in other directories it is the maintainer's
310 # responsibility; for the one from gnulib we do it here.
311 # This option has no effect when the user disables NLS (because then the intl
312 # directory contains no libintl.h file) or when the project does not use
313 # "gettextize --intl".
314 AM_CPPFLAGS += -I$(top_builddir)/intl
316 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
318 ## end   gnulib module gettext
320 ## begin gnulib module gettext-h
322 libgnu_a_SOURCES += gettext.h
324 ## end   gnulib module gettext-h
326 ## begin gnulib module havelib
329 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
331 ## end   gnulib module havelib
333 ## begin gnulib module inet_ntop
336 EXTRA_DIST += inet_ntop.c inet_ntop.h
338 EXTRA_libgnu_a_SOURCES += inet_ntop.c
340 ## end   gnulib module inet_ntop
342 ## begin gnulib module intprops
345 EXTRA_DIST += intprops.h
347 ## end   gnulib module intprops
349 ## begin gnulib module link-warning
351 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
353 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
355 ## end   gnulib module link-warning
357 ## begin gnulib module localcharset
359 libgnu_a_SOURCES += localcharset.h localcharset.c
361 # We need the following in order to install a simple file in $(libdir)
362 # which is shared with other installed packages. We use a list of referencing
363 # packages so that "make uninstall" will remove the file if and only if it
364 # is not used by another installed package.
365 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
366 # avoid installing it.
368 all-local: charset.alias ref-add.sed ref-del.sed
370 charset_alias = $(DESTDIR)$(libdir)/charset.alias
371 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
372 install-exec-local: all-local
373         test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
374         if test -f $(charset_alias); then \
375           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
376           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
377           rm -f $(charset_tmp) ; \
378         else \
379           if test $(GLIBC21) = no; then \
380             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
381             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
382             rm -f $(charset_tmp) ; \
383           fi ; \
384         fi
386 uninstall-local: all-local
387         if test -f $(charset_alias); then \
388           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
389           if grep '^# Packages using this file: $$' $(charset_tmp) \
390               > /dev/null; then \
391             rm -f $(charset_alias); \
392           else \
393             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
394           fi; \
395           rm -f $(charset_tmp); \
396         fi
398 charset.alias: config.charset
399         rm -f t-$@ $@
400         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
401         mv t-$@ $@
403 SUFFIXES += .sed .sin
404 .sin.sed:
405         rm -f t-$@ $@
406         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
407         mv t-$@ $@
409 CLEANFILES += charset.alias ref-add.sed ref-del.sed
411 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
413 ## end   gnulib module localcharset
415 ## begin gnulib module malloc
418 EXTRA_DIST += malloc.c
420 EXTRA_libgnu_a_SOURCES += malloc.c
422 ## end   gnulib module malloc
424 ## begin gnulib module malloc-posix
427 EXTRA_DIST += malloc.c
429 EXTRA_libgnu_a_SOURCES += malloc.c
431 ## end   gnulib module malloc-posix
433 ## begin gnulib module math
435 BUILT_SOURCES += math.h
437 # We need the following in order to create <math.h> when the system
438 # doesn't have one that works with the given compiler.
439 math.h: math.in.h
440         rm -f $@-t $@
441         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
442           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
443               -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
444               -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
445               -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
446               -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
447               -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
448               -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
449               -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
450               -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
451               -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
452               -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
453               -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
454               -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
455               -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
456               -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
457               -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
458               -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
459               -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
460               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
461               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
462               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
463               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
464               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
465               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
466               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
467               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
468               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
469               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
470               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
471               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
472               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
473               -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
474               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
475               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
476               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
477               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
478               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
479               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
480               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
481               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
482               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
483               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
484               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
485               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
486               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
487               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
488               < $(srcdir)/math.in.h; \
489         } > $@-t
490         mv $@-t $@
491 MOSTLYCLEANFILES += math.h math.h-t
493 EXTRA_DIST += math.in.h
495 ## end   gnulib module math
497 ## begin gnulib module mountlist
500 EXTRA_DIST += mountlist.c mountlist.h
502 EXTRA_libgnu_a_SOURCES += mountlist.c
504 ## end   gnulib module mountlist
506 ## begin gnulib module netinet_in
508 BUILT_SOURCES += $(NETINET_IN_H)
510 # We need the following in order to create <netinet/in.h> when the system
511 # doesn't have one.
512 netinet/in.h: netinet_in.in.h
513         @MKDIR_P@ netinet
514         rm -f $@-t $@
515         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
516           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
517               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
518               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
519               < $(srcdir)/netinet_in.in.h; \
520         } > $@-t
521         mv $@-t $@
522 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
523 MOSTLYCLEANDIRS += netinet
525 EXTRA_DIST += netinet_in.in.h
527 ## end   gnulib module netinet_in
529 ## begin gnulib module regex
532 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
534 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
536 ## end   gnulib module regex
538 ## begin gnulib module safe-read
541 EXTRA_DIST += safe-read.c safe-read.h
543 EXTRA_libgnu_a_SOURCES += safe-read.c
545 ## end   gnulib module safe-read
547 ## begin gnulib module safe-write
550 EXTRA_DIST += safe-write.c safe-write.h
552 EXTRA_libgnu_a_SOURCES += safe-write.c
554 ## end   gnulib module safe-write
556 ## begin gnulib module size_max
558 libgnu_a_SOURCES += size_max.h
560 ## end   gnulib module size_max
562 ## begin gnulib module snprintf
565 EXTRA_DIST += snprintf.c
567 EXTRA_libgnu_a_SOURCES += snprintf.c
569 ## end   gnulib module snprintf
571 ## begin gnulib module stdbool
573 BUILT_SOURCES += $(STDBOOL_H)
575 # We need the following in order to create <stdbool.h> when the system
576 # doesn't have one that works.
577 stdbool.h: stdbool.in.h
578         rm -f $@-t $@
579         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
580           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
581         } > $@-t
582         mv $@-t $@
583 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
585 EXTRA_DIST += stdbool.in.h
587 ## end   gnulib module stdbool
589 ## begin gnulib module stdint
591 BUILT_SOURCES += $(STDINT_H)
593 # We need the following in order to create <stdint.h> when the system
594 # doesn't have one that works with the given compiler.
595 stdint.h: stdint.in.h
596         rm -f $@-t $@
597         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
598           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
599               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
600               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
601               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
602               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
603               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
604               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
605               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
606               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
607               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
608               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
609               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
610               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
611               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
612               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
613               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
614               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
615               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
616               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
617               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
618               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
619               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
620               < $(srcdir)/stdint.in.h; \
621         } > $@-t
622         mv $@-t $@
623 MOSTLYCLEANFILES += stdint.h stdint.h-t
625 EXTRA_DIST += stdint.in.h
627 ## end   gnulib module stdint
629 ## begin gnulib module stdio
631 BUILT_SOURCES += stdio.h
633 # We need the following in order to create <stdio.h> when the system
634 # doesn't have one that works with the given compiler.
635 stdio.h: stdio.in.h
636         rm -f $@-t $@
637         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
638           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
639               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
640               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
641               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
642               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
643               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
644               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
645               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
646               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
647               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
648               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
649               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
650               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
651               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
652               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
653               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
654               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
655               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
656               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
657               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
658               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
659               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
660               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
661               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
662               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
663               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
664               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
665               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
666               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
667               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
668               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
669               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
670               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
671               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
672               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
673               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
674               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
675               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
676               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
677               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
678               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
679               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
680               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
681               < $(srcdir)/stdio.in.h; \
682         } > $@-t
683         mv $@-t $@
684 MOSTLYCLEANFILES += stdio.h stdio.h-t
686 EXTRA_DIST += stdio.in.h
688 ## end   gnulib module stdio
690 ## begin gnulib module stdlib
692 BUILT_SOURCES += stdlib.h
694 # We need the following in order to create <stdlib.h> when the system
695 # doesn't have one that works with the given compiler.
696 stdlib.h: stdlib.in.h
697         rm -f $@-t $@
698         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
699           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
700               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
701               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
702               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
703               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
704               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
705               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
706               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
707               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
708               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
709               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
710               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
711               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
712               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
713               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
714               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
715               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
716               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
717               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
718               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
719               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
720               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
721               < $(srcdir)/stdlib.in.h; \
722         } > $@-t
723         mv $@-t $@
724 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
726 EXTRA_DIST += stdlib.in.h
728 ## end   gnulib module stdlib
730 ## begin gnulib module strdup
733 EXTRA_DIST += strdup.c
735 EXTRA_libgnu_a_SOURCES += strdup.c
737 ## end   gnulib module strdup
739 ## begin gnulib module strerror
742 EXTRA_DIST += strerror.c
744 EXTRA_libgnu_a_SOURCES += strerror.c
746 ## end   gnulib module strerror
748 ## begin gnulib module string
750 BUILT_SOURCES += string.h
752 # We need the following in order to create <string.h> when the system
753 # doesn't have one that works with the given compiler.
754 string.h: string.in.h
755         rm -f $@-t $@
756         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
757           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
758               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
759               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
760               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
761               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
762               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
763               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
764               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
765               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
766               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
767               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
768               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
769               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
770               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
771               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
772               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
773               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
774               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
775               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
776               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
777               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
778               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
779               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
780               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
781               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
782               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
783               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
784               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
785               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
786               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
787               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
788               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
789               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
790               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
791               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
792               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
793               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
794               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
795               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
796               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
797               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
798               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
799               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
800               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
801               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
802               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
803               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
804               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
805               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
806               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
807               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
808               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
809               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
810               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
811               < $(srcdir)/string.in.h; \
812         } > $@-t
813         mv $@-t $@
814 MOSTLYCLEANFILES += string.h string.h-t
816 EXTRA_DIST += string.in.h
818 ## end   gnulib module string
820 ## begin gnulib module strndup
823 EXTRA_DIST += strndup.c
825 EXTRA_libgnu_a_SOURCES += strndup.c
827 ## end   gnulib module strndup
829 ## begin gnulib module strnlen
832 EXTRA_DIST += strnlen.c
834 EXTRA_libgnu_a_SOURCES += strnlen.c
836 ## end   gnulib module strnlen
838 ## begin gnulib module sys_socket
840 BUILT_SOURCES += $(SYS_SOCKET_H)
842 # We need the following in order to create <sys/socket.h> when the system
843 # doesn't have one that works with the given compiler.
844 sys/socket.h: sys_socket.in.h
845         @MKDIR_P@ sys
846         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
847           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
848               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
849               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
850               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
851               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
852               < $(srcdir)/sys_socket.in.h; \
853         } > $@-t
854         mv -f $@-t $@
855 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
856 MOSTLYCLEANDIRS += sys
858 EXTRA_DIST += sys_socket.in.h
860 ## end   gnulib module sys_socket
862 ## begin gnulib module unistd
864 BUILT_SOURCES += unistd.h
866 # We need the following in order to create an empty placeholder for
867 # <unistd.h> when the system doesn't have one.
868 unistd.h: unistd.in.h
869         rm -f $@-t $@
870         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
871           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
872               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
873               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
874               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
875               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
876               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
877               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
878               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
879               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
880               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
881               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
882               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
883               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
884               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
885               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
886               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
887               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
888               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
889               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
890               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
891               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
892               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
893               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
894               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
895               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
896               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
897               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
898               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
899               < $(srcdir)/unistd.in.h; \
900         } > $@-t
901         mv $@-t $@
902 MOSTLYCLEANFILES += unistd.h unistd.h-t
904 EXTRA_DIST += unistd.in.h
906 ## end   gnulib module unistd
908 ## begin gnulib module unistd-safer
911 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
913 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
915 ## end   gnulib module unistd-safer
917 ## begin gnulib module vasnprintf
920 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
922 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
924 ## end   gnulib module vasnprintf
926 ## begin gnulib module vasprintf
929 EXTRA_DIST += asprintf.c vasprintf.c
931 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
933 ## end   gnulib module vasprintf
935 ## begin gnulib module vsnprintf
938 EXTRA_DIST += vsnprintf.c
940 EXTRA_libgnu_a_SOURCES += vsnprintf.c
942 ## end   gnulib module vsnprintf
944 ## begin gnulib module wchar
946 BUILT_SOURCES += $(WCHAR_H)
948 # We need the following in order to create <wchar.h> when the system
949 # version does not work standalone.
950 wchar.h: wchar.in.h
951         rm -f $@-t $@
952         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
953           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
954               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
955               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
956               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
957               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
958               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
959               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
960             < $(srcdir)/wchar.in.h; \
961         } > $@-t
962         mv $@-t $@
963 MOSTLYCLEANFILES += wchar.h wchar.h-t
965 EXTRA_DIST += wchar.in.h
967 ## end   gnulib module wchar
969 ## begin gnulib module wctype
971 BUILT_SOURCES += $(WCTYPE_H)
973 # We need the following in order to create <wctype.h> when the system
974 # doesn't have one that works with the given compiler.
975 wctype.h: wctype.in.h
976         rm -f $@-t $@
977         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
978           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
979               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
980               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
981               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
982               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
983               < $(srcdir)/wctype.in.h; \
984         } > $@-t
985         mv $@-t $@
986 MOSTLYCLEANFILES += wctype.h wctype.h-t
988 EXTRA_DIST += wctype.in.h
990 ## end   gnulib module wctype
992 ## begin gnulib module xalloc
995 EXTRA_DIST += xalloc.h xmalloc.c
997 EXTRA_libgnu_a_SOURCES += xmalloc.c
999 ## end   gnulib module xalloc
1001 ## begin gnulib module xalloc-die
1003 libgnu_a_SOURCES += xalloc-die.c
1005 ## end   gnulib module xalloc-die
1007 ## begin gnulib module xsize
1009 libgnu_a_SOURCES += xsize.h
1011 ## end   gnulib module xsize
1013 ## begin gnulib module xstrndup
1015 libgnu_a_SOURCES += xstrndup.h xstrndup.c
1017 ## end   gnulib module xstrndup
1020 mostlyclean-local: mostlyclean-generic
1021         @for dir in '' $(MOSTLYCLEANDIRS); do \
1022           if test -n "$$dir" && test -d $$dir; then \
1023             echo "rmdir $$dir"; rmdir $$dir; \
1024           fi; \
1025         done; \
1026         :