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