5ec4cb4fb0c7e6aff7e7f148c0a5fc7888ef29f8
[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 alignof alloca-opt autobuild byteswap canonicalize-lgpl environ extensions flock fpieee full-read full-write havelib iconv_open-utf inet_ntop inet_pton lib-symbol-versions lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string verify 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 alignof
41
42
43 EXTRA_DIST += alignof.h
44
45 ## end gnulib module alignof
46
47 ## begin gnulib module alloca-opt
48
49 BUILT_SOURCES += $(ALLOCA_H)
50
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
53 alloca.h: alloca.in.h
54 $(AM_V_GEN)rm -f $@-t $@ && \
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca.in.h; \
57 } > $@-t && \
58 mv -f $@-t $@
59 MOSTLYCLEANFILES += alloca.h alloca.h-t
60
61 EXTRA_DIST += alloca.in.h
62
63 ## end gnulib module alloca-opt
64
65 ## begin gnulib module arpa_inet
66
67 BUILT_SOURCES += $(ARPA_INET_H)
68
69 # We need the following in order to create <arpa/inet.h> when the system
70 # doesn't have one.
71 arpa/inet.h: arpa_inet.in.h
72 $(AM_V_at)$(MKDIR_P) arpa
73 $(AM_V_GEN)rm -f $@-t $@ && \
74 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
75 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
76 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
77 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
78 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
79 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
80 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
81 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
82 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
83 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
84 < $(srcdir)/arpa_inet.in.h; \
85 } > $@-t && \
86 mv $@-t $@
87 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
88 MOSTLYCLEANDIRS += arpa
89
90 EXTRA_DIST += arpa_inet.in.h
91
92 ## end gnulib module arpa_inet
93
94 ## begin gnulib module byteswap
95
96 BUILT_SOURCES += $(BYTESWAP_H)
97
98 # We need the following in order to create <byteswap.h> when the system
99 # doesn't have one.
100 byteswap.h: byteswap.in.h
101 $(AM_V_GEN)rm -f $@-t $@ && \
102 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
103 cat $(srcdir)/byteswap.in.h; \
104 } > $@-t && \
105 mv -f $@-t $@
106 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
107
108 EXTRA_DIST += byteswap.in.h
109
110 ## end gnulib module byteswap
111
112 ## begin gnulib module c-ctype
113
114 libgnu_la_SOURCES += c-ctype.h c-ctype.c
115
116 ## end gnulib module c-ctype
117
118 ## begin gnulib module c-strcase
119
120 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
121
122 ## end gnulib module c-strcase
123
124 ## begin gnulib module c-strcaseeq
125
126
127 EXTRA_DIST += c-strcaseeq.h
128
129 ## end gnulib module c-strcaseeq
130
131 ## begin gnulib module canonicalize-lgpl
132
133
134 EXTRA_DIST += canonicalize-lgpl.c
135
136 EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
137
138 ## end gnulib module canonicalize-lgpl
139
140 ## begin gnulib module configmake
141
142 # Retrieve values of the variables through 'configure' followed by
143 # 'make', not directly through 'configure', so that a user who
144 # sets some of these variables consistently on the 'make' command
145 # line gets correct results.
146 #
147 # One advantage of this approach, compared to the classical
148 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
149 # is that it protects against the use of undefined variables.
150 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
151 # defined by this module, and code using LIBDIR gives a
152 # compilation error.
153 #
154 # Another advantage is that 'make' output is shorter.
155 #
156 # Listed in the same order as the GNU makefile conventions.
157 # The Automake-defined pkg* macros are appended, in the order
158 # listed in the Automake 1.10a+ documentation.
159 configmake.h: Makefile
160 $(AM_V_GEN)rm -f $@-t && \
161 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
162 echo '#define PREFIX "$(prefix)"'; \
163 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
164 echo '#define BINDIR "$(bindir)"'; \
165 echo '#define SBINDIR "$(sbindir)"'; \
166 echo '#define LIBEXECDIR "$(libexecdir)"'; \
167 echo '#define DATAROOTDIR "$(datarootdir)"'; \
168 echo '#define DATADIR "$(datadir)"'; \
169 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
170 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
171 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
172 echo '#define INCLUDEDIR "$(includedir)"'; \
173 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
174 echo '#define DOCDIR "$(docdir)"'; \
175 echo '#define INFODIR "$(infodir)"'; \
176 echo '#define HTMLDIR "$(htmldir)"'; \
177 echo '#define DVIDIR "$(dvidir)"'; \
178 echo '#define PDFDIR "$(pdfdir)"'; \
179 echo '#define PSDIR "$(psdir)"'; \
180 echo '#define LIBDIR "$(libdir)"'; \
181 echo '#define LISPDIR "$(lispdir)"'; \
182 echo '#define LOCALEDIR "$(localedir)"'; \
183 echo '#define MANDIR "$(mandir)"'; \
184 echo '#define MANEXT "$(manext)"'; \
185 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
186 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
187 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
188 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
189 } | sed '/""/d' > $@-t && \
190 if test -f $@ && cmp $@-t $@ > /dev/null; then \
191 rm -f $@-t; \
192 else \
193 rm -f $@; mv $@-t $@; \
194 fi
195
196 BUILT_SOURCES += configmake.h
197 CLEANFILES += configmake.h configmake.h-t
198
199 ## end gnulib module configmake
200
201 ## begin gnulib module errno
202
203 BUILT_SOURCES += $(ERRNO_H)
204
205 # We need the following in order to create <errno.h> when the system
206 # doesn't have one that is POSIX compliant.
207 errno.h: errno.in.h
208 $(AM_V_GEN)rm -f $@-t $@ && \
209 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
210 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
211 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
212 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
213 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
214 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
215 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
216 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
217 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
218 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
219 < $(srcdir)/errno.in.h; \
220 } > $@-t && \
221 mv $@-t $@
222 MOSTLYCLEANFILES += errno.h errno.h-t
223
224 EXTRA_DIST += errno.in.h
225
226 ## end gnulib module errno
227
228 ## begin gnulib module float
229
230 BUILT_SOURCES += $(FLOAT_H)
231
232 # We need the following in order to create <float.h> when the system
233 # doesn't have one that works with the given compiler.
234 float.h: float.in.h
235 $(AM_V_GEN)rm -f $@-t $@ && \
236 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
237 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
238 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
239 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
240 < $(srcdir)/float.in.h; \
241 } > $@-t && \
242 mv $@-t $@
243 MOSTLYCLEANFILES += float.h float.h-t
244
245 EXTRA_DIST += float.in.h
246
247 ## end gnulib module float
248
249 ## begin gnulib module flock
250
251
252 EXTRA_DIST += flock.c
253
254 EXTRA_libgnu_la_SOURCES += flock.c
255
256 ## end gnulib module flock
257
258 ## begin gnulib module full-read
259
260 libgnu_la_SOURCES += full-read.h full-read.c
261
262 ## end gnulib module full-read
263
264 ## begin gnulib module full-write
265
266 libgnu_la_SOURCES += full-write.h full-write.c
267
268 ## end gnulib module full-write
269
270 ## begin gnulib module getpagesize
271
272
273 EXTRA_DIST += getpagesize.c
274
275 EXTRA_libgnu_la_SOURCES += getpagesize.c
276
277 ## end gnulib module getpagesize
278
279 ## begin gnulib module gperf
280
281 GPERF = gperf
282
283 ## end gnulib module gperf
284
285 ## begin gnulib module havelib
286
287
288 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
289
290 ## end gnulib module havelib
291
292 ## begin gnulib module iconv_open
293
294 BUILT_SOURCES += $(ICONV_H)
295
296 # We need the following in order to create <iconv.h> when the system
297 # doesn't have one that works with the given compiler.
298 iconv.h: iconv.in.h
299 $(AM_V_GEN)rm -f $@-t $@ && \
300 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
301 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
302 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
303 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
304 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
305 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
306 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
307 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
308 < $(srcdir)/iconv.in.h; \
309 } > $@-t && \
310 mv $@-t $@
311 MOSTLYCLEANFILES += iconv.h iconv.h-t
312
313 iconv_open-aix.h: iconv_open-aix.gperf
314 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
315 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
316 iconv_open-hpux.h: iconv_open-hpux.gperf
317 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
318 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
319 iconv_open-irix.h: iconv_open-irix.gperf
320 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
321 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
322 iconv_open-osf.h: iconv_open-osf.gperf
323 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
324 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
325 iconv_open-solaris.h: iconv_open-solaris.gperf
326 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
327 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
328 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
329 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
330 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
331 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
332
333 EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
334
335 EXTRA_libgnu_la_SOURCES += iconv_open.c
336
337 ## end gnulib module iconv_open
338
339 ## begin gnulib module iconv_open-utf
340
341
342 EXTRA_DIST += iconv.c iconv_close.c
343
344 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
345
346 ## end gnulib module iconv_open-utf
347
348 ## begin gnulib module inet_ntop
349
350
351 EXTRA_DIST += inet_ntop.c
352
353 EXTRA_libgnu_la_SOURCES += inet_ntop.c
354
355 ## end gnulib module inet_ntop
356
357 ## begin gnulib module inet_pton
358
359
360 EXTRA_DIST += inet_pton.c
361
362 EXTRA_libgnu_la_SOURCES += inet_pton.c
363
364 ## end gnulib module inet_pton
365
366 ## begin gnulib module lib-symbol-visibility
367
368 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
369 # compilation of all sources that make up the library. This line here does it
370 # only for the gnulib part of it. The developer is responsible for adding
371 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
372 AM_CFLAGS += $(CFLAG_VISIBILITY)
373
374 ## end gnulib module lib-symbol-visibility
375
376 ## begin gnulib module link-warning
377
378 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
379
380 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
381
382 ## end gnulib module link-warning
383
384 ## begin gnulib module localcharset
385
386 libgnu_la_SOURCES += localcharset.h localcharset.c
387
388 # We need the following in order to install a simple file in $(libdir)
389 # which is shared with other installed packages. We use a list of referencing
390 # packages so that "make uninstall" will remove the file if and only if it
391 # is not used by another installed package.
392 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
393 # avoid installing it.
394
395 all-local: charset.alias ref-add.sed ref-del.sed
396
397 charset_alias = $(DESTDIR)$(libdir)/charset.alias
398 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
399 install-exec-local: install-exec-localcharset
400 install-exec-localcharset: all-local
401 if test $(GLIBC21) = no; then \
402 case '$(host_os)' in \
403 darwin[56]*) \
404 need_charset_alias=true ;; \
405 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
406 need_charset_alias=false ;; \
407 *) \
408 need_charset_alias=true ;; \
409 esac ; \
410 else \
411 need_charset_alias=false ; \
412 fi ; \
413 if $$need_charset_alias; then \
414 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
415 fi ; \
416 if test -f $(charset_alias); then \
417 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
418 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
419 rm -f $(charset_tmp) ; \
420 else \
421 if $$need_charset_alias; then \
422 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
423 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
424 rm -f $(charset_tmp) ; \
425 fi ; \
426 fi
427
428 uninstall-local: uninstall-localcharset
429 uninstall-localcharset: all-local
430 if test -f $(charset_alias); then \
431 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
432 if grep '^# Packages using this file: $$' $(charset_tmp) \
433 > /dev/null; then \
434 rm -f $(charset_alias); \
435 else \
436 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
437 fi; \
438 rm -f $(charset_tmp); \
439 fi
440
441 charset.alias: config.charset
442 $(AM_V_GEN)rm -f t-$@ $@ && \
443 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
444 mv t-$@ $@
445
446 SUFFIXES += .sed .sin
447 .sin.sed:
448 $(AM_V_GEN)rm -f t-$@ $@ && \
449 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
450 mv t-$@ $@
451
452 CLEANFILES += charset.alias ref-add.sed ref-del.sed
453
454 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
455
456 ## end gnulib module localcharset
457
458 ## begin gnulib module lstat
459
460
461 EXTRA_DIST += lstat.c
462
463 EXTRA_libgnu_la_SOURCES += lstat.c
464
465 ## end gnulib module lstat
466
467 ## begin gnulib module malloc-posix
468
469
470 EXTRA_DIST += malloc.c
471
472 EXTRA_libgnu_la_SOURCES += malloc.c
473
474 ## end gnulib module malloc-posix
475
476 ## begin gnulib module malloca
477
478 libgnu_la_SOURCES += malloca.c
479
480 EXTRA_DIST += malloca.h malloca.valgrind
481
482 ## end gnulib module malloca
483
484 ## begin gnulib module mbrlen
485
486
487 EXTRA_DIST += mbrlen.c
488
489 EXTRA_libgnu_la_SOURCES += mbrlen.c
490
491 ## end gnulib module mbrlen
492
493 ## begin gnulib module mbrtowc
494
495
496 EXTRA_DIST += mbrtowc.c
497
498 EXTRA_libgnu_la_SOURCES += mbrtowc.c
499
500 ## end gnulib module mbrtowc
501
502 ## begin gnulib module mbsinit
503
504
505 EXTRA_DIST += mbsinit.c
506
507 EXTRA_libgnu_la_SOURCES += mbsinit.c
508
509 ## end gnulib module mbsinit
510
511 ## begin gnulib module memchr
512
513
514 EXTRA_DIST += memchr.c memchr.valgrind
515
516 EXTRA_libgnu_la_SOURCES += memchr.c
517
518 ## end gnulib module memchr
519
520 ## begin gnulib module netinet_in
521
522 BUILT_SOURCES += $(NETINET_IN_H)
523
524 # We need the following in order to create <netinet/in.h> when the system
525 # doesn't have one.
526 netinet/in.h: netinet_in.in.h
527 $(AM_V_at)$(MKDIR_P) netinet
528 $(AM_V_GEN)rm -f $@-t $@ && \
529 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
530 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
531 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
532 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
533 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
534 < $(srcdir)/netinet_in.in.h; \
535 } > $@-t && \
536 mv $@-t $@
537 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
538 MOSTLYCLEANDIRS += netinet
539
540 EXTRA_DIST += netinet_in.in.h
541
542 ## end gnulib module netinet_in
543
544 ## begin gnulib module pathmax
545
546
547 EXTRA_DIST += pathmax.h
548
549 ## end gnulib module pathmax
550
551 ## begin gnulib module putenv
552
553
554 EXTRA_DIST += putenv.c
555
556 EXTRA_libgnu_la_SOURCES += putenv.c
557
558 ## end gnulib module putenv
559
560 ## begin gnulib module readlink
561
562
563 EXTRA_DIST += readlink.c
564
565 EXTRA_libgnu_la_SOURCES += readlink.c
566
567 ## end gnulib module readlink
568
569 ## begin gnulib module safe-read
570
571
572 EXTRA_DIST += safe-read.c safe-read.h
573
574 EXTRA_libgnu_la_SOURCES += safe-read.c
575
576 ## end gnulib module safe-read
577
578 ## begin gnulib module safe-write
579
580
581 EXTRA_DIST += safe-write.c safe-write.h
582
583 EXTRA_libgnu_la_SOURCES += safe-write.c
584
585 ## end gnulib module safe-write
586
587 ## begin gnulib module size_max
588
589 libgnu_la_SOURCES += size_max.h
590
591 ## end gnulib module size_max
592
593 ## begin gnulib module stat
594
595
596 EXTRA_DIST += stat.c
597
598 EXTRA_libgnu_la_SOURCES += stat.c
599
600 ## end gnulib module stat
601
602 ## begin gnulib module stdbool
603
604 BUILT_SOURCES += $(STDBOOL_H)
605
606 # We need the following in order to create <stdbool.h> when the system
607 # doesn't have one that works.
608 stdbool.h: stdbool.in.h
609 $(AM_V_GEN)rm -f $@-t $@ && \
610 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
611 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
612 } > $@-t && \
613 mv $@-t $@
614 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
615
616 EXTRA_DIST += stdbool.in.h
617
618 ## end gnulib module stdbool
619
620 ## begin gnulib module stddef
621
622 BUILT_SOURCES += $(STDDEF_H)
623
624 # We need the following in order to create <stddef.h> when the system
625 # doesn't have one that works with the given compiler.
626 stddef.h: stddef.in.h
627 $(AM_V_GEN)rm -f $@-t $@ && \
628 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
629 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
630 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
631 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
632 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
633 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
634 < $(srcdir)/stddef.in.h; \
635 } > $@-t && \
636 mv $@-t $@
637 MOSTLYCLEANFILES += stddef.h stddef.h-t
638
639 EXTRA_DIST += stddef.in.h
640
641 ## end gnulib module stddef
642
643 ## begin gnulib module stdint
644
645 BUILT_SOURCES += $(STDINT_H)
646
647 # We need the following in order to create <stdint.h> when the system
648 # doesn't have one that works with the given compiler.
649 stdint.h: stdint.in.h
650 $(AM_V_GEN)rm -f $@-t $@ && \
651 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
652 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
653 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
654 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
655 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
656 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
657 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
658 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
659 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
660 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
661 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
662 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
663 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
664 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
665 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
666 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
667 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
668 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
669 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
670 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
671 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
672 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
673 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
674 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
675 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
676 < $(srcdir)/stdint.in.h; \
677 } > $@-t && \
678 mv $@-t $@
679 MOSTLYCLEANFILES += stdint.h stdint.h-t
680
681 EXTRA_DIST += stdint.in.h
682
683 ## end gnulib module stdint
684
685 ## begin gnulib module stdio
686
687 BUILT_SOURCES += stdio.h
688
689 # We need the following in order to create <stdio.h> when the system
690 # doesn't have one that works with the given compiler.
691 stdio.h: stdio.in.h
692 $(AM_V_GEN)rm -f $@-t $@ && \
693 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
694 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
695 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
696 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
697 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
698 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
699 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
700 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
701 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
702 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
703 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
704 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
705 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
706 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
707 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
708 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
709 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
710 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
711 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
712 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
713 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
714 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
715 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
716 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
717 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
718 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
719 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
720 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
721 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
722 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
723 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
724 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
725 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
726 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
727 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
728 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
729 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
730 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
731 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
732 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
733 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
734 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
735 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
736 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
737 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
738 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
739 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
740 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
741 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
742 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
743 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
744 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
745 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
746 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
747 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
748 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
749 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
750 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
751 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
752 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
753 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
754 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
755 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
756 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
757 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
758 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
759 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
760 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
761 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
762 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
763 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
764 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
765 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
766 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
767 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
768 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
769 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
770 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
771 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
772 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
773 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
774 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
775 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
776 < $(srcdir)/stdio.in.h; \
777 } > $@-t && \
778 mv $@-t $@
779 MOSTLYCLEANFILES += stdio.h stdio.h-t
780
781 EXTRA_DIST += stdio-write.c stdio.in.h
782
783 EXTRA_libgnu_la_SOURCES += stdio-write.c
784
785 ## end gnulib module stdio
786
787 ## begin gnulib module stdlib
788
789 BUILT_SOURCES += stdlib.h
790
791 # We need the following in order to create <stdlib.h> when the system
792 # doesn't have one that works with the given compiler.
793 stdlib.h: stdlib.in.h
794 $(AM_V_GEN)rm -f $@-t $@ && \
795 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
796 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
797 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
798 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
799 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
800 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
801 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
802 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
803 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
804 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
805 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
806 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
807 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
808 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
809 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
810 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
811 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
812 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
813 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
814 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
815 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
816 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
817 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
818 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
819 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
820 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
821 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
822 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
823 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
824 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
825 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
826 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
827 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
828 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
829 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
830 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
831 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
832 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
833 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
834 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
835 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
836 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
837 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
838 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
839 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
840 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
841 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
842 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
843 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
844 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
845 < $(srcdir)/stdlib.in.h; \
846 } > $@-t && \
847 mv $@-t $@
848 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
849
850 EXTRA_DIST += stdlib.in.h
851
852 ## end gnulib module stdlib
853
854 ## begin gnulib module strcase
855
856
857 EXTRA_DIST += strcasecmp.c strncasecmp.c
858
859 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
860
861 ## end gnulib module strcase
862
863 ## begin gnulib module streq
864
865
866 EXTRA_DIST += streq.h
867
868 ## end gnulib module streq
869
870 ## begin gnulib module strftime
871
872
873 EXTRA_DIST += strftime.c strftime.h
874
875 EXTRA_libgnu_la_SOURCES += strftime.c
876
877 ## end gnulib module strftime
878
879 ## begin gnulib module striconveh
880
881 libgnu_la_SOURCES += striconveh.h striconveh.c
882 if GL_COND_LIBTOOL
883 libgnu_la_LDFLAGS += $(LTLIBICONV)
884 endif
885
886 EXTRA_DIST += iconveh.h
887
888 ## end gnulib module striconveh
889
890 ## begin gnulib module string
891
892 BUILT_SOURCES += string.h
893
894 # We need the following in order to create <string.h> when the system
895 # doesn't have one that works with the given compiler.
896 string.h: string.in.h
897 $(AM_V_GEN)rm -f $@-t $@ && \
898 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
899 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
900 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
901 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
902 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
903 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
904 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
905 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
906 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
907 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
908 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
909 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
910 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
911 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
912 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
913 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
914 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
915 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
916 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
917 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
918 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
919 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
920 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
921 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
922 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
923 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
924 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
925 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
926 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
927 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
928 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
929 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
930 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
931 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
932 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
933 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
934 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
935 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
936 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
937 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
938 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
939 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
940 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
941 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
942 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
943 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
944 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
945 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
946 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
947 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
948 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
949 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
950 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
951 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
952 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
953 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
954 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
955 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
956 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
957 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
958 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
959 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
960 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
961 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
962 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
963 < $(srcdir)/string.in.h; \
964 } > $@-t && \
965 mv $@-t $@
966 MOSTLYCLEANFILES += string.h string.h-t
967
968 EXTRA_DIST += string.in.h
969
970 ## end gnulib module string
971
972 ## begin gnulib module strings
973
974 BUILT_SOURCES += strings.h
975
976 # We need the following in order to create <strings.h> when the system
977 # doesn't have one that works with the given compiler.
978 strings.h: strings.in.h
979 $(AM_V_GEN)rm -f $@-t $@ && \
980 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
981 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
982 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
983 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
984 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
985 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
986 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
987 < $(srcdir)/strings.in.h; \
988 } > $@-t && \
989 mv $@-t $@
990 MOSTLYCLEANFILES += strings.h strings.h-t
991
992 EXTRA_DIST += strings.in.h
993
994 ## end gnulib module strings
995
996 ## begin gnulib module sys_file
997
998 BUILT_SOURCES += $(SYS_FILE_H)
999
1000 # We need the following in order to create <sys/file.h> when the system
1001 # has one that is incomplete.
1002 sys/file.h: sys_file.in.h
1003 $(AM_V_at)$(MKDIR_P) sys
1004 $(AM_V_GEN)rm -f $@-t $@ && \
1005 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1006 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
1007 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1008 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1009 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1010 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1011 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
1012 < $(srcdir)/sys_file.in.h; \
1013 } > $@-t && \
1014 mv $@-t $@
1015 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1016 MOSTLYCLEANDIRS += sys
1017
1018 EXTRA_DIST += sys_file.in.h
1019
1020 ## end gnulib module sys_file
1021
1022 ## begin gnulib module sys_socket
1023
1024 BUILT_SOURCES += $(SYS_SOCKET_H)
1025
1026 # We need the following in order to create <sys/socket.h> when the system
1027 # doesn't have one that works with the given compiler.
1028 sys/socket.h: sys_socket.in.h
1029 $(AM_V_at)$(MKDIR_P) sys
1030 $(AM_V_GEN)rm -f $@-t $@ && \
1031 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1032 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1033 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1034 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1035 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1036 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1037 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1038 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1039 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1040 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1041 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1042 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1043 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1044 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1045 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1046 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1047 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1048 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1049 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1050 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1051 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1052 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1053 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1054 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1055 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1056 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1057 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1058 < $(srcdir)/sys_socket.in.h; \
1059 } > $@-t && \
1060 mv -f $@-t $@
1061 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1062 MOSTLYCLEANDIRS += sys
1063
1064 EXTRA_DIST += sys_socket.in.h
1065
1066 ## end gnulib module sys_socket
1067
1068 ## begin gnulib module sys_stat
1069
1070 BUILT_SOURCES += sys/stat.h
1071
1072 # We need the following in order to create <sys/stat.h> when the system
1073 # has one that is incomplete.
1074 sys/stat.h: sys_stat.in.h
1075 $(AM_V_at)$(MKDIR_P) sys
1076 $(AM_V_GEN)rm -f $@-t $@ && \
1077 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1078 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1079 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1080 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1081 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1082 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1083 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1084 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1085 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1086 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1087 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1088 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1089 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1090 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1091 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1092 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1093 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1094 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1095 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1096 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1097 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1098 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1099 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1100 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1101 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1102 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1103 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1104 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1105 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1106 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1107 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1108 < $(srcdir)/sys_stat.in.h; \
1109 } > $@-t && \
1110 mv $@-t $@
1111 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1112 MOSTLYCLEANDIRS += sys
1113
1114 EXTRA_DIST += sys_stat.in.h
1115
1116 ## end gnulib module sys_stat
1117
1118 ## begin gnulib module time
1119
1120 BUILT_SOURCES += time.h
1121
1122 # We need the following in order to create <time.h> when the system
1123 # doesn't have one that works with the given compiler.
1124 time.h: time.in.h
1125 $(AM_V_GEN)rm -f $@-t $@ && \
1126 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1127 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1128 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1129 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1130 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1131 -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1132 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1133 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1134 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1135 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1136 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1137 < $(srcdir)/time.in.h; \
1138 } > $@-t && \
1139 mv $@-t $@
1140 MOSTLYCLEANFILES += time.h time.h-t
1141
1142 EXTRA_DIST += time.in.h
1143
1144 ## end gnulib module time
1145
1146 ## begin gnulib module time_r
1147
1148
1149 EXTRA_DIST += time_r.c
1150
1151 EXTRA_libgnu_la_SOURCES += time_r.c
1152
1153 ## end gnulib module time_r
1154
1155 ## begin gnulib module unistd
1156
1157 BUILT_SOURCES += unistd.h
1158
1159 # We need the following in order to create an empty placeholder for
1160 # <unistd.h> when the system doesn't have one.
1161 unistd.h: unistd.in.h
1162 $(AM_V_GEN)rm -f $@-t $@ && \
1163 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1164 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1165 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1166 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1167 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1168 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1169 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1170 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1171 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1172 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1173 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1174 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1175 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1176 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1177 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1178 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1179 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1180 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1181 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1182 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1183 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1184 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1185 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1186 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1187 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1188 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1189 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1190 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1191 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1192 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1193 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1194 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1195 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1196 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1197 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1198 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1199 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1200 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1201 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1202 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1203 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1204 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1205 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1206 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1207 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1208 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1209 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1210 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1211 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1212 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1213 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1214 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1215 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1216 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1217 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1218 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1219 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1220 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1221 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1222 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1223 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1224 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1225 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1226 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1227 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1228 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1229 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1230 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1231 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1232 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1233 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1234 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1235 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1236 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1237 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1238 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1239 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1240 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1241 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1242 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1243 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1244 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1245 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1246 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1247 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1248 < $(srcdir)/unistd.in.h; \
1249 } > $@-t && \
1250 mv $@-t $@
1251 MOSTLYCLEANFILES += unistd.h unistd.h-t
1252
1253 EXTRA_DIST += unistd.in.h
1254
1255 ## end gnulib module unistd
1256
1257 ## begin gnulib module unistr/base
1258
1259
1260 EXTRA_DIST += unistr.h
1261
1262 ## end gnulib module unistr/base
1263
1264 ## begin gnulib module unistr/u8-mbtouc
1265
1266 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1267
1268 ## end gnulib module unistr/u8-mbtouc
1269
1270 ## begin gnulib module unistr/u8-mbtouc-unsafe
1271
1272 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1273
1274 ## end gnulib module unistr/u8-mbtouc-unsafe
1275
1276 ## begin gnulib module unistr/u8-mbtoucr
1277
1278 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1279
1280 ## end gnulib module unistr/u8-mbtoucr
1281
1282 ## begin gnulib module unistr/u8-prev
1283
1284 libgnu_la_SOURCES += unistr/u8-prev.c
1285
1286 ## end gnulib module unistr/u8-prev
1287
1288 ## begin gnulib module unistr/u8-uctomb
1289
1290 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1291
1292 ## end gnulib module unistr/u8-uctomb
1293
1294 ## begin gnulib module unitypes
1295
1296
1297 EXTRA_DIST += unitypes.h
1298
1299 ## end gnulib module unitypes
1300
1301 ## begin gnulib module vasnprintf
1302
1303
1304 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1305
1306 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1307
1308 ## end gnulib module vasnprintf
1309
1310 ## begin gnulib module verify
1311
1312 libgnu_la_SOURCES += verify.h
1313
1314 ## end gnulib module verify
1315
1316 ## begin gnulib module vsnprintf
1317
1318
1319 EXTRA_DIST += vsnprintf.c
1320
1321 EXTRA_libgnu_la_SOURCES += vsnprintf.c
1322
1323 ## end gnulib module vsnprintf
1324
1325 ## begin gnulib module wchar
1326
1327 BUILT_SOURCES += $(WCHAR_H)
1328
1329 # We need the following in order to create <wchar.h> when the system
1330 # version does not work standalone.
1331 wchar.h: wchar.in.h
1332 $(AM_V_GEN)rm -f $@-t $@ && \
1333 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1334 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1335 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1336 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1337 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1338 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1339 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1340 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1341 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1342 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1343 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1344 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1345 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1346 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1347 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1348 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1349 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1350 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1351 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1352 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1353 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1354 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1355 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1356 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1357 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1358 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1359 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1360 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1361 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1362 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1363 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1364 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1365 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1366 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1367 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1368 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1369 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1370 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1371 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1372 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1373 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1374 < $(srcdir)/wchar.in.h; \
1375 } > $@-t && \
1376 mv $@-t $@
1377 MOSTLYCLEANFILES += wchar.h wchar.h-t
1378
1379 EXTRA_DIST += wchar.in.h
1380
1381 ## end gnulib module wchar
1382
1383 ## begin gnulib module write
1384
1385
1386 EXTRA_DIST += write.c
1387
1388 EXTRA_libgnu_la_SOURCES += write.c
1389
1390 ## end gnulib module write
1391
1392 ## begin gnulib module xsize
1393
1394 libgnu_la_SOURCES += xsize.h
1395
1396 ## end gnulib module xsize
1397
1398
1399 mostlyclean-local: mostlyclean-generic
1400 @for dir in '' $(MOSTLYCLEANDIRS); do \
1401 if test -n "$$dir" && test -d $$dir; then \
1402 echo "rmdir $$dir"; rmdir $$dir; \
1403 fi; \
1404 done; \
1405 :