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=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl --no-vc-files alloca-opt autobuild byteswap count-one-bits environ extensions flock fpieee full-read full-write iconv_open-utf lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
32 noinst_LTLIBRARIES += libgnu.la
35 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37 EXTRA_libgnu_la_SOURCES =
38 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
40 ## begin gnulib module alloca-opt
42 BUILT_SOURCES += $(ALLOCA_H)
44 # We need the following in order to create <alloca.h> when the system
45 # doesn't have one that works with the given compiler.
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
51 MOSTLYCLEANFILES += alloca.h alloca.h-t
53 EXTRA_DIST += alloca.in.h
55 ## end gnulib module alloca-opt
57 ## begin gnulib module byteswap
59 BUILT_SOURCES += $(BYTESWAP_H)
61 # We need the following in order to create <byteswap.h> when the system
63 byteswap.h: byteswap.in.h
64 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65 cat $(srcdir)/byteswap.in.h; \
68 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
70 EXTRA_DIST += byteswap.in.h
72 ## end gnulib module byteswap
74 ## begin gnulib module c-ctype
76 libgnu_la_SOURCES += c-ctype.h c-ctype.c
78 ## end gnulib module c-ctype
80 ## begin gnulib module c-strcase
82 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
84 ## end gnulib module c-strcase
86 ## begin gnulib module c-strcaseeq
89 EXTRA_DIST += c-strcaseeq.h
91 ## end gnulib module c-strcaseeq
93 ## begin gnulib module configmake
95 # Retrieve values of the variables through 'configure' followed by
96 # 'make', not directly through 'configure', so that a user who
97 # sets some of these variables consistently on the 'make' command
98 # line gets correct results.
100 # One advantage of this approach, compared to the classical
101 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
102 # is that it protects against the use of undefined variables.
103 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
104 # defined by this module, and code using LIBDIR gives a
107 # Another advantage is that 'make' output is shorter.
109 # Listed in the same order as the GNU makefile conventions.
110 # The Automake-defined pkg* macros are appended, in the order
111 # listed in the Automake 1.10a+ documentation.
112 configmake.h: Makefile
114 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
115 echo '#define PREFIX "$(prefix)"'; \
116 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
117 echo '#define BINDIR "$(bindir)"'; \
118 echo '#define SBINDIR "$(sbindir)"'; \
119 echo '#define LIBEXECDIR "$(libexecdir)"'; \
120 echo '#define DATAROOTDIR "$(datarootdir)"'; \
121 echo '#define DATADIR "$(datadir)"'; \
122 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
123 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
124 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
125 echo '#define INCLUDEDIR "$(includedir)"'; \
126 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
127 echo '#define DOCDIR "$(docdir)"'; \
128 echo '#define INFODIR "$(infodir)"'; \
129 echo '#define HTMLDIR "$(htmldir)"'; \
130 echo '#define DVIDIR "$(dvidir)"'; \
131 echo '#define PDFDIR "$(pdfdir)"'; \
132 echo '#define PSDIR "$(psdir)"'; \
133 echo '#define LIBDIR "$(libdir)"'; \
134 echo '#define LISPDIR "$(lispdir)"'; \
135 echo '#define LOCALEDIR "$(localedir)"'; \
136 echo '#define MANDIR "$(mandir)"'; \
137 echo '#define MANEXT "$(manext)"'; \
138 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
139 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
140 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
141 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
142 } | sed '/""/d' > $@-t
143 if test -f $@ && cmp $@-t $@ > /dev/null; then \
146 rm -f $@; mv $@-t $@; \
149 BUILT_SOURCES += configmake.h
150 CLEANFILES += configmake.h configmake.h-t
152 ## end gnulib module configmake
154 ## begin gnulib module count-one-bits
157 EXTRA_DIST += count-one-bits.h
159 ## end gnulib module count-one-bits
161 ## begin gnulib module flock
164 EXTRA_DIST += flock.c
166 EXTRA_libgnu_la_SOURCES += flock.c
168 ## end gnulib module flock
170 ## begin gnulib module full-read
172 libgnu_la_SOURCES += full-read.h full-read.c
174 ## end gnulib module full-read
176 ## begin gnulib module full-write
178 libgnu_la_SOURCES += full-write.h full-write.c
180 ## end gnulib module full-write
182 ## begin gnulib module gperf
186 ## end gnulib module gperf
188 ## begin gnulib module havelib
191 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
193 ## end gnulib module havelib
195 ## begin gnulib module iconv_open
197 BUILT_SOURCES += $(ICONV_H)
199 # We need the following in order to create <iconv.h> when the system
200 # doesn't have one that works with the given compiler.
203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
204 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
205 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
206 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
207 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
208 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
209 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
210 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
211 < $(srcdir)/iconv.in.h; \
214 MOSTLYCLEANFILES += iconv.h iconv.h-t
216 iconv_open-aix.h: iconv_open-aix.gperf
217 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
218 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
219 iconv_open-hpux.h: iconv_open-hpux.gperf
220 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
221 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
222 iconv_open-irix.h: iconv_open-irix.gperf
223 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
224 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
225 iconv_open-osf.h: iconv_open-osf.gperf
226 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
227 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
228 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
229 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
230 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
231 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
233 EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
235 EXTRA_libgnu_la_SOURCES += iconv_open.c
237 ## end gnulib module iconv_open
239 ## begin gnulib module iconv_open-utf
242 EXTRA_DIST += iconv.c iconv_close.c
244 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
246 ## end gnulib module iconv_open-utf
248 ## begin gnulib module lib-symbol-visibility
250 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
251 # compilation of all sources that make up the library. This line here does it
252 # only for the gnulib part of it. The developer is responsible for adding
253 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
254 AM_CFLAGS += $(CFLAG_VISIBILITY)
256 ## end gnulib module lib-symbol-visibility
258 ## begin gnulib module link-warning
260 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
262 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
264 ## end gnulib module link-warning
266 ## begin gnulib module localcharset
268 libgnu_la_SOURCES += localcharset.h localcharset.c
270 # We need the following in order to install a simple file in $(libdir)
271 # which is shared with other installed packages. We use a list of referencing
272 # packages so that "make uninstall" will remove the file if and only if it
273 # is not used by another installed package.
274 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
275 # avoid installing it.
277 all-local: charset.alias ref-add.sed ref-del.sed
279 charset_alias = $(DESTDIR)$(libdir)/charset.alias
280 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
281 install-exec-local: install-exec-localcharset
282 install-exec-localcharset: all-local
283 if test $(GLIBC21) = no; then \
284 case '$(host_os)' in \
286 need_charset_alias=true ;; \
287 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
288 need_charset_alias=false ;; \
290 need_charset_alias=true ;; \
293 need_charset_alias=false ; \
295 if $$need_charset_alias; then \
296 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
298 if test -f $(charset_alias); then \
299 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
300 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
301 rm -f $(charset_tmp) ; \
303 if $$need_charset_alias; then \
304 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
305 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
306 rm -f $(charset_tmp) ; \
310 uninstall-local: uninstall-localcharset
311 uninstall-localcharset: all-local
312 if test -f $(charset_alias); then \
313 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
314 if grep '^# Packages using this file: $$' $(charset_tmp) \
316 rm -f $(charset_alias); \
318 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
320 rm -f $(charset_tmp); \
323 charset.alias: config.charset
325 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
328 SUFFIXES += .sed .sin
331 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
334 CLEANFILES += charset.alias ref-add.sed ref-del.sed
336 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
338 ## end gnulib module localcharset
340 ## begin gnulib module malloc-posix
343 EXTRA_DIST += malloc.c
345 EXTRA_libgnu_la_SOURCES += malloc.c
347 ## end gnulib module malloc-posix
349 ## begin gnulib module mbrlen
352 EXTRA_DIST += mbrlen.c
354 EXTRA_libgnu_la_SOURCES += mbrlen.c
356 ## end gnulib module mbrlen
358 ## begin gnulib module mbrtowc
361 EXTRA_DIST += mbrtowc.c
363 EXTRA_libgnu_la_SOURCES += mbrtowc.c
365 ## end gnulib module mbrtowc
367 ## begin gnulib module mbsinit
370 EXTRA_DIST += mbsinit.c
372 EXTRA_libgnu_la_SOURCES += mbsinit.c
374 ## end gnulib module mbsinit
376 ## begin gnulib module putenv
379 EXTRA_DIST += putenv.c
381 EXTRA_libgnu_la_SOURCES += putenv.c
383 ## end gnulib module putenv
385 ## begin gnulib module safe-read
388 EXTRA_DIST += safe-read.c safe-read.h
390 EXTRA_libgnu_la_SOURCES += safe-read.c
392 ## end gnulib module safe-read
394 ## begin gnulib module safe-write
397 EXTRA_DIST += safe-write.c safe-write.h
399 EXTRA_libgnu_la_SOURCES += safe-write.c
401 ## end gnulib module safe-write
403 ## begin gnulib module stdbool
405 BUILT_SOURCES += $(STDBOOL_H)
407 # We need the following in order to create <stdbool.h> when the system
408 # doesn't have one that works.
409 stdbool.h: stdbool.in.h
411 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
412 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
415 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
417 EXTRA_DIST += stdbool.in.h
419 ## end gnulib module stdbool
421 ## begin gnulib module stdint
423 BUILT_SOURCES += $(STDINT_H)
425 # We need the following in order to create <stdint.h> when the system
426 # doesn't have one that works with the given compiler.
427 stdint.h: stdint.in.h
429 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
430 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
431 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
432 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
433 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
434 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
435 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
436 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
437 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
438 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
439 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
440 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
441 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
442 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
443 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
444 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
445 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
446 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
447 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
448 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
449 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
450 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
451 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
452 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
453 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
454 < $(srcdir)/stdint.in.h; \
457 MOSTLYCLEANFILES += stdint.h stdint.h-t
459 EXTRA_DIST += stdint.in.h
461 ## end gnulib module stdint
463 ## begin gnulib module stdlib
465 BUILT_SOURCES += stdlib.h
467 # We need the following in order to create <stdlib.h> when the system
468 # doesn't have one that works with the given compiler.
469 stdlib.h: stdlib.in.h
471 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
472 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
473 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
474 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
475 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
476 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
477 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
478 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
479 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
480 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
481 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
482 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
483 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
484 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
485 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
486 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
487 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
488 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
489 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
490 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
491 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
492 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
493 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
494 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
495 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
496 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
497 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
498 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
499 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
500 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
501 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
502 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
503 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
504 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
505 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
506 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
507 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
508 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
509 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
510 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
511 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
512 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
513 < $(srcdir)/stdlib.in.h; \
516 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
518 EXTRA_DIST += stdlib.in.h
520 ## end gnulib module stdlib
522 ## begin gnulib module strcase
525 EXTRA_DIST += strcasecmp.c strncasecmp.c
527 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
529 ## end gnulib module strcase
531 ## begin gnulib module streq
534 EXTRA_DIST += streq.h
536 ## end gnulib module streq
538 ## begin gnulib module strftime
541 EXTRA_DIST += strftime.c strftime.h
543 EXTRA_libgnu_la_SOURCES += strftime.c
545 ## end gnulib module strftime
547 ## begin gnulib module striconveh
549 libgnu_la_SOURCES += striconveh.h striconveh.c
551 libgnu_la_LDFLAGS += $(LTLIBICONV)
554 EXTRA_DIST += iconveh.h
556 ## end gnulib module striconveh
558 ## begin gnulib module string
560 BUILT_SOURCES += string.h
562 # We need the following in order to create <string.h> when the system
563 # doesn't have one that works with the given compiler.
564 string.h: string.in.h
566 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
567 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
568 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
569 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
570 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
571 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
572 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
573 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
574 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
575 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
576 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
577 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
578 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
579 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
580 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
581 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
582 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
583 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
584 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
585 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
586 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
587 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
588 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
589 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
590 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
591 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
592 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
593 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
594 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
595 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
596 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
597 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
598 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
599 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
600 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
601 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
602 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
603 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
604 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
605 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
606 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
607 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
608 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
609 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
610 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
611 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
612 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
613 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
614 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
615 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
616 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
617 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
618 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
619 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
620 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
621 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
622 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
623 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
624 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
625 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
626 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
627 < $(srcdir)/string.in.h; \
630 MOSTLYCLEANFILES += string.h string.h-t
632 EXTRA_DIST += string.in.h
634 ## end gnulib module string
636 ## begin gnulib module strings
638 BUILT_SOURCES += strings.h
640 # We need the following in order to create <strings.h> when the system
641 # doesn't have one that works with the given compiler.
642 strings.h: strings.in.h
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
645 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
646 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
647 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
648 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
649 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
650 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
651 < $(srcdir)/strings.in.h; \
654 MOSTLYCLEANFILES += strings.h strings.h-t
656 EXTRA_DIST += strings.in.h
658 ## end gnulib module strings
660 ## begin gnulib module sys_file
662 BUILT_SOURCES += $(SYS_FILE_H)
664 # We need the following in order to create <sys/file.h> when the system
665 # has one that is incomplete.
666 sys/file.h: sys_file.in.h
669 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
670 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
671 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
672 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
673 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
674 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
675 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
676 < $(srcdir)/sys_file.in.h; \
679 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
680 MOSTLYCLEANDIRS += sys
682 EXTRA_DIST += sys_file.in.h
684 ## end gnulib module sys_file
686 ## begin gnulib module time
688 BUILT_SOURCES += time.h
690 # We need the following in order to create <time.h> when the system
691 # doesn't have one that works with the given compiler.
694 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
695 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
696 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
697 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
698 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
699 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
700 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
701 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
702 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
703 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
704 < $(srcdir)/time.in.h; \
707 MOSTLYCLEANFILES += time.h time.h-t
709 EXTRA_DIST += time.in.h
711 ## end gnulib module time
713 ## begin gnulib module time_r
716 EXTRA_DIST += time_r.c
718 EXTRA_libgnu_la_SOURCES += time_r.c
720 ## end gnulib module time_r
722 ## begin gnulib module unistd
724 BUILT_SOURCES += unistd.h
726 # We need the following in order to create an empty placeholder for
727 # <unistd.h> when the system doesn't have one.
728 unistd.h: unistd.in.h
730 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
731 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
732 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
733 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
734 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
735 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
736 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
737 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
738 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
739 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
740 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
741 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
742 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
743 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
744 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
745 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
746 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
747 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
748 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
749 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
750 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
751 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
752 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
753 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
754 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
755 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
756 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
757 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
758 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
759 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
760 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
761 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
762 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
763 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
764 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
765 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
766 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
767 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
768 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
769 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
770 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
771 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
772 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
773 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
774 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
775 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
776 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
777 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
778 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
779 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
780 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
781 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
782 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
783 < $(srcdir)/unistd.in.h; \
786 MOSTLYCLEANFILES += unistd.h unistd.h-t
788 EXTRA_DIST += unistd.in.h
790 ## end gnulib module unistd
792 ## begin gnulib module unistr/base
795 EXTRA_DIST += unistr.h
797 ## end gnulib module unistr/base
799 ## begin gnulib module unistr/u8-mbtouc
801 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
803 ## end gnulib module unistr/u8-mbtouc
805 ## begin gnulib module unistr/u8-mbtouc-unsafe
807 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
809 ## end gnulib module unistr/u8-mbtouc-unsafe
811 ## begin gnulib module unistr/u8-mbtoucr
813 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
815 ## end gnulib module unistr/u8-mbtoucr
817 ## begin gnulib module unistr/u8-prev
819 libgnu_la_SOURCES += unistr/u8-prev.c
821 ## end gnulib module unistr/u8-prev
823 ## begin gnulib module unistr/u8-uctomb
825 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
827 ## end gnulib module unistr/u8-uctomb
829 ## begin gnulib module unitypes
832 EXTRA_DIST += unitypes.h
834 ## end gnulib module unitypes
836 ## begin gnulib module verify
838 libgnu_la_SOURCES += verify.h
840 ## end gnulib module verify
842 ## begin gnulib module wchar
844 BUILT_SOURCES += $(WCHAR_H)
846 # We need the following in order to create <wchar.h> when the system
847 # version does not work standalone.
850 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
851 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
852 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
853 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
854 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
855 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
856 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
857 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
858 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
859 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
860 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
861 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
862 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
863 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
864 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
865 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
866 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
867 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
868 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
869 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
870 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
871 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
872 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
873 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
874 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
875 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
876 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
877 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
878 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
879 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
880 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
881 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
882 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
883 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
884 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
885 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
886 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
887 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
888 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
889 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
890 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
891 < $(srcdir)/wchar.in.h; \
894 MOSTLYCLEANFILES += wchar.h wchar.h-t
896 EXTRA_DIST += wchar.in.h
898 ## end gnulib module wchar
900 ## begin gnulib module write
903 EXTRA_DIST += write.c
905 EXTRA_libgnu_la_SOURCES += write.c
907 ## end gnulib module write
910 mostlyclean-local: mostlyclean-generic
911 @for dir in '' $(MOSTLYCLEANDIRS); do \
912 if test -n "$$dir" && test -d $$dir; then \
913 echo "rmdir $$dir"; rmdir $$dir; \