197320eca7830f321bfa4e1035d13121672e9634
[bpt/guile.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=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 canonicalize-lgpl count-one-bits environ extensions flock fpieee full-read full-write havelib iconv_open-utf lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string vsnprintf
13
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
15
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28
29 AM_CPPFLAGS =
30 AM_CFLAGS =
31
32 noinst_LTLIBRARIES += libgnu.la
33
34 libgnu_la_SOURCES =
35 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37 EXTRA_libgnu_la_SOURCES =
38 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
40 ## begin gnulib module alloca-opt
41
42 BUILT_SOURCES += $(ALLOCA_H)
43
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.
46 alloca.h: alloca.in.h
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
49 } > $@-t
50 mv -f $@-t $@
51 MOSTLYCLEANFILES += alloca.h alloca.h-t
52
53 EXTRA_DIST += alloca.in.h
54
55 ## end gnulib module alloca-opt
56
57 ## begin gnulib module byteswap
58
59 BUILT_SOURCES += $(BYTESWAP_H)
60
61 # We need the following in order to create <byteswap.h> when the system
62 # doesn't have one.
63 byteswap.h: byteswap.in.h
64 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65 cat $(srcdir)/byteswap.in.h; \
66 } > $@-t
67 mv -f $@-t $@
68 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
69
70 EXTRA_DIST += byteswap.in.h
71
72 ## end gnulib module byteswap
73
74 ## begin gnulib module c-ctype
75
76 libgnu_la_SOURCES += c-ctype.h c-ctype.c
77
78 ## end gnulib module c-ctype
79
80 ## begin gnulib module c-strcase
81
82 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
83
84 ## end gnulib module c-strcase
85
86 ## begin gnulib module c-strcaseeq
87
88
89 EXTRA_DIST += c-strcaseeq.h
90
91 ## end gnulib module c-strcaseeq
92
93 ## begin gnulib module canonicalize-lgpl
94
95
96 EXTRA_DIST += canonicalize-lgpl.c canonicalize.h
97
98 EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
99
100 ## end gnulib module canonicalize-lgpl
101
102 ## begin gnulib module configmake
103
104 # Retrieve values of the variables through 'configure' followed by
105 # 'make', not directly through 'configure', so that a user who
106 # sets some of these variables consistently on the 'make' command
107 # line gets correct results.
108 #
109 # One advantage of this approach, compared to the classical
110 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
111 # is that it protects against the use of undefined variables.
112 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
113 # defined by this module, and code using LIBDIR gives a
114 # compilation error.
115 #
116 # Another advantage is that 'make' output is shorter.
117 #
118 # Listed in the same order as the GNU makefile conventions.
119 # The Automake-defined pkg* macros are appended, in the order
120 # listed in the Automake 1.10a+ documentation.
121 configmake.h: Makefile
122 rm -f $@-t
123 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
124 echo '#define PREFIX "$(prefix)"'; \
125 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
126 echo '#define BINDIR "$(bindir)"'; \
127 echo '#define SBINDIR "$(sbindir)"'; \
128 echo '#define LIBEXECDIR "$(libexecdir)"'; \
129 echo '#define DATAROOTDIR "$(datarootdir)"'; \
130 echo '#define DATADIR "$(datadir)"'; \
131 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
132 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
133 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
134 echo '#define INCLUDEDIR "$(includedir)"'; \
135 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
136 echo '#define DOCDIR "$(docdir)"'; \
137 echo '#define INFODIR "$(infodir)"'; \
138 echo '#define HTMLDIR "$(htmldir)"'; \
139 echo '#define DVIDIR "$(dvidir)"'; \
140 echo '#define PDFDIR "$(pdfdir)"'; \
141 echo '#define PSDIR "$(psdir)"'; \
142 echo '#define LIBDIR "$(libdir)"'; \
143 echo '#define LISPDIR "$(lispdir)"'; \
144 echo '#define LOCALEDIR "$(localedir)"'; \
145 echo '#define MANDIR "$(mandir)"'; \
146 echo '#define MANEXT "$(manext)"'; \
147 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
148 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
149 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
150 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
151 } | sed '/""/d' > $@-t
152 if test -f $@ && cmp $@-t $@ > /dev/null; then \
153 rm -f $@-t; \
154 else \
155 rm -f $@; mv $@-t $@; \
156 fi
157
158 BUILT_SOURCES += configmake.h
159 CLEANFILES += configmake.h configmake.h-t
160
161 ## end gnulib module configmake
162
163 ## begin gnulib module count-one-bits
164
165
166 EXTRA_DIST += count-one-bits.h
167
168 ## end gnulib module count-one-bits
169
170 ## begin gnulib module errno
171
172 BUILT_SOURCES += $(ERRNO_H)
173
174 # We need the following in order to create <errno.h> when the system
175 # doesn't have one that is POSIX compliant.
176 errno.h: errno.in.h
177 rm -f $@-t $@
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; \
189 } > $@-t
190 mv $@-t $@
191 MOSTLYCLEANFILES += errno.h errno.h-t
192
193 EXTRA_DIST += errno.in.h
194
195 ## end gnulib module errno
196
197 ## begin gnulib module float
198
199 BUILT_SOURCES += $(FLOAT_H)
200
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.
203 float.h: float.in.h
204 rm -f $@-t $@
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; \
210 } > $@-t
211 mv $@-t $@
212 MOSTLYCLEANFILES += float.h float.h-t
213
214 EXTRA_DIST += float.in.h
215
216 ## end gnulib module float
217
218 ## begin gnulib module flock
219
220
221 EXTRA_DIST += flock.c
222
223 EXTRA_libgnu_la_SOURCES += flock.c
224
225 ## end gnulib module flock
226
227 ## begin gnulib module full-read
228
229 libgnu_la_SOURCES += full-read.h full-read.c
230
231 ## end gnulib module full-read
232
233 ## begin gnulib module full-write
234
235 libgnu_la_SOURCES += full-write.h full-write.c
236
237 ## end gnulib module full-write
238
239 ## begin gnulib module getpagesize
240
241
242 EXTRA_DIST += getpagesize.c
243
244 EXTRA_libgnu_la_SOURCES += getpagesize.c
245
246 ## end gnulib module getpagesize
247
248 ## begin gnulib module gperf
249
250 GPERF = gperf
251
252 ## end gnulib module gperf
253
254 ## begin gnulib module havelib
255
256
257 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
258
259 ## end gnulib module havelib
260
261 ## begin gnulib module iconv_open
262
263 BUILT_SOURCES += $(ICONV_H)
264
265 # We need the following in order to create <iconv.h> when the system
266 # doesn't have one that works with the given compiler.
267 iconv.h: iconv.in.h
268 rm -f $@-t $@
269 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
270 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
271 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
272 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
273 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
274 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
275 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
276 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
277 < $(srcdir)/iconv.in.h; \
278 } > $@-t
279 mv $@-t $@
280 MOSTLYCLEANFILES += iconv.h iconv.h-t
281
282 iconv_open-aix.h: iconv_open-aix.gperf
283 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
284 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
285 iconv_open-hpux.h: iconv_open-hpux.gperf
286 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
287 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
288 iconv_open-irix.h: iconv_open-irix.gperf
289 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
290 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
291 iconv_open-osf.h: iconv_open-osf.gperf
292 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
293 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
294 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
295 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
296 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
297 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
298
299 EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
300
301 EXTRA_libgnu_la_SOURCES += iconv_open.c
302
303 ## end gnulib module iconv_open
304
305 ## begin gnulib module iconv_open-utf
306
307
308 EXTRA_DIST += iconv.c iconv_close.c
309
310 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
311
312 ## end gnulib module iconv_open-utf
313
314 ## begin gnulib module lib-symbol-visibility
315
316 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
317 # compilation of all sources that make up the library. This line here does it
318 # only for the gnulib part of it. The developer is responsible for adding
319 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
320 AM_CFLAGS += $(CFLAG_VISIBILITY)
321
322 ## end gnulib module lib-symbol-visibility
323
324 ## begin gnulib module link-warning
325
326 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
327
328 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
329
330 ## end gnulib module link-warning
331
332 ## begin gnulib module localcharset
333
334 libgnu_la_SOURCES += localcharset.h localcharset.c
335
336 # We need the following in order to install a simple file in $(libdir)
337 # which is shared with other installed packages. We use a list of referencing
338 # packages so that "make uninstall" will remove the file if and only if it
339 # is not used by another installed package.
340 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
341 # avoid installing it.
342
343 all-local: charset.alias ref-add.sed ref-del.sed
344
345 charset_alias = $(DESTDIR)$(libdir)/charset.alias
346 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
347 install-exec-local: install-exec-localcharset
348 install-exec-localcharset: all-local
349 if test $(GLIBC21) = no; then \
350 case '$(host_os)' in \
351 darwin[56]*) \
352 need_charset_alias=true ;; \
353 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
354 need_charset_alias=false ;; \
355 *) \
356 need_charset_alias=true ;; \
357 esac ; \
358 else \
359 need_charset_alias=false ; \
360 fi ; \
361 if $$need_charset_alias; then \
362 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
363 fi ; \
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) ; \
368 else \
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) ; \
373 fi ; \
374 fi
375
376 uninstall-local: uninstall-localcharset
377 uninstall-localcharset: all-local
378 if test -f $(charset_alias); then \
379 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
380 if grep '^# Packages using this file: $$' $(charset_tmp) \
381 > /dev/null; then \
382 rm -f $(charset_alias); \
383 else \
384 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
385 fi; \
386 rm -f $(charset_tmp); \
387 fi
388
389 charset.alias: config.charset
390 rm -f t-$@ $@
391 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
392 mv t-$@ $@
393
394 SUFFIXES += .sed .sin
395 .sin.sed:
396 rm -f t-$@ $@
397 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
398 mv t-$@ $@
399
400 CLEANFILES += charset.alias ref-add.sed ref-del.sed
401
402 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
403
404 ## end gnulib module localcharset
405
406 ## begin gnulib module malloc-posix
407
408
409 EXTRA_DIST += malloc.c
410
411 EXTRA_libgnu_la_SOURCES += malloc.c
412
413 ## end gnulib module malloc-posix
414
415 ## begin gnulib module malloca
416
417 libgnu_la_SOURCES += malloca.c
418
419 EXTRA_DIST += malloca.h malloca.valgrind
420
421 ## end gnulib module malloca
422
423 ## begin gnulib module mbrlen
424
425
426 EXTRA_DIST += mbrlen.c
427
428 EXTRA_libgnu_la_SOURCES += mbrlen.c
429
430 ## end gnulib module mbrlen
431
432 ## begin gnulib module mbrtowc
433
434
435 EXTRA_DIST += mbrtowc.c
436
437 EXTRA_libgnu_la_SOURCES += mbrtowc.c
438
439 ## end gnulib module mbrtowc
440
441 ## begin gnulib module mbsinit
442
443
444 EXTRA_DIST += mbsinit.c
445
446 EXTRA_libgnu_la_SOURCES += mbsinit.c
447
448 ## end gnulib module mbsinit
449
450 ## begin gnulib module memchr
451
452
453 EXTRA_DIST += memchr.c memchr.valgrind
454
455 EXTRA_libgnu_la_SOURCES += memchr.c
456
457 ## end gnulib module memchr
458
459 ## begin gnulib module pathmax
460
461
462 EXTRA_DIST += pathmax.h
463
464 ## end gnulib module pathmax
465
466 ## begin gnulib module putenv
467
468
469 EXTRA_DIST += putenv.c
470
471 EXTRA_libgnu_la_SOURCES += putenv.c
472
473 ## end gnulib module putenv
474
475 ## begin gnulib module readlink
476
477
478 EXTRA_DIST += readlink.c
479
480 EXTRA_libgnu_la_SOURCES += readlink.c
481
482 ## end gnulib module readlink
483
484 ## begin gnulib module safe-read
485
486
487 EXTRA_DIST += safe-read.c safe-read.h
488
489 EXTRA_libgnu_la_SOURCES += safe-read.c
490
491 ## end gnulib module safe-read
492
493 ## begin gnulib module safe-write
494
495
496 EXTRA_DIST += safe-write.c safe-write.h
497
498 EXTRA_libgnu_la_SOURCES += safe-write.c
499
500 ## end gnulib module safe-write
501
502 ## begin gnulib module size_max
503
504 libgnu_la_SOURCES += size_max.h
505
506 ## end gnulib module size_max
507
508 ## begin gnulib module stdbool
509
510 BUILT_SOURCES += $(STDBOOL_H)
511
512 # We need the following in order to create <stdbool.h> when the system
513 # doesn't have one that works.
514 stdbool.h: stdbool.in.h
515 rm -f $@-t $@
516 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
517 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
518 } > $@-t
519 mv $@-t $@
520 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
521
522 EXTRA_DIST += stdbool.in.h
523
524 ## end gnulib module stdbool
525
526 ## begin gnulib module stdint
527
528 BUILT_SOURCES += $(STDINT_H)
529
530 # We need the following in order to create <stdint.h> when the system
531 # doesn't have one that works with the given compiler.
532 stdint.h: stdint.in.h
533 rm -f $@-t $@
534 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
535 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
536 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
537 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
538 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
539 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
540 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
541 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
542 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
543 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
544 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
545 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
546 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
547 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
548 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
549 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
550 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
551 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
552 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
553 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
554 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
555 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
556 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
557 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
558 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
559 < $(srcdir)/stdint.in.h; \
560 } > $@-t
561 mv $@-t $@
562 MOSTLYCLEANFILES += stdint.h stdint.h-t
563
564 EXTRA_DIST += stdint.in.h
565
566 ## end gnulib module stdint
567
568 ## begin gnulib module stdio
569
570 BUILT_SOURCES += stdio.h
571
572 # We need the following in order to create <stdio.h> when the system
573 # doesn't have one that works with the given compiler.
574 stdio.h: stdio.in.h
575 rm -f $@-t $@
576 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
577 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
578 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
579 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
580 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
581 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
582 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
583 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
584 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
585 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
586 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
587 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
588 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
589 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
590 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
591 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
592 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
593 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
594 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
595 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
596 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
597 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
598 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
599 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
600 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
601 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
602 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
603 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
604 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
605 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
606 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
607 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
608 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
609 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
610 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
611 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
612 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
613 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
614 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
615 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
616 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
617 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
618 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
619 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
620 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
621 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
622 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
623 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
624 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
625 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
626 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
627 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
628 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
629 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
630 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
631 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
632 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
633 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
634 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
635 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
636 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
637 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
638 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
639 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
640 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
641 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
642 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
643 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
644 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
645 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
646 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
647 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
648 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
649 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
650 < $(srcdir)/stdio.in.h; \
651 } > $@-t
652 mv $@-t $@
653 MOSTLYCLEANFILES += stdio.h stdio.h-t
654
655 EXTRA_DIST += stdio-write.c stdio.in.h
656
657 EXTRA_libgnu_la_SOURCES += stdio-write.c
658
659 ## end gnulib module stdio
660
661 ## begin gnulib module stdlib
662
663 BUILT_SOURCES += stdlib.h
664
665 # We need the following in order to create <stdlib.h> when the system
666 # doesn't have one that works with the given compiler.
667 stdlib.h: stdlib.in.h
668 rm -f $@-t $@
669 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
670 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
671 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
672 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
673 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
674 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
675 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
676 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
677 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
678 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
679 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
680 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
681 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
682 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
683 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
684 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
685 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
686 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
687 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
688 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
689 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
690 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
691 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
692 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
693 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
694 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
695 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
696 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
697 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
698 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
699 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
700 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
701 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
702 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
703 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
704 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
705 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
706 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
707 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
708 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
709 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
710 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
711 < $(srcdir)/stdlib.in.h; \
712 } > $@-t
713 mv $@-t $@
714 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
715
716 EXTRA_DIST += stdlib.in.h
717
718 ## end gnulib module stdlib
719
720 ## begin gnulib module strcase
721
722
723 EXTRA_DIST += strcasecmp.c strncasecmp.c
724
725 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
726
727 ## end gnulib module strcase
728
729 ## begin gnulib module streq
730
731
732 EXTRA_DIST += streq.h
733
734 ## end gnulib module streq
735
736 ## begin gnulib module strftime
737
738
739 EXTRA_DIST += strftime.c strftime.h
740
741 EXTRA_libgnu_la_SOURCES += strftime.c
742
743 ## end gnulib module strftime
744
745 ## begin gnulib module striconveh
746
747 libgnu_la_SOURCES += striconveh.h striconveh.c
748 if GL_COND_LIBTOOL
749 libgnu_la_LDFLAGS += $(LTLIBICONV)
750 endif
751
752 EXTRA_DIST += iconveh.h
753
754 ## end gnulib module striconveh
755
756 ## begin gnulib module string
757
758 BUILT_SOURCES += string.h
759
760 # We need the following in order to create <string.h> when the system
761 # doesn't have one that works with the given compiler.
762 string.h: string.in.h
763 rm -f $@-t $@
764 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
765 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
766 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
767 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
768 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
769 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
770 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
771 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
772 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
773 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
774 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
775 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
776 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
777 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
778 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
779 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
780 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
781 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
782 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
783 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
784 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
785 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
786 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
787 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
788 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
789 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
790 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
791 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
792 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
793 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
794 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
795 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
796 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
797 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
798 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
799 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
800 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
801 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
802 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
803 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
804 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
805 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
806 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
807 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
808 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
809 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
810 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
811 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
812 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
813 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
814 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
815 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
816 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
817 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
818 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
819 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
820 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
821 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
822 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
823 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
824 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
825 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
826 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
827 < $(srcdir)/string.in.h; \
828 } > $@-t
829 mv $@-t $@
830 MOSTLYCLEANFILES += string.h string.h-t
831
832 EXTRA_DIST += string.in.h
833
834 ## end gnulib module string
835
836 ## begin gnulib module strings
837
838 BUILT_SOURCES += strings.h
839
840 # We need the following in order to create <strings.h> when the system
841 # doesn't have one that works with the given compiler.
842 strings.h: strings.in.h
843 rm -f $@-t $@
844 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
845 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
846 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
847 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
848 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
849 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
850 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
851 < $(srcdir)/strings.in.h; \
852 } > $@-t
853 mv $@-t $@
854 MOSTLYCLEANFILES += strings.h strings.h-t
855
856 EXTRA_DIST += strings.in.h
857
858 ## end gnulib module strings
859
860 ## begin gnulib module sys_file
861
862 BUILT_SOURCES += $(SYS_FILE_H)
863
864 # We need the following in order to create <sys/file.h> when the system
865 # has one that is incomplete.
866 sys/file.h: sys_file.in.h
867 @MKDIR_P@ sys
868 rm -f $@-t $@
869 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
870 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
871 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
872 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
873 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
874 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
875 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
876 < $(srcdir)/sys_file.in.h; \
877 } > $@-t
878 mv $@-t $@
879 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
880 MOSTLYCLEANDIRS += sys
881
882 EXTRA_DIST += sys_file.in.h
883
884 ## end gnulib module sys_file
885
886 ## begin gnulib module time
887
888 BUILT_SOURCES += time.h
889
890 # We need the following in order to create <time.h> when the system
891 # doesn't have one that works with the given compiler.
892 time.h: time.in.h
893 rm -f $@-t $@
894 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
895 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
896 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
897 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
898 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
899 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
900 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
901 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
902 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
903 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
904 < $(srcdir)/time.in.h; \
905 } > $@-t
906 mv $@-t $@
907 MOSTLYCLEANFILES += time.h time.h-t
908
909 EXTRA_DIST += time.in.h
910
911 ## end gnulib module time
912
913 ## begin gnulib module time_r
914
915
916 EXTRA_DIST += time_r.c
917
918 EXTRA_libgnu_la_SOURCES += time_r.c
919
920 ## end gnulib module time_r
921
922 ## begin gnulib module unistd
923
924 BUILT_SOURCES += unistd.h
925
926 # We need the following in order to create an empty placeholder for
927 # <unistd.h> when the system doesn't have one.
928 unistd.h: unistd.in.h
929 rm -f $@-t $@
930 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
931 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
932 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
933 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
934 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
935 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
936 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
937 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
938 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
939 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
940 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
941 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
942 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
943 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
944 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
945 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
946 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
947 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
948 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
949 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
950 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
951 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
952 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
953 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
954 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
955 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
956 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
957 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
958 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
959 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
960 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
961 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
962 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
963 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
964 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
965 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
966 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
967 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
968 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
969 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
970 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
971 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
972 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
973 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
974 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
975 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
976 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
977 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
978 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
979 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
980 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
981 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
982 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
983 < $(srcdir)/unistd.in.h; \
984 } > $@-t
985 mv $@-t $@
986 MOSTLYCLEANFILES += unistd.h unistd.h-t
987
988 EXTRA_DIST += unistd.in.h
989
990 ## end gnulib module unistd
991
992 ## begin gnulib module unistr/base
993
994
995 EXTRA_DIST += unistr.h
996
997 ## end gnulib module unistr/base
998
999 ## begin gnulib module unistr/u8-mbtouc
1000
1001 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1002
1003 ## end gnulib module unistr/u8-mbtouc
1004
1005 ## begin gnulib module unistr/u8-mbtouc-unsafe
1006
1007 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1008
1009 ## end gnulib module unistr/u8-mbtouc-unsafe
1010
1011 ## begin gnulib module unistr/u8-mbtoucr
1012
1013 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1014
1015 ## end gnulib module unistr/u8-mbtoucr
1016
1017 ## begin gnulib module unistr/u8-prev
1018
1019 libgnu_la_SOURCES += unistr/u8-prev.c
1020
1021 ## end gnulib module unistr/u8-prev
1022
1023 ## begin gnulib module unistr/u8-uctomb
1024
1025 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1026
1027 ## end gnulib module unistr/u8-uctomb
1028
1029 ## begin gnulib module unitypes
1030
1031
1032 EXTRA_DIST += unitypes.h
1033
1034 ## end gnulib module unitypes
1035
1036 ## begin gnulib module vasnprintf
1037
1038
1039 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1040
1041 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1042
1043 ## end gnulib module vasnprintf
1044
1045 ## begin gnulib module verify
1046
1047 libgnu_la_SOURCES += verify.h
1048
1049 ## end gnulib module verify
1050
1051 ## begin gnulib module vsnprintf
1052
1053
1054 EXTRA_DIST += vsnprintf.c
1055
1056 EXTRA_libgnu_la_SOURCES += vsnprintf.c
1057
1058 ## end gnulib module vsnprintf
1059
1060 ## begin gnulib module wchar
1061
1062 BUILT_SOURCES += $(WCHAR_H)
1063
1064 # We need the following in order to create <wchar.h> when the system
1065 # version does not work standalone.
1066 wchar.h: wchar.in.h
1067 rm -f $@-t $@
1068 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1069 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1070 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1071 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1072 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1073 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1074 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1075 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1076 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1077 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1078 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1079 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1080 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1081 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1082 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1083 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1084 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1085 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1086 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1087 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1088 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1089 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1090 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1091 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1092 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1093 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1094 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1095 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1096 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1097 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1098 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1099 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1100 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1101 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1102 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1103 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1104 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1105 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1106 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1107 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1108 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1109 < $(srcdir)/wchar.in.h; \
1110 } > $@-t
1111 mv $@-t $@
1112 MOSTLYCLEANFILES += wchar.h wchar.h-t
1113
1114 EXTRA_DIST += wchar.in.h
1115
1116 ## end gnulib module wchar
1117
1118 ## begin gnulib module write
1119
1120
1121 EXTRA_DIST += write.c
1122
1123 EXTRA_libgnu_la_SOURCES += write.c
1124
1125 ## end gnulib module write
1126
1127 ## begin gnulib module xsize
1128
1129 libgnu_la_SOURCES += xsize.h
1130
1131 ## end gnulib module xsize
1132
1133
1134 mostlyclean-local: mostlyclean-generic
1135 @for dir in '' $(MOSTLYCLEANDIRS); do \
1136 if test -n "$$dir" && test -d $$dir; then \
1137 echo "rmdir $$dir"; rmdir $$dir; \
1138 fi; \
1139 done; \
1140 :