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.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=config/gnulib --doc-base=doc --tests-base=tests --aux-dir=config --libtool --macro-prefix=gl base64 fseeko fsusage ftello ftruncate full-read full-write getaddrinfo getopt lock lseek mkdtemp physmem regex visibility
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
31 AM_CFLAGS = -Wno-error -Wno-sign-compare
34 noinst_LTLIBRARIES += libgnu.la
37 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
38 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
39 EXTRA_libgnu_la_SOURCES =
40 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
42 ## begin gnulib module alloca
45 EXTRA_DIST += alloca.c
47 EXTRA_libgnu_la_SOURCES += alloca.c
49 libgnu_la_LIBADD += @LTALLOCA@
50 libgnu_la_DEPENDENCIES += @LTALLOCA@
51 ## end gnulib module alloca
53 ## begin gnulib module alloca-opt
55 BUILT_SOURCES += $(ALLOCA_H)
57 # We need the following in order to create <alloca.h> when the system
58 # doesn't have one that works with the given compiler.
60 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
61 cat $(srcdir)/alloca.in.h; \
64 MOSTLYCLEANFILES += alloca.h alloca.h-t
66 EXTRA_DIST += alloca.in.h
68 ## end gnulib module alloca-opt
70 ## begin gnulib module arpa_inet
72 BUILT_SOURCES += $(ARPA_INET_H)
74 # We need the following in order to create <arpa/inet.h> when the system
79 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
80 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
81 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
82 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
83 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
84 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
85 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
86 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
87 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
88 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
89 < $(srcdir)/arpa_inet.in.h; \
92 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
93 MOSTLYCLEANDIRS += arpa
95 EXTRA_DIST += arpa_inet.in.h
97 ## end gnulib module arpa_inet
99 ## begin gnulib module base64
101 libgnu_la_SOURCES += base64.h base64.c
103 ## end gnulib module base64
105 ## begin gnulib module btowc
108 EXTRA_DIST += btowc.c
110 EXTRA_libgnu_la_SOURCES += btowc.c
112 ## end gnulib module btowc
114 ## begin gnulib module configmake
116 # Retrieve values of the variables through 'configure' followed by
117 # 'make', not directly through 'configure', so that a user who
118 # sets some of these variables consistently on the 'make' command
119 # line gets correct results.
121 # One advantage of this approach, compared to the classical
122 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
123 # is that it protects against the use of undefined variables.
124 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
125 # defined by this module, and code using LIBDIR gives a
128 # Another advantage is that 'make' output is shorter.
130 # Listed in the same order as the GNU makefile conventions.
131 # The Automake-defined pkg* macros are appended, in the order
132 # listed in the Automake 1.10a+ documentation.
133 configmake.h: Makefile
135 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
136 echo '#define PREFIX "$(prefix)"'; \
137 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
138 echo '#define BINDIR "$(bindir)"'; \
139 echo '#define SBINDIR "$(sbindir)"'; \
140 echo '#define LIBEXECDIR "$(libexecdir)"'; \
141 echo '#define DATAROOTDIR "$(datarootdir)"'; \
142 echo '#define DATADIR "$(datadir)"'; \
143 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
144 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
145 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
146 echo '#define INCLUDEDIR "$(includedir)"'; \
147 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
148 echo '#define DOCDIR "$(docdir)"'; \
149 echo '#define INFODIR "$(infodir)"'; \
150 echo '#define HTMLDIR "$(htmldir)"'; \
151 echo '#define DVIDIR "$(dvidir)"'; \
152 echo '#define PDFDIR "$(pdfdir)"'; \
153 echo '#define PSDIR "$(psdir)"'; \
154 echo '#define LIBDIR "$(libdir)"'; \
155 echo '#define LISPDIR "$(lispdir)"'; \
156 echo '#define LOCALEDIR "$(localedir)"'; \
157 echo '#define MANDIR "$(mandir)"'; \
158 echo '#define MANEXT "$(manext)"'; \
159 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
160 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
161 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
162 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
163 } | sed '/""/d' > $@-t
165 BUILT_SOURCES += configmake.h
166 CLEANFILES += configmake.h configmake.h-t
168 ## end gnulib module configmake
170 ## begin gnulib module errno
172 BUILT_SOURCES += $(ERRNO_H)
174 # We need the following in order to create <errno.h> when the system
175 # doesn't have one that is POSIX compliant.
178 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
179 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
180 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
181 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
182 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
183 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
184 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
185 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
186 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
187 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
188 < $(srcdir)/errno.in.h; \
191 MOSTLYCLEANFILES += errno.h errno.h-t
193 EXTRA_DIST += errno.in.h
195 ## end gnulib module errno
197 ## begin gnulib module float
199 BUILT_SOURCES += $(FLOAT_H)
201 # We need the following in order to create <float.h> when the system
202 # doesn't have one that works with the given compiler.
205 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
206 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
207 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
208 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
209 < $(srcdir)/float.in.h; \
212 MOSTLYCLEANFILES += float.h float.h-t
214 EXTRA_DIST += float.in.h
216 ## end gnulib module float
218 ## begin gnulib module fseeko
221 EXTRA_DIST += fseeko.c stdio-impl.h
223 EXTRA_libgnu_la_SOURCES += fseeko.c
225 ## end gnulib module fseeko
227 ## begin gnulib module fsusage
230 EXTRA_DIST += fsusage.c fsusage.h
232 EXTRA_libgnu_la_SOURCES += fsusage.c
234 ## end gnulib module fsusage
236 ## begin gnulib module ftello
239 EXTRA_DIST += ftello.c
241 EXTRA_libgnu_la_SOURCES += ftello.c
243 ## end gnulib module ftello
245 ## begin gnulib module ftruncate
248 EXTRA_DIST += ftruncate.c
250 EXTRA_libgnu_la_SOURCES += ftruncate.c
252 ## end gnulib module ftruncate
254 ## begin gnulib module full-read
256 libgnu_la_SOURCES += full-read.h full-read.c
258 ## end gnulib module full-read
260 ## begin gnulib module full-write
262 libgnu_la_SOURCES += full-write.h full-write.c
264 ## end gnulib module full-write
266 ## begin gnulib module getaddrinfo
269 EXTRA_DIST += gai_strerror.c getaddrinfo.c
271 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
273 ## end gnulib module getaddrinfo
275 ## begin gnulib module getopt
277 BUILT_SOURCES += $(GETOPT_H)
279 # We need the following in order to create <getopt.h> when the system
280 # doesn't have one that works with the given compiler.
281 getopt.h: getopt.in.h
282 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
283 cat $(srcdir)/getopt.in.h; \
286 MOSTLYCLEANFILES += getopt.h getopt.h-t
288 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
290 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
292 ## end gnulib module getopt
294 ## begin gnulib module gettext-h
296 libgnu_la_SOURCES += gettext.h
298 ## end gnulib module gettext-h
300 ## begin gnulib module gettimeofday
303 EXTRA_DIST += gettimeofday.c
305 EXTRA_libgnu_la_SOURCES += gettimeofday.c
307 ## end gnulib module gettimeofday
309 ## begin gnulib module havelib
312 EXTRA_DIST += $(top_srcdir)/config/config.rpath
314 ## end gnulib module havelib
316 ## begin gnulib module inet_ntop
319 EXTRA_DIST += inet_ntop.c
321 EXTRA_libgnu_la_SOURCES += inet_ntop.c
323 ## end gnulib module inet_ntop
325 ## begin gnulib module link-warning
327 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
329 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
331 ## end gnulib module link-warning
333 ## begin gnulib module localcharset
335 libgnu_la_SOURCES += localcharset.h localcharset.c
337 # We need the following in order to install a simple file in $(libdir)
338 # which is shared with other installed packages. We use a list of referencing
339 # packages so that "make uninstall" will remove the file if and only if it
340 # is not used by another installed package.
341 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
342 # avoid installing it.
344 all-local: charset.alias ref-add.sed ref-del.sed
346 charset_alias = $(DESTDIR)$(libdir)/charset.alias
347 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
348 install-exec-local: all-local
349 if test $(GLIBC21) = no; then \
350 case '$(host_os)' in \
352 need_charset_alias=true ;; \
353 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
354 need_charset_alias=false ;; \
356 need_charset_alias=true ;; \
359 need_charset_alias=false ; \
361 if $$need_charset_alias; then \
362 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
364 if test -f $(charset_alias); then \
365 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
366 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
367 rm -f $(charset_tmp) ; \
369 if $$need_charset_alias; then \
370 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
371 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
372 rm -f $(charset_tmp) ; \
376 uninstall-local: all-local
377 if test -f $(charset_alias); then \
378 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
379 if grep '^# Packages using this file: $$' $(charset_tmp) \
381 rm -f $(charset_alias); \
383 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
385 rm -f $(charset_tmp); \
388 charset.alias: config.charset
390 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
393 SUFFIXES += .sed .sin
396 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
399 CLEANFILES += charset.alias ref-add.sed ref-del.sed
401 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
403 ## end gnulib module localcharset
405 ## begin gnulib module lock
407 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
409 ## end gnulib module lock
411 ## begin gnulib module lseek
414 EXTRA_DIST += lseek.c
416 EXTRA_libgnu_la_SOURCES += lseek.c
418 ## end gnulib module lseek
420 ## begin gnulib module lstat
423 EXTRA_DIST += lstat.c
425 EXTRA_libgnu_la_SOURCES += lstat.c
427 ## end gnulib module lstat
429 ## begin gnulib module malloc
432 EXTRA_DIST += malloc.c
434 EXTRA_libgnu_la_SOURCES += malloc.c
436 ## end gnulib module malloc
438 ## begin gnulib module malloc-posix
441 EXTRA_DIST += malloc.c
443 EXTRA_libgnu_la_SOURCES += malloc.c
445 ## end gnulib module malloc-posix
447 ## begin gnulib module mbrtowc
450 EXTRA_DIST += mbrtowc.c
452 EXTRA_libgnu_la_SOURCES += mbrtowc.c
454 ## end gnulib module mbrtowc
456 ## begin gnulib module mbsinit
459 EXTRA_DIST += mbsinit.c
461 EXTRA_libgnu_la_SOURCES += mbsinit.c
463 ## end gnulib module mbsinit
465 ## begin gnulib module mkdtemp
468 EXTRA_DIST += mkdtemp.c
470 EXTRA_libgnu_la_SOURCES += mkdtemp.c
472 ## end gnulib module mkdtemp
474 ## begin gnulib module netdb
476 BUILT_SOURCES += $(NETDB_H)
478 # We need the following in order to create <netdb.h> when the system
479 # doesn't have one that works with the given compiler.
482 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
483 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
484 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
485 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
486 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
487 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
488 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
489 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
490 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
491 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
492 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
493 < $(srcdir)/netdb.in.h; \
496 MOSTLYCLEANFILES += netdb.h netdb.h-t
498 EXTRA_DIST += netdb.in.h
500 ## end gnulib module netdb
502 ## begin gnulib module netinet_in
504 BUILT_SOURCES += $(NETINET_IN_H)
506 # We need the following in order to create <netinet/in.h> when the system
508 netinet/in.h: netinet_in.in.h
511 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
512 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
513 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
514 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
515 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
516 < $(srcdir)/netinet_in.in.h; \
519 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
520 MOSTLYCLEANDIRS += netinet
522 EXTRA_DIST += netinet_in.in.h
524 ## end gnulib module netinet_in
526 ## begin gnulib module physmem
529 EXTRA_DIST += physmem.c physmem.h
531 EXTRA_libgnu_la_SOURCES += physmem.c
533 ## end gnulib module physmem
535 ## begin gnulib module regex
538 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
540 EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
542 ## end gnulib module regex
544 ## begin gnulib module safe-read
547 EXTRA_DIST += safe-read.c safe-read.h
549 EXTRA_libgnu_la_SOURCES += safe-read.c
551 ## end gnulib module safe-read
553 ## begin gnulib module safe-write
556 EXTRA_DIST += safe-write.c safe-write.h
558 EXTRA_libgnu_la_SOURCES += safe-write.c
560 ## end gnulib module safe-write
562 ## begin gnulib module size_max
564 libgnu_la_SOURCES += size_max.h
566 ## end gnulib module size_max
568 ## begin gnulib module snprintf
571 EXTRA_DIST += snprintf.c
573 EXTRA_libgnu_la_SOURCES += snprintf.c
575 ## end gnulib module snprintf
577 ## begin gnulib module stdbool
579 BUILT_SOURCES += $(STDBOOL_H)
581 # We need the following in order to create <stdbool.h> when the system
582 # doesn't have one that works.
583 stdbool.h: stdbool.in.h
585 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
586 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
589 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
591 EXTRA_DIST += stdbool.in.h
593 ## end gnulib module stdbool
595 ## begin gnulib module stdint
597 BUILT_SOURCES += $(STDINT_H)
599 # We need the following in order to create <stdint.h> when the system
600 # doesn't have one that works with the given compiler.
601 stdint.h: stdint.in.h
603 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
604 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
605 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
606 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
607 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
608 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
609 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
610 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
611 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
612 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
613 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
614 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
615 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
616 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
617 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
618 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
619 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
620 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
621 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
622 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
623 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
624 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
625 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
626 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
627 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
628 < $(srcdir)/stdint.in.h; \
631 MOSTLYCLEANFILES += stdint.h stdint.h-t
633 EXTRA_DIST += stdint.in.h
635 ## end gnulib module stdint
637 ## begin gnulib module stdio
639 BUILT_SOURCES += stdio.h
641 # We need the following in order to create <stdio.h> when the system
642 # doesn't have one that works with the given compiler.
645 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
646 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
647 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
648 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
649 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
650 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
651 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
652 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
653 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
654 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
655 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
656 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
657 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
658 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
659 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
660 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
661 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
662 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
663 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
664 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
665 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
666 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
667 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
668 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
669 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
670 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
671 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
672 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
673 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
674 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
675 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
676 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
677 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
678 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
679 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
680 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
681 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
682 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
683 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
684 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
685 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
686 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
687 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
688 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
689 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
690 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
691 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
692 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
693 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
694 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
695 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
696 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
697 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
698 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
699 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
700 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
701 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
702 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
703 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
704 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
705 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
706 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
707 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
708 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
709 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
710 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
711 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
712 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
713 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
714 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
715 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
716 < $(srcdir)/stdio.in.h; \
719 MOSTLYCLEANFILES += stdio.h stdio.h-t
721 EXTRA_DIST += stdio-write.c stdio.in.h
723 EXTRA_libgnu_la_SOURCES += stdio-write.c
725 ## end gnulib module stdio
727 ## begin gnulib module stdlib
729 BUILT_SOURCES += stdlib.h
731 # We need the following in order to create <stdlib.h> when the system
732 # doesn't have one that works with the given compiler.
733 stdlib.h: stdlib.in.h
735 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
736 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
737 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
738 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
739 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
740 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
741 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
742 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
743 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
744 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
745 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
746 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
747 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
748 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
749 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
750 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
751 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
752 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
753 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
754 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
755 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
756 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
757 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
758 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
759 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
760 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
761 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
762 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
763 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
764 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
765 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
766 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
767 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
768 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
769 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
770 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
771 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
772 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
773 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
774 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
775 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
776 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
777 < $(srcdir)/stdlib.in.h; \
780 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
782 EXTRA_DIST += stdlib.in.h
784 ## end gnulib module stdlib
786 ## begin gnulib module streq
789 EXTRA_DIST += streq.h
791 ## end gnulib module streq
793 ## begin gnulib module sys_socket
795 BUILT_SOURCES += $(SYS_SOCKET_H)
797 # We need the following in order to create <sys/socket.h> when the system
798 # doesn't have one that works with the given compiler.
799 sys/socket.h: sys_socket.in.h
801 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
802 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
803 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
804 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
805 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
806 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
807 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
808 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
809 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
810 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
811 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
812 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
813 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
814 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
815 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
816 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
817 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
818 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
819 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
820 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
821 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
822 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
823 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
824 < $(srcdir)/sys_socket.in.h; \
827 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
828 MOSTLYCLEANDIRS += sys
830 EXTRA_DIST += sys_socket.in.h
832 ## end gnulib module sys_socket
834 ## begin gnulib module sys_stat
836 BUILT_SOURCES += $(SYS_STAT_H)
838 # We need the following in order to create <sys/stat.h> when the system
839 # has one that is incomplete.
840 sys/stat.h: sys_stat.in.h
843 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
844 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
845 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
846 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
847 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
848 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
849 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
850 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
851 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
852 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
853 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
854 < $(srcdir)/sys_stat.in.h; \
857 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
858 MOSTLYCLEANDIRS += sys
860 EXTRA_DIST += sys_stat.in.h
862 ## end gnulib module sys_stat
864 ## begin gnulib module sys_time
866 BUILT_SOURCES += $(SYS_TIME_H)
868 # We need the following in order to create <sys/time.h> when the system
869 # doesn't have one that works with the given compiler.
870 sys/time.h: sys_time.in.h
873 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
874 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
875 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
876 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
877 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
878 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
879 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
880 < $(srcdir)/sys_time.in.h; \
883 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
885 EXTRA_DIST += sys_time.in.h
887 ## end gnulib module sys_time
889 ## begin gnulib module tempname
892 EXTRA_DIST += tempname.c tempname.h
894 EXTRA_libgnu_la_SOURCES += tempname.c
896 ## end gnulib module tempname
898 ## begin gnulib module threadlib
900 libgnu_la_SOURCES += glthread/threadlib.c
902 EXTRA_DIST += $(top_srcdir)/config/config.rpath
904 ## end gnulib module threadlib
906 ## begin gnulib module unistd
908 BUILT_SOURCES += unistd.h
910 # We need the following in order to create an empty placeholder for
911 # <unistd.h> when the system doesn't have one.
912 unistd.h: unistd.in.h
914 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
915 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
916 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
917 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
918 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
919 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
920 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
921 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
922 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
923 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
924 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
925 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
926 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
927 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
928 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
929 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
930 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
931 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
932 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
933 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
934 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
935 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
936 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
937 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
938 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
939 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
940 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
941 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
942 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
943 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
944 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
945 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
946 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
947 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
948 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
949 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
950 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
951 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
952 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
953 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
954 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
955 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
956 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
957 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
958 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
959 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
960 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
961 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
962 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
963 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
964 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
965 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
966 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
967 < $(srcdir)/unistd.in.h; \
970 MOSTLYCLEANFILES += unistd.h unistd.h-t
972 EXTRA_DIST += unistd.in.h
974 ## end gnulib module unistd
976 ## begin gnulib module vasnprintf
979 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
981 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
983 ## end gnulib module vasnprintf
985 ## begin gnulib module verify
987 libgnu_la_SOURCES += verify.h
989 ## end gnulib module verify
991 ## begin gnulib module wchar
993 BUILT_SOURCES += $(WCHAR_H)
995 # We need the following in order to create <wchar.h> when the system
996 # version does not work standalone.
999 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1000 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1001 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1002 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1003 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1004 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1005 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1006 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1007 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1008 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1009 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1010 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1011 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1012 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1013 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1014 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1015 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1016 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1017 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1018 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1019 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1020 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1021 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1022 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1023 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1024 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1025 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1026 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1027 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1028 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1029 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1030 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1031 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1032 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1033 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1034 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1035 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1036 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1037 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1038 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1039 < $(srcdir)/wchar.in.h; \
1042 MOSTLYCLEANFILES += wchar.h wchar.h-t
1044 EXTRA_DIST += wchar.in.h
1046 ## end gnulib module wchar
1048 ## begin gnulib module wcrtomb
1051 EXTRA_DIST += wcrtomb.c
1053 EXTRA_libgnu_la_SOURCES += wcrtomb.c
1055 ## end gnulib module wcrtomb
1057 ## begin gnulib module wctype
1059 BUILT_SOURCES += $(WCTYPE_H)
1061 # We need the following in order to create <wctype.h> when the system
1062 # doesn't have one that works with the given compiler.
1063 wctype.h: wctype.in.h
1065 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1066 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1067 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1068 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1069 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1070 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1071 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1072 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1073 < $(srcdir)/wctype.in.h; \
1076 MOSTLYCLEANFILES += wctype.h wctype.h-t
1078 EXTRA_DIST += wctype.in.h
1080 ## end gnulib module wctype
1082 ## begin gnulib module write
1085 EXTRA_DIST += write.c
1087 EXTRA_libgnu_la_SOURCES += write.c
1089 ## end gnulib module write
1091 ## begin gnulib module xsize
1093 libgnu_la_SOURCES += xsize.h
1095 ## end gnulib module xsize
1098 mostlyclean-local: mostlyclean-generic
1099 @for dir in '' $(MOSTLYCLEANDIRS); do \
1100 if test -n "$$dir" && test -d $$dir; then \
1101 echo "rmdir $$dir"; rmdir $$dir; \
1106 # Make sure regenerate/* are in the distribution tarball
1107 EXTRA_DIST += regenerate/no-error.patch regenerate/regenerate