doc: Document the `sitedir' and `extensiondir' pkg-config variables.
[bpt/guile.git] / lib / Makefile.am
CommitLineData
103dc4d4
LC
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
49114fd4 3# Copyright (C) 2002-2011 Free Software Foundation, Inc.
103dc4d4
LC
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.
a67f2fce 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 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap canonicalize-lgpl ceil close connect duplocale environ extensions flock floor fpieee frexp full-read full-write func gendocs getaddrinfo getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen locale log1p maintainer-makefile malloc-gnu malloca nproc open pipe2 putenv recv recvfrom rename send sendto setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat trunc verify vsnprintf warnings wchar
103dc4d4 13
24d56127 14AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
103dc4d4 15
aa7a939c 16SUBDIRS =
103dc4d4
LC
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
f240aacb 30AM_CFLAGS =
103dc4d4
LC
31
32noinst_LTLIBRARIES += libgnu.la
33
34libgnu_la_SOURCES =
35libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37EXTRA_libgnu_la_SOURCES =
38libgnu_la_LDFLAGS = $(AM_LDFLAGS)
0f00f2c3 39libgnu_la_LDFLAGS += -no-undefined
dd36ce77 40libgnu_la_LDFLAGS += $(CEIL_LIBM)
b81eb646 41libgnu_la_LDFLAGS += $(FLOOR_LIBM)
dd36ce77 42libgnu_la_LDFLAGS += $(FREXP_LIBM)
0f00f2c3
LC
43libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
44libgnu_la_LDFLAGS += $(HOSTENT_LIB)
45libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
46libgnu_la_LDFLAGS += $(INET_PTON_LIB)
47libgnu_la_LDFLAGS += $(ISNAND_LIBM)
48libgnu_la_LDFLAGS += $(ISNANF_LIBM)
49libgnu_la_LDFLAGS += $(ISNANL_LIBM)
dd36ce77 50libgnu_la_LDFLAGS += $(LDEXP_LIBM)
0f00f2c3 51libgnu_la_LDFLAGS += $(LIBSOCKET)
b81eb646 52libgnu_la_LDFLAGS += $(LOG1P_LIBM)
0f00f2c3
LC
53libgnu_la_LDFLAGS += $(LTLIBICONV)
54libgnu_la_LDFLAGS += $(LTLIBINTL)
55libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
56libgnu_la_LDFLAGS += $(SERVENT_LIB)
49114fd4
LC
57libgnu_la_LDFLAGS += $(TRUNC_LIBM)
58
59## begin gnulib module accept
60
61
62EXTRA_DIST += accept.c w32sock.h
63
64EXTRA_libgnu_la_SOURCES += accept.c
65
66## end gnulib module accept
103dc4d4 67
8912421c
LC
68## begin gnulib module alignof
69
70
71EXTRA_DIST += alignof.h
72
73## end gnulib module alignof
74
103dc4d4
LC
75## begin gnulib module alloca-opt
76
77BUILT_SOURCES += $(ALLOCA_H)
78
79# We need the following in order to create <alloca.h> when the system
80# doesn't have one that works with the given compiler.
dd7d0148
LC
81if GL_GENERATE_ALLOCA_H
82alloca.h: alloca.in.h $(top_builddir)/config.status
8912421c 83 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4
LC
84 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
85 cat $(srcdir)/alloca.in.h; \
8912421c 86 } > $@-t && \
103dc4d4 87 mv -f $@-t $@
dd7d0148
LC
88else
89alloca.h: $(top_builddir)/config.status
90 rm -f $@
91endif
103dc4d4
LC
92MOSTLYCLEANFILES += alloca.h alloca.h-t
93
94EXTRA_DIST += alloca.in.h
95
96## end gnulib module alloca-opt
97
c84bdaf6
LC
98## begin gnulib module announce-gen
99
100
101EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
102
103## end gnulib module announce-gen
104
1cd4fffc
LC
105## begin gnulib module arg-nonnull
106
61cd9dc9
LC
107# The BUILT_SOURCES created by this Makefile snippet are not used via #include
108# statements but through direct file reference. Therefore this snippet must be
109# present in all Makefile.am that need it. This is ensured by the applicability
110# 'all' defined above.
111
1cd4fffc
LC
112BUILT_SOURCES += arg-nonnull.h
113# The arg-nonnull.h that gets inserted into generated .h files is the same as
114# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
115arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
116 $(AM_V_GEN)rm -f $@-t $@ && \
117 sed -n -e '/GL_ARG_NONNULL/,$$p' \
118 < $(top_srcdir)/build-aux/arg-nonnull.h \
119 > $@-t && \
120 mv $@-t $@
121MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
122
123ARG_NONNULL_H=arg-nonnull.h
124
125EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
126
127## end gnulib module arg-nonnull
128
8912421c
LC
129## begin gnulib module arpa_inet
130
61cd9dc9 131BUILT_SOURCES += arpa/inet.h
8912421c
LC
132
133# We need the following in order to create <arpa/inet.h> when the system
134# doesn't have one.
dd7d0148 135arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
136 $(AM_V_at)$(MKDIR_P) arpa
137 $(AM_V_GEN)rm -f $@-t $@ && \
138 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
139 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
140 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 141 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
142 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
143 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
8912421c
LC
144 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
145 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
3d458a81
AW
146 -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
147 -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
8912421c
LC
148 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
149 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
49114fd4 150 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 151 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 152 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
153 < $(srcdir)/arpa_inet.in.h; \
154 } > $@-t && \
155 mv $@-t $@
156MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
157MOSTLYCLEANDIRS += arpa
158
159EXTRA_DIST += arpa_inet.in.h
160
161## end gnulib module arpa_inet
162
3d458a81
AW
163## begin gnulib module binary-io
164
165libgnu_la_SOURCES += binary-io.h
166
167## end gnulib module binary-io
168
49114fd4
LC
169## begin gnulib module bind
170
171
172EXTRA_DIST += bind.c w32sock.h
173
174EXTRA_libgnu_la_SOURCES += bind.c
175
176## end gnulib module bind
177
24d56127
LC
178## begin gnulib module byteswap
179
180BUILT_SOURCES += $(BYTESWAP_H)
181
182# We need the following in order to create <byteswap.h> when the system
183# doesn't have one.
dd7d0148
LC
184if GL_GENERATE_BYTESWAP_H
185byteswap.h: byteswap.in.h $(top_builddir)/config.status
8912421c 186 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
187 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
188 cat $(srcdir)/byteswap.in.h; \
8912421c 189 } > $@-t && \
24d56127 190 mv -f $@-t $@
dd7d0148
LC
191else
192byteswap.h: $(top_builddir)/config.status
193 rm -f $@
194endif
24d56127
LC
195MOSTLYCLEANFILES += byteswap.h byteswap.h-t
196
197EXTRA_DIST += byteswap.in.h
198
199## end gnulib module byteswap
200
f4c79b3c
LC
201## begin gnulib module c++defs
202
203# The BUILT_SOURCES created by this Makefile snippet are not used via #include
204# statements but through direct file reference. Therefore this snippet must be
205# present in all Makefile.am that need it. This is ensured by the applicability
206# 'all' defined above.
207
208BUILT_SOURCES += c++defs.h
209# The c++defs.h that gets inserted into generated .h files is the same as
210# build-aux/c++defs.h, except that it has the copyright header cut off.
211c++defs.h: $(top_srcdir)/build-aux/c++defs.h
212 $(AM_V_GEN)rm -f $@-t $@ && \
213 sed -n -e '/_GL_CXXDEFS/,$$p' \
214 < $(top_srcdir)/build-aux/c++defs.h \
215 > $@-t && \
216 mv $@-t $@
217MOSTLYCLEANFILES += c++defs.h c++defs.h-t
218
219CXXDEFS_H=c++defs.h
220
221EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
222
223## end gnulib module c++defs
224
24d56127
LC
225## begin gnulib module c-ctype
226
227libgnu_la_SOURCES += c-ctype.h c-ctype.c
228
229## end gnulib module c-ctype
230
231## begin gnulib module c-strcase
232
233libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
234
235## end gnulib module c-strcase
236
237## begin gnulib module c-strcaseeq
238
239
240EXTRA_DIST += c-strcaseeq.h
241
242## end gnulib module c-strcaseeq
243
ffca4c22
AW
244## begin gnulib module canonicalize-lgpl
245
246
8912421c 247EXTRA_DIST += canonicalize-lgpl.c
ffca4c22
AW
248
249EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
250
251## end gnulib module canonicalize-lgpl
252
dd36ce77
MW
253## begin gnulib module ceil
254
255
256EXTRA_DIST += ceil.c
257
258EXTRA_libgnu_la_SOURCES += ceil.c
259
260## end gnulib module ceil
261
49114fd4
LC
262## begin gnulib module close
263
264
265EXTRA_DIST += close.c
266
267EXTRA_libgnu_la_SOURCES += close.c
268
269## end gnulib module close
270
49114fd4 271## begin gnulib module connect
4a462e35 272
49114fd4
LC
273
274EXTRA_DIST += connect.c w32sock.h
275
276EXTRA_libgnu_la_SOURCES += connect.c
277
278## end gnulib module connect
4a462e35 279
a67f2fce
AW
280## begin gnulib module dirname-lgpl
281
282libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
283
284EXTRA_DIST += dirname.h
285
286## end gnulib module dirname-lgpl
287
dd36ce77
MW
288## begin gnulib module dosname
289
290
291EXTRA_DIST += dosname.h
292
293## end gnulib module dosname
294
c3b16a5d
LC
295## begin gnulib module duplocale
296
297
298EXTRA_DIST += duplocale.c
299
300EXTRA_libgnu_la_SOURCES += duplocale.c
301
302## end gnulib module duplocale
303
c4b681fd
LC
304## begin gnulib module errno
305
306BUILT_SOURCES += $(ERRNO_H)
307
308# We need the following in order to create <errno.h> when the system
309# doesn't have one that is POSIX compliant.
dd7d0148
LC
310if GL_GENERATE_ERRNO_H
311errno.h: errno.in.h $(top_builddir)/config.status
8912421c 312 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 313 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
314 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
315 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 316 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 317 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
318 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
319 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
320 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
321 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
322 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
323 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
324 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
325 < $(srcdir)/errno.in.h; \
8912421c 326 } > $@-t && \
c4b681fd 327 mv $@-t $@
dd7d0148
LC
328else
329errno.h: $(top_builddir)/config.status
330 rm -f $@
331endif
c4b681fd
LC
332MOSTLYCLEANFILES += errno.h errno.h-t
333
334EXTRA_DIST += errno.in.h
335
336## end gnulib module errno
337
49114fd4
LC
338## begin gnulib module fclose
339
340
341EXTRA_DIST += fclose.c
342
343EXTRA_libgnu_la_SOURCES += fclose.c
344
345## end gnulib module fclose
346
3d458a81
AW
347## begin gnulib module fcntl-h
348
349BUILT_SOURCES += fcntl.h
350
351# We need the following in order to create <fcntl.h> when the system
352# doesn't have one that works with the given compiler.
353fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
354 $(AM_V_GEN)rm -f $@-t $@ && \
355 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
356 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
357 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
358 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
359 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
360 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
361 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
362 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
363 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
364 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
365 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
366 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
367 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
368 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
369 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
370 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
371 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
372 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
373 < $(srcdir)/fcntl.in.h; \
374 } > $@-t && \
375 mv $@-t $@
376MOSTLYCLEANFILES += fcntl.h fcntl.h-t
377
378EXTRA_DIST += fcntl.in.h
379
380## end gnulib module fcntl-h
381
dd7d0148
LC
382## begin gnulib module fd-hook
383
384libgnu_la_SOURCES += fd-hook.c
385
386EXTRA_DIST += fd-hook.h
387
388## end gnulib module fd-hook
389
3d458a81
AW
390## begin gnulib module fflush
391
392
393EXTRA_DIST += fflush.c stdio-impl.h
394
395EXTRA_libgnu_la_SOURCES += fflush.c
396
397## end gnulib module fflush
398
c4b681fd
LC
399## begin gnulib module float
400
401BUILT_SOURCES += $(FLOAT_H)
402
403# We need the following in order to create <float.h> when the system
404# doesn't have one that works with the given compiler.
dd7d0148
LC
405if GL_GENERATE_FLOAT_H
406float.h: float.in.h $(top_builddir)/config.status
8912421c 407 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 408 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
409 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
410 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 411 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 412 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
413 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
414 < $(srcdir)/float.in.h; \
8912421c 415 } > $@-t && \
c4b681fd 416 mv $@-t $@
dd7d0148
LC
417else
418float.h: $(top_builddir)/config.status
419 rm -f $@
420endif
c4b681fd
LC
421MOSTLYCLEANFILES += float.h float.h-t
422
231c0e0e
LC
423EXTRA_DIST += float.c float.in.h
424
425EXTRA_libgnu_la_SOURCES += float.c
c4b681fd
LC
426
427## end gnulib module float
428
f240aacb
LC
429## begin gnulib module flock
430
431
432EXTRA_DIST += flock.c
433
434EXTRA_libgnu_la_SOURCES += flock.c
435
436## end gnulib module flock
437
b81eb646
LC
438## begin gnulib module floor
439
440
441EXTRA_DIST += floor.c
442
443EXTRA_libgnu_la_SOURCES += floor.c
444
445## end gnulib module floor
446
3d458a81
AW
447## begin gnulib module fpurge
448
449
450EXTRA_DIST += fpurge.c stdio-impl.h
451
452EXTRA_libgnu_la_SOURCES += fpurge.c
453
454## end gnulib module fpurge
455
456## begin gnulib module freading
457
458libgnu_la_SOURCES += freading.c
459
460EXTRA_DIST += freading.h stdio-impl.h
461
462## end gnulib module freading
463
dd36ce77
MW
464## begin gnulib module frexp
465
466
467EXTRA_DIST += frexp.c
468
469EXTRA_libgnu_la_SOURCES += frexp.c
470
471## end gnulib module frexp
472
3d458a81
AW
473## begin gnulib module fseek
474
475
476EXTRA_DIST += fseek.c
477
478EXTRA_libgnu_la_SOURCES += fseek.c
479
480## end gnulib module fseek
481
482## begin gnulib module fseeko
483
484
485EXTRA_DIST += fseeko.c stdio-impl.h
486
487EXTRA_libgnu_la_SOURCES += fseeko.c
488
489## end gnulib module fseeko
490
491## begin gnulib module ftell
492
493
494EXTRA_DIST += ftell.c
495
496EXTRA_libgnu_la_SOURCES += ftell.c
497
498## end gnulib module ftell
499
500## begin gnulib module ftello
501
502
503EXTRA_DIST += ftello.c stdio-impl.h
504
505EXTRA_libgnu_la_SOURCES += ftello.c
506
507## end gnulib module ftello
508
9b36a80c
LC
509## begin gnulib module full-read
510
511libgnu_la_SOURCES += full-read.h full-read.c
512
dd7d0148
LC
513EXTRA_DIST += full-write.c
514
515EXTRA_libgnu_la_SOURCES += full-write.c
516
9b36a80c
LC
517## end gnulib module full-read
518
519## begin gnulib module full-write
520
521libgnu_la_SOURCES += full-write.h full-write.c
522
523## end gnulib module full-write
524
c84bdaf6
LC
525## begin gnulib module gendocs
526
527
528EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
529
530## end gnulib module gendocs
531
61cd9dc9
LC
532## begin gnulib module getaddrinfo
533
534
535EXTRA_DIST += gai_strerror.c getaddrinfo.c
536
537EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
538
539## end gnulib module getaddrinfo
540
49114fd4
LC
541## begin gnulib module getpeername
542
543
544EXTRA_DIST += getpeername.c w32sock.h
545
546EXTRA_libgnu_la_SOURCES += getpeername.c
547
548## end gnulib module getpeername
549
550## begin gnulib module getsockname
551
552
553EXTRA_DIST += getsockname.c w32sock.h
554
555EXTRA_libgnu_la_SOURCES += getsockname.c
556
557## end gnulib module getsockname
558
559## begin gnulib module getsockopt
560
561
562EXTRA_DIST += getsockopt.c w32sock.h
563
564EXTRA_libgnu_la_SOURCES += getsockopt.c
565
566## end gnulib module getsockopt
567
4f02b98d
LC
568## begin gnulib module gettext-h
569
570libgnu_la_SOURCES += gettext.h
571
572## end gnulib module gettext-h
573
5ad8e59f
LC
574## begin gnulib module git-version-gen
575
576
577EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
578
579## end gnulib module git-version-gen
580
c84bdaf6
LC
581## begin gnulib module gitlog-to-changelog
582
583
584EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
585
586## end gnulib module gitlog-to-changelog
587
588## begin gnulib module gnu-web-doc-update
589
590
591EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
592
593## end gnulib module gnu-web-doc-update
594
595## begin gnulib module gnumakefile
596
597distclean-local: clean-GNUmakefile
598clean-GNUmakefile:
599 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
600
601EXTRA_DIST += $(top_srcdir)/GNUmakefile
602
603## end gnulib module gnumakefile
604
605## begin gnulib module gnupload
606
607
608EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
609
610## end gnulib module gnupload
611
24d56127
LC
612## begin gnulib module gperf
613
614GPERF = gperf
615
616## end gnulib module gperf
617
618## begin gnulib module havelib
619
620
621EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
622
623## end gnulib module havelib
624
f4c79b3c 625## begin gnulib module iconv-h
24d56127
LC
626
627BUILT_SOURCES += $(ICONV_H)
628
629# We need the following in order to create <iconv.h> when the system
630# doesn't have one that works with the given compiler.
dd7d0148
LC
631if GL_GENERATE_ICONV_H
632iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 633 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127 634 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
635 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
636 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24d56127 637 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 638 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 639 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
3d458a81 640 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
24d56127
LC
641 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
642 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
643 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
644 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
f4c79b3c 645 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 646 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 647 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
24d56127 648 < $(srcdir)/iconv.in.h; \
8912421c 649 } > $@-t && \
24d56127 650 mv $@-t $@
dd7d0148
LC
651else
652iconv.h: $(top_builddir)/config.status
653 rm -f $@
654endif
24d56127
LC
655MOSTLYCLEANFILES += iconv.h iconv.h-t
656
f4c79b3c
LC
657EXTRA_DIST += iconv.in.h
658
659## end gnulib module iconv-h
660
661## begin gnulib module iconv_open
662
24d56127
LC
663iconv_open-aix.h: iconv_open-aix.gperf
664 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
665 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
666iconv_open-hpux.h: iconv_open-hpux.gperf
667 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
668 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
669iconv_open-irix.h: iconv_open-irix.gperf
670 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
671 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
672iconv_open-osf.h: iconv_open-osf.gperf
673 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
674 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
8912421c
LC
675iconv_open-solaris.h: iconv_open-solaris.gperf
676 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
677 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
678BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
679MOSTLYCLEANFILES += 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
680MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
681EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
24d56127 682
3d458a81 683EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
24d56127 684
3d458a81 685EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c
24d56127
LC
686
687## end gnulib module iconv_open
688
8912421c
LC
689## begin gnulib module inet_ntop
690
691
692EXTRA_DIST += inet_ntop.c
693
694EXTRA_libgnu_la_SOURCES += inet_ntop.c
695
696## end gnulib module inet_ntop
697
698## begin gnulib module inet_pton
699
700
701EXTRA_DIST += inet_pton.c
702
703EXTRA_libgnu_la_SOURCES += inet_pton.c
704
705## end gnulib module inet_pton
706
2e65b52f
LC
707## begin gnulib module isinf
708
709
710EXTRA_DIST += isinf.c
711
712EXTRA_libgnu_la_SOURCES += isinf.c
713
714## end gnulib module isinf
715
716## begin gnulib module isnand
717
718
719EXTRA_DIST += float+.h isnan.c isnand.c
720
721EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
722
723## end gnulib module isnand
724
dd36ce77
MW
725## begin gnulib module isnand-nolibm
726
727
728EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
729
730EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
731
732## end gnulib module isnand-nolibm
733
2e65b52f
LC
734## begin gnulib module isnanf
735
736
737EXTRA_DIST += float+.h isnan.c isnanf.c
738
739EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
740
741## end gnulib module isnanf
742
743## begin gnulib module isnanl
744
745
746EXTRA_DIST += float+.h isnan.c isnanl.c
747
748EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
749
750## end gnulib module isnanl
751
d9a9e182
AW
752## begin gnulib module lib-symbol-visibility
753
754# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
755# compilation of all sources that make up the library. This line here does it
756# only for the gnulib part of it. The developer is responsible for adding
757# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
758AM_CFLAGS += $(CFLAG_VISIBILITY)
759
760## end gnulib module lib-symbol-visibility
761
a927b6c1
LC
762## begin gnulib module libunistring
763
764
765EXTRA_DIST += libunistring.valgrind
766
767## end gnulib module libunistring
768
49114fd4 769## begin gnulib module listen
4a462e35 770
4a462e35 771
49114fd4 772EXTRA_DIST += listen.c w32sock.h
4a462e35 773
49114fd4 774EXTRA_libgnu_la_SOURCES += listen.c
4a462e35 775
49114fd4 776## end gnulib module listen
4a462e35 777
414e4441
LC
778## begin gnulib module locale
779
61cd9dc9 780BUILT_SOURCES += locale.h
414e4441
LC
781
782# We need the following in order to create <locale.h> when the system
783# doesn't have one that provides all definitions.
dd7d0148 784locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
414e4441
LC
785 $(AM_V_GEN)rm -f $@-t $@ && \
786 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
787 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
788 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
414e4441 789 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 790 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414e4441 791 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
3d458a81
AW
792 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
793 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
f4c79b3c 794 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
414e4441 795 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
49114fd4 796 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
414e4441 797 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
f4c79b3c 798 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 799 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 800 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
414e4441
LC
801 < $(srcdir)/locale.in.h; \
802 } > $@-t && \
803 mv $@-t $@
804MOSTLYCLEANFILES += locale.h locale.h-t
805
806EXTRA_DIST += locale.in.h
807
808## end gnulib module locale
809
3d458a81
AW
810## begin gnulib module lseek
811
812
813EXTRA_DIST += lseek.c
814
815EXTRA_libgnu_la_SOURCES += lseek.c
816
817## end gnulib module lseek
818
8912421c
LC
819## begin gnulib module lstat
820
821
822EXTRA_DIST += lstat.c
823
824EXTRA_libgnu_la_SOURCES += lstat.c
825
826## end gnulib module lstat
827
c84bdaf6
LC
828## begin gnulib module maintainer-makefile
829
830EXTRA_DIST += $(top_srcdir)/maint.mk
831
832## end gnulib module maintainer-makefile
833
49114fd4
LC
834## begin gnulib module malloc-gnu
835
836
837EXTRA_DIST += malloc.c
838
839EXTRA_libgnu_la_SOURCES += malloc.c
840
841## end gnulib module malloc-gnu
842
f240aacb
LC
843## begin gnulib module malloc-posix
844
845
846EXTRA_DIST += malloc.c
847
848EXTRA_libgnu_la_SOURCES += malloc.c
849
850## end gnulib module malloc-posix
851
ffca4c22
AW
852## begin gnulib module malloca
853
854libgnu_la_SOURCES += malloca.c
855
856EXTRA_DIST += malloca.h malloca.valgrind
857
858## end gnulib module malloca
859
2e65b52f
LC
860## begin gnulib module math
861
862BUILT_SOURCES += math.h
863
864# We need the following in order to create <math.h> when the system
865# doesn't have one that works with the given compiler.
dd7d0148 866math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2e65b52f
LC
867 $(AM_V_GEN)rm -f $@-t $@ && \
868 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
869 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
870 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
2e65b52f 871 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 872 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2e65b52f 873 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
3d458a81
AW
874 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
875 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
876 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
877 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
878 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
879 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
880 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
881 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
882 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
883 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
884 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
885 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
886 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
887 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
888 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
889 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
890 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
891 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
892 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
893 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
894 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
895 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
896 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
897 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
898 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
899 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
900 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
901 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
902 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
903 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
904 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
905 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
49114fd4
LC
906 < $(srcdir)/math.in.h | \
907 sed -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
2e65b52f
LC
908 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
909 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
910 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
911 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
912 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
913 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
914 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
915 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
916 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
917 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
918 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
919 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
920 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
921 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
922 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
923 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
924 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
925 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
926 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
927 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
928 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
929 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
930 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
931 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
932 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
933 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
934 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
935 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
936 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
937 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
938 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
939 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
940 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
49114fd4
LC
941 | \
942 sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
2e65b52f
LC
943 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
944 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
49114fd4 945 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
2e65b52f
LC
946 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
947 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
948 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
949 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
950 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
951 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
952 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
953 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
954 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
955 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
956 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
957 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
958 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
959 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
960 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
49114fd4
LC
961 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
962 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
2e65b52f
LC
963 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
964 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
965 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 966 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2e65b52f
LC
967 } > $@-t && \
968 mv $@-t $@
969MOSTLYCLEANFILES += math.h math.h-t
970
971EXTRA_DIST += math.in.h
972
973## end gnulib module math
974
c4b681fd
LC
975## begin gnulib module memchr
976
977
978EXTRA_DIST += memchr.c memchr.valgrind
979
980EXTRA_libgnu_la_SOURCES += memchr.c
981
982## end gnulib module memchr
983
61cd9dc9
LC
984## begin gnulib module netdb
985
a927b6c1 986BUILT_SOURCES += netdb.h
61cd9dc9
LC
987
988# We need the following in order to create <netdb.h> when the system
989# doesn't have one that works with the given compiler.
3d458a81 990netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
61cd9dc9
LC
991 $(AM_V_GEN)rm -f $@-t $@ && \
992 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
993 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
994 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
61cd9dc9 995 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 996 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61cd9dc9
LC
997 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
998 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
3d458a81 999 -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
61cd9dc9
LC
1000 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
1001 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
1002 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
1003 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
1004 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
3d458a81
AW
1005 -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
1006 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
61cd9dc9 1007 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
a927b6c1 1008 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
61cd9dc9
LC
1009 < $(srcdir)/netdb.in.h; \
1010 } > $@-t && \
1011 mv $@-t $@
1012MOSTLYCLEANFILES += netdb.h netdb.h-t
1013
1014EXTRA_DIST += netdb.in.h
1015
1016## end gnulib module netdb
1017
8912421c
LC
1018## begin gnulib module netinet_in
1019
1020BUILT_SOURCES += $(NETINET_IN_H)
1021
1022# We need the following in order to create <netinet/in.h> when the system
1023# doesn't have one.
dd7d0148
LC
1024if GL_GENERATE_NETINET_IN_H
1025netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
8912421c
LC
1026 $(AM_V_at)$(MKDIR_P) netinet
1027 $(AM_V_GEN)rm -f $@-t $@ && \
1028 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1029 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1030 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1031 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1032 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1033 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1034 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1035 < $(srcdir)/netinet_in.in.h; \
1036 } > $@-t && \
1037 mv $@-t $@
dd7d0148
LC
1038else
1039netinet/in.h: $(top_builddir)/config.status
1040 rm -f $@
1041endif
8912421c
LC
1042MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1043MOSTLYCLEANDIRS += netinet
1044
1045EXTRA_DIST += netinet_in.in.h
1046
1047## end gnulib module netinet_in
1048
0f00f2c3
LC
1049## begin gnulib module nproc
1050
1051libgnu_la_SOURCES += nproc.c
1052
1053EXTRA_DIST += nproc.h
1054
1055## end gnulib module nproc
1056
3d458a81
AW
1057## begin gnulib module open
1058
1059
1060EXTRA_DIST += open.c
1061
1062EXTRA_libgnu_la_SOURCES += open.c
1063
1064## end gnulib module open
1065
ffca4c22
AW
1066## begin gnulib module pathmax
1067
1068
1069EXTRA_DIST += pathmax.h
1070
1071## end gnulib module pathmax
1072
3d458a81
AW
1073## begin gnulib module pipe2
1074
1075libgnu_la_SOURCES += pipe2.c
1076
1077## end gnulib module pipe2
1078
f240aacb
LC
1079## begin gnulib module putenv
1080
1081
1082EXTRA_DIST += putenv.c
1083
1084EXTRA_libgnu_la_SOURCES += putenv.c
1085
1086## end gnulib module putenv
1087
dd7d0148
LC
1088## begin gnulib module read
1089
1090
1091EXTRA_DIST += read.c
1092
1093EXTRA_libgnu_la_SOURCES += read.c
1094
1095## end gnulib module read
1096
ffca4c22
AW
1097## begin gnulib module readlink
1098
1099
1100EXTRA_DIST += readlink.c
1101
1102EXTRA_libgnu_la_SOURCES += readlink.c
1103
1104## end gnulib module readlink
1105
49114fd4
LC
1106## begin gnulib module recv
1107
1108
1109EXTRA_DIST += recv.c w32sock.h
1110
1111EXTRA_libgnu_la_SOURCES += recv.c
1112
1113## end gnulib module recv
1114
1115## begin gnulib module recvfrom
1116
1117
1118EXTRA_DIST += recvfrom.c w32sock.h
1119
1120EXTRA_libgnu_la_SOURCES += recvfrom.c
1121
1122## end gnulib module recvfrom
1123
a67f2fce
AW
1124## begin gnulib module rename
1125
1126
1127EXTRA_DIST += rename.c
1128
1129EXTRA_libgnu_la_SOURCES += rename.c
1130
1131## end gnulib module rename
1132
1133## begin gnulib module rmdir
1134
1135
1136EXTRA_DIST += rmdir.c
1137
1138EXTRA_libgnu_la_SOURCES += rmdir.c
1139
1140## end gnulib module rmdir
1141
9b36a80c
LC
1142## begin gnulib module safe-read
1143
3d458a81 1144libgnu_la_SOURCES += safe-read.c
9b36a80c 1145
3d458a81 1146EXTRA_DIST += safe-read.h
9b36a80c
LC
1147
1148## end gnulib module safe-read
1149
1150## begin gnulib module safe-write
1151
3d458a81 1152libgnu_la_SOURCES += safe-write.c
9b36a80c 1153
3d458a81 1154EXTRA_DIST += safe-read.c safe-write.h
9b36a80c 1155
3d458a81 1156EXTRA_libgnu_la_SOURCES += safe-read.c
9b36a80c
LC
1157
1158## end gnulib module safe-write
1159
a67f2fce
AW
1160## begin gnulib module same-inode
1161
1162
1163EXTRA_DIST += same-inode.h
1164
1165## end gnulib module same-inode
1166
49114fd4
LC
1167## begin gnulib module send
1168
1169
1170EXTRA_DIST += send.c w32sock.h
1171
1172EXTRA_libgnu_la_SOURCES += send.c
1173
1174## end gnulib module send
1175
1176## begin gnulib module sendto
1177
1178
1179EXTRA_DIST += sendto.c w32sock.h
1180
1181EXTRA_libgnu_la_SOURCES += sendto.c
1182
1183## end gnulib module sendto
1184
1185## begin gnulib module setsockopt
1186
1187
1188EXTRA_DIST += setsockopt.c w32sock.h
1189
1190EXTRA_libgnu_la_SOURCES += setsockopt.c
1191
1192## end gnulib module setsockopt
1193
1194## begin gnulib module shutdown
1195
1196
1197EXTRA_DIST += shutdown.c w32sock.h
1198
1199EXTRA_libgnu_la_SOURCES += shutdown.c
1200
1201## end gnulib module shutdown
1202
c4b681fd
LC
1203## begin gnulib module size_max
1204
1205libgnu_la_SOURCES += size_max.h
1206
1207## end gnulib module size_max
1208
61cd9dc9
LC
1209## begin gnulib module snprintf
1210
1211
1212EXTRA_DIST += snprintf.c
1213
1214EXTRA_libgnu_la_SOURCES += snprintf.c
1215
1216## end gnulib module snprintf
1217
49114fd4
LC
1218## begin gnulib module socket
1219
1220
1221EXTRA_DIST += socket.c w32sock.h
1222
1223EXTRA_libgnu_la_SOURCES += socket.c
1224
1225## end gnulib module socket
1226
0f00f2c3
LC
1227## begin gnulib module sockets
1228
1229libgnu_la_SOURCES += sockets.h sockets.c
1230
1231EXTRA_DIST += w32sock.h
1232
1233## end gnulib module sockets
1234
8912421c
LC
1235## begin gnulib module stat
1236
1237
1238EXTRA_DIST += stat.c
1239
1240EXTRA_libgnu_la_SOURCES += stat.c
1241
1242## end gnulib module stat
1243
9157d901
LC
1244## begin gnulib module stat-time
1245
1246
1247EXTRA_DIST += stat-time.h
1248
1249## end gnulib module stat-time
1250
e65fc94b
LC
1251## begin gnulib module stdbool
1252
1253BUILT_SOURCES += $(STDBOOL_H)
1254
1255# We need the following in order to create <stdbool.h> when the system
1256# doesn't have one that works.
dd7d0148
LC
1257if GL_GENERATE_STDBOOL_H
1258stdbool.h: stdbool.in.h $(top_builddir)/config.status
8912421c 1259 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1260 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1261 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 1262 } > $@-t && \
e65fc94b 1263 mv $@-t $@
dd7d0148
LC
1264else
1265stdbool.h: $(top_builddir)/config.status
1266 rm -f $@
1267endif
e65fc94b
LC
1268MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1269
1270EXTRA_DIST += stdbool.in.h
1271
1272## end gnulib module stdbool
1273
8912421c
LC
1274## begin gnulib module stddef
1275
1276BUILT_SOURCES += $(STDDEF_H)
1277
1278# We need the following in order to create <stddef.h> when the system
1279# doesn't have one that works with the given compiler.
dd7d0148
LC
1280if GL_GENERATE_STDDEF_H
1281stddef.h: stddef.in.h $(top_builddir)/config.status
8912421c
LC
1282 $(AM_V_GEN)rm -f $@-t $@ && \
1283 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1284 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1285 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1286 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1287 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1288 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1289 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1290 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1291 < $(srcdir)/stddef.in.h; \
1292 } > $@-t && \
1293 mv $@-t $@
dd7d0148
LC
1294else
1295stddef.h: $(top_builddir)/config.status
1296 rm -f $@
1297endif
8912421c
LC
1298MOSTLYCLEANFILES += stddef.h stddef.h-t
1299
1300EXTRA_DIST += stddef.in.h
1301
1302## end gnulib module stddef
1303
f240aacb
LC
1304## begin gnulib module stdint
1305
1306BUILT_SOURCES += $(STDINT_H)
1307
1308# We need the following in order to create <stdint.h> when the system
1309# doesn't have one that works with the given compiler.
dd7d0148
LC
1310if GL_GENERATE_STDINT_H
1311stdint.h: stdint.in.h $(top_builddir)/config.status
8912421c 1312 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1313 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1314 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1315 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f240aacb
LC
1316 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1317 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1318 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1319 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1320 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1321 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1322 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1323 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
dd36ce77 1324 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f240aacb
LC
1325 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1326 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1327 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1328 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1329 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1330 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1331 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1332 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1333 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1334 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1335 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1336 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1337 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1338 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1339 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1340 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1341 < $(srcdir)/stdint.in.h; \
8912421c 1342 } > $@-t && \
f240aacb 1343 mv $@-t $@
dd7d0148
LC
1344else
1345stdint.h: $(top_builddir)/config.status
1346 rm -f $@
1347endif
f240aacb
LC
1348MOSTLYCLEANFILES += stdint.h stdint.h-t
1349
1350EXTRA_DIST += stdint.in.h
1351
1352## end gnulib module stdint
1353
c4b681fd
LC
1354## begin gnulib module stdio
1355
1356BUILT_SOURCES += stdio.h
1357
1358# We need the following in order to create <stdio.h> when the system
1359# doesn't have one that works with the given compiler.
dd7d0148 1360stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1361 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 1362 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1363 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1364 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 1365 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1366 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 1367 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
3d458a81
AW
1368 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1369 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1370 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1371 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1372 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1373 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1374 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1375 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1376 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1377 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1378 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1379 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1380 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1381 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1382 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1383 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1384 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1385 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1386 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1387 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1388 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1389 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1390 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1391 -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
1392 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1393 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1394 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1395 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1396 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1397 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1398 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1399 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1400 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1401 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1402 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1403 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1404 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1405 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1406 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1407 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1408 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1409 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1410 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1411 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1412 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1413 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1414 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1415 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1416 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1417 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1418 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1419 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
61cd9dc9
LC
1420 < $(srcdir)/stdio.in.h | \
1421 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
ab4d62ad
LC
1422 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1423 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
8912421c
LC
1424 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1425 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1426 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 1427 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 1428 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 1429 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
a927b6c1
LC
1430 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1431 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
8912421c 1432 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 1433 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
1434 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1435 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1436 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1437 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 1438 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
1439 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1440 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 1441 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 1442 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 1443 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 1444 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 1445 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
61cd9dc9 1446 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
c4b681fd 1447 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 1448 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 1449 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
1450 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1451 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1452 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1453 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1454 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1455 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1456 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
dd7d0148 1457 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
8912421c 1458 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
a927b6c1 1459 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
8912421c
LC
1460 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1461 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1462 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1463 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1464 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1465 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
a927b6c1 1466 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
f4c79b3c 1467 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1468 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1469 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1470 } > $@-t && \
c4b681fd
LC
1471 mv $@-t $@
1472MOSTLYCLEANFILES += stdio.h stdio.h-t
1473
dd36ce77 1474EXTRA_DIST += stdio.in.h
c4b681fd
LC
1475
1476## end gnulib module stdio
1477
f240aacb
LC
1478## begin gnulib module stdlib
1479
1480BUILT_SOURCES += stdlib.h
1481
1482# We need the following in order to create <stdlib.h> when the system
1483# doesn't have one that works with the given compiler.
dd7d0148 1484stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1485 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1486 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1487 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1488 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f240aacb 1489 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1490 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb 1491 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
3d458a81
AW
1492 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1493 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1494 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1495 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1496 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1497 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1498 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1499 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1500 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1501 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1502 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1503 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1504 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1505 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1506 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1507 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1508 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1509 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1510 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1511 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1512 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1513 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1514 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1515 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1516 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1517 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1518 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1519 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
49114fd4
LC
1520 < $(srcdir)/stdlib.in.h | \
1521 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
f240aacb 1522 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
8912421c
LC
1523 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1524 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb 1525 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
a927b6c1 1526 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
f240aacb 1527 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 1528 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b 1529 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
a927b6c1 1530 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
f29ded4b 1531 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
a927b6c1 1532 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
8912421c 1533 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 1534 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c 1535 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb 1536 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
ab4d62ad 1537 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
f240aacb
LC
1538 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1539 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1540 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1541 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1542 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
a927b6c1 1543 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
ab4d62ad 1544 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
9157d901 1545 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
8912421c 1546 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
9157d901 1547 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
dd36ce77 1548 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
f240aacb
LC
1549 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1550 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
9157d901 1551 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
8912421c 1552 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 1553 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 1554 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 1555 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
dd36ce77 1556 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
f4c79b3c 1557 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1558 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 1559 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1560 } > $@-t && \
f240aacb
LC
1561 mv $@-t $@
1562MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1563
1564EXTRA_DIST += stdlib.in.h
1565
1566## end gnulib module stdlib
1567
e65fc94b
LC
1568## begin gnulib module strftime
1569
3d458a81 1570libgnu_la_SOURCES += strftime.c
e65fc94b 1571
3d458a81 1572EXTRA_DIST += strftime.h
e65fc94b
LC
1573
1574## end gnulib module strftime
1575
24d56127
LC
1576## begin gnulib module striconveh
1577
1578libgnu_la_SOURCES += striconveh.h striconveh.c
1579if GL_COND_LIBTOOL
1580libgnu_la_LDFLAGS += $(LTLIBICONV)
1581endif
1582
1583EXTRA_DIST += iconveh.h
1584
1585## end gnulib module striconveh
1586
1587## begin gnulib module string
1588
1589BUILT_SOURCES += string.h
1590
1591# We need the following in order to create <string.h> when the system
1592# doesn't have one that works with the given compiler.
dd7d0148 1593string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1594 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127 1595 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1596 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1597 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24d56127 1598 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1599 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 1600 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
3d458a81
AW
1601 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1602 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1603 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1604 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1605 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1606 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1607 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1608 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1609 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1610 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1611 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1612 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1613 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1614 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1615 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1616 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1617 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1618 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1619 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1620 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1621 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1622 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1623 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1624 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1625 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1626 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1627 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1628 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1629 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1630 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1631 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1632 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1633 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1634 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1635 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
61cd9dc9
LC
1636 < $(srcdir)/string.in.h | \
1637 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
a927b6c1 1638 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
24d56127
LC
1639 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1640 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1641 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1642 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1643 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1644 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1645 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1646 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
1647 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1648 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1649 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1650 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1651 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1652 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
0f00f2c3 1653 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
24d56127
LC
1654 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1655 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
a927b6c1 1656 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
ffca4c22 1657 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
1658 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1659 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
dd7d0148 1660 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
24d56127
LC
1661 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1662 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1663 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
0f00f2c3 1664 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
a927b6c1 1665 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
8912421c 1666 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
a927b6c1 1667 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
24d56127 1668 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
1669 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1670 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
f4c79b3c 1671 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1672 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1673 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
24d56127 1674 < $(srcdir)/string.in.h; \
8912421c 1675 } > $@-t && \
24d56127
LC
1676 mv $@-t $@
1677MOSTLYCLEANFILES += string.h string.h-t
1678
1679EXTRA_DIST += string.in.h
1680
1681## end gnulib module string
1682
f240aacb
LC
1683## begin gnulib module sys_file
1684
61cd9dc9 1685BUILT_SOURCES += sys/file.h
f240aacb
LC
1686
1687# We need the following in order to create <sys/file.h> when the system
1688# has one that is incomplete.
dd7d0148 1689sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
8912421c
LC
1690 $(AM_V_at)$(MKDIR_P) sys
1691 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1692 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1693 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1694 -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
f240aacb
LC
1695 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1696 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1697 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1698 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1699 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1700 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
61cd9dc9 1701 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
f240aacb 1702 < $(srcdir)/sys_file.in.h; \
8912421c 1703 } > $@-t && \
f240aacb
LC
1704 mv $@-t $@
1705MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1706MOSTLYCLEANDIRS += sys
1707
1708EXTRA_DIST += sys_file.in.h
1709
1710## end gnulib module sys_file
1711
8912421c
LC
1712## begin gnulib module sys_socket
1713
61cd9dc9 1714BUILT_SOURCES += sys/socket.h
8912421c
LC
1715
1716# We need the following in order to create <sys/socket.h> when the system
1717# doesn't have one that works with the given compiler.
dd7d0148 1718sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
1719 $(AM_V_at)$(MKDIR_P) sys
1720 $(AM_V_GEN)rm -f $@-t $@ && \
1721 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1722 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1723 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1724 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1725 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1726 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1727 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
3d458a81
AW
1728 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1729 -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
1730 -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
1731 -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
1732 -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
1733 -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
1734 -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
1735 -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
1736 -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
1737 -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
1738 -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
1739 -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
1740 -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
1741 -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
1742 -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
1743 -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
8912421c
LC
1744 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1745 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1746 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
0f00f2c3 1747 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
8912421c
LC
1748 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1749 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
f4c79b3c 1750 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1751 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1752 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1753 < $(srcdir)/sys_socket.in.h; \
1754 } > $@-t && \
1755 mv -f $@-t $@
1756MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1757MOSTLYCLEANDIRS += sys
1758
1759EXTRA_DIST += sys_socket.in.h
1760
1761## end gnulib module sys_socket
1762
1763## begin gnulib module sys_stat
1764
1765BUILT_SOURCES += sys/stat.h
1766
1767# We need the following in order to create <sys/stat.h> when the system
1768# has one that is incomplete.
dd7d0148 1769sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c
LC
1770 $(AM_V_at)$(MKDIR_P) sys
1771 $(AM_V_GEN)rm -f $@-t $@ && \
1772 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1773 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1774 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1775 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1776 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c 1777 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
3d458a81
AW
1778 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1779 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1780 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1781 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1782 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1783 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1784 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1785 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1786 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1787 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1788 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1789 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
8912421c
LC
1790 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1791 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1792 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1793 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1794 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1795 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 1796 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 1797 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 1798 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
1799 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1800 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1801 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1802 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1803 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1804 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1805 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
1806 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1807 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
1808 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1809 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
f4c79b3c 1810 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1811 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1812 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1813 < $(srcdir)/sys_stat.in.h; \
1814 } > $@-t && \
1815 mv $@-t $@
1816MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1817MOSTLYCLEANDIRS += sys
1818
1819EXTRA_DIST += sys_stat.in.h
1820
1821## end gnulib module sys_stat
1822
49114fd4
LC
1823## begin gnulib module sys_time
1824
1825BUILT_SOURCES += sys/time.h
1826
1827# We need the following in order to create <sys/time.h> when the system
1828# doesn't have one that works with the given compiler.
dd7d0148 1829sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
49114fd4
LC
1830 $(AM_V_at)$(MKDIR_P) sys
1831 $(AM_V_GEN)rm -f $@-t $@ && \
1832 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1833 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1834 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
49114fd4
LC
1835 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1836 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1837 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1838 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1839 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1840 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1841 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1842 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1843 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1844 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1845 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1846 < $(srcdir)/sys_time.in.h; \
1847 } > $@-t && \
1848 mv $@-t $@
1849MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1850
1851EXTRA_DIST += sys_time.in.h
1852
1853## end gnulib module sys_time
1854
dd7d0148
LC
1855## begin gnulib module sys_uio
1856
1857BUILT_SOURCES += sys/uio.h
1858
1859# We need the following in order to create <sys/uio.h> when the system
1860# doesn't have one that works with the given compiler.
1861sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
1862 $(AM_V_at)$(MKDIR_P) sys
1863 $(AM_V_GEN)rm -f $@-t $@ && \
1864 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1865 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1866 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
dd7d0148
LC
1867 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1868 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1869 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
1870 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
1871 < $(srcdir)/sys_uio.in.h; \
1872 } > $@-t && \
1873 mv -f $@-t $@
1874MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
1875MOSTLYCLEANDIRS += sys
1876
1877EXTRA_DIST += sys_uio.in.h
1878
1879## end gnulib module sys_uio
1880
e65fc94b
LC
1881## begin gnulib module time
1882
1883BUILT_SOURCES += time.h
1884
1885# We need the following in order to create <time.h> when the system
1886# doesn't have one that works with the given compiler.
dd7d0148 1887time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1888 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 1889 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1890 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1891 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 1892 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1893 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f4c79b3c 1894 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
3d458a81
AW
1895 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1896 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1897 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1898 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1899 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
49114fd4 1900 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
a927b6c1
LC
1901 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1902 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1903 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
f4c79b3c
LC
1904 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1905 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1906 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
f4c79b3c 1907 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
6f32e5c7 1908 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
f4c79b3c
LC
1909 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1910 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1911 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1912 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 1913 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
e65fc94b 1914 < $(srcdir)/time.in.h; \
8912421c 1915 } > $@-t && \
e65fc94b
LC
1916 mv $@-t $@
1917MOSTLYCLEANFILES += time.h time.h-t
1918
1919EXTRA_DIST += time.in.h
1920
1921## end gnulib module time
1922
1923## begin gnulib module time_r
1924
1925
1926EXTRA_DIST += time_r.c
1927
1928EXTRA_libgnu_la_SOURCES += time_r.c
1929
1930## end gnulib module time_r
1931
49114fd4
LC
1932## begin gnulib module trunc
1933
1934
1935EXTRA_DIST += trunc.c
1936
1937EXTRA_libgnu_la_SOURCES += trunc.c
1938
1939## end gnulib module trunc
1940
9b36a80c
LC
1941## begin gnulib module unistd
1942
1943BUILT_SOURCES += unistd.h
1944
1945# We need the following in order to create an empty placeholder for
1946# <unistd.h> when the system doesn't have one.
dd7d0148 1947unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1948 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c 1949 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1950 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1951 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
9b36a80c
LC
1952 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1953 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1954 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
9b36a80c 1955 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
3d458a81
AW
1956 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1957 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1958 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1959 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1960 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1961 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1962 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1963 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1964 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1965 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1966 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1967 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1968 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1969 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1970 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1971 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1972 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1973 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1974 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1975 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1976 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1977 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1978 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1979 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1980 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1981 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1982 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1983 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1984 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1985 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1986 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1987 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1988 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1989 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1990 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1991 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1992 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1993 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/$(GNULIB_UNISTD_H_GETOPT)/g' \
1994 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1995 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1996 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1997 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1998 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1999 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
61cd9dc9
LC
2000 < $(srcdir)/unistd.in.h | \
2001 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 2002 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 2003 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 2004 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c 2005 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
a927b6c1 2006 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
8912421c 2007 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
9b36a80c
LC
2008 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2009 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
9b36a80c 2010 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 2011 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c 2012 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
61cd9dc9 2013 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
9b36a80c 2014 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
3d458a81 2015 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
f29ded4b 2016 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 2017 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c 2018 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
ab4d62ad 2019 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
8912421c 2020 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1cd4fffc 2021 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
a927b6c1 2022 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
9b36a80c 2023 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 2024 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
9b36a80c 2025 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
2026 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2027 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2028 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
414e4441 2029 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
9b36a80c 2030 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
ab4d62ad 2031 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
0f00f2c3 2032 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
9b36a80c 2033 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
a927b6c1
LC
2034 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2035 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
ab4d62ad 2036 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
9b36a80c
LC
2037 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2038 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
49114fd4
LC
2039 | \
2040 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
9b36a80c 2041 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 2042 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 2043 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
8912421c 2044 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
9b36a80c 2045 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
0f00f2c3 2046 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
49114fd4 2047 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
f29ded4b 2048 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c
LC
2049 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2050 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
2051 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2052 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 2053 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1cd4fffc 2054 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
a927b6c1 2055 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
dd7d0148 2056 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
8912421c
LC
2057 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2058 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
414e4441 2059 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
8912421c 2060 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
a927b6c1 2061 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
8912421c
LC
2062 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2063 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
414e4441 2064 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
9b36a80c
LC
2065 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2066 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 2067 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
f4c79b3c 2068 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2069 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2070 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2071 } > $@-t && \
9b36a80c
LC
2072 mv $@-t $@
2073MOSTLYCLEANFILES += unistd.h unistd.h-t
2074
2075EXTRA_DIST += unistd.in.h
2076
2077## end gnulib module unistd
2078
24d56127
LC
2079## begin gnulib module unistr/base
2080
a927b6c1 2081BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
24d56127 2082
a927b6c1
LC
2083unistr.h: unistr.in.h
2084 $(AM_V_GEN)rm -f $@-t $@ && \
2085 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2086 cat $(srcdir)/unistr.in.h; \
2087 } > $@-t && \
2088 mv -f $@-t $@
2089MOSTLYCLEANFILES += unistr.h unistr.h-t
2090
2091EXTRA_DIST += unistr.in.h
24d56127
LC
2092
2093## end gnulib module unistr/base
2094
2095## begin gnulib module unistr/u8-mbtouc
2096
6f32e5c7
LC
2097if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
2098libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
2099endif
24d56127
LC
2100
2101## end gnulib module unistr/u8-mbtouc
2102
2103## begin gnulib module unistr/u8-mbtouc-unsafe
2104
6f32e5c7
LC
2105if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
2106libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
2107endif
24d56127
LC
2108
2109## end gnulib module unistr/u8-mbtouc-unsafe
2110
2111## begin gnulib module unistr/u8-mbtoucr
2112
6f32e5c7
LC
2113if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2114libgnu_la_SOURCES += unistr/u8-mbtoucr.c
2115endif
24d56127
LC
2116
2117## end gnulib module unistr/u8-mbtoucr
2118
2119## begin gnulib module unistr/u8-prev
2120
6f32e5c7
LC
2121if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
2122libgnu_la_SOURCES += unistr/u8-prev.c
2123endif
24d56127
LC
2124
2125## end gnulib module unistr/u8-prev
2126
2127## begin gnulib module unistr/u8-uctomb
2128
6f32e5c7
LC
2129if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2130libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2131endif
24d56127
LC
2132
2133## end gnulib module unistr/u8-uctomb
2134
2135## begin gnulib module unitypes
2136
a927b6c1
LC
2137BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2138
2139unitypes.h: unitypes.in.h
2140 $(AM_V_GEN)rm -f $@-t $@ && \
2141 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2142 cat $(srcdir)/unitypes.in.h; \
2143 } > $@-t && \
2144 mv -f $@-t $@
2145MOSTLYCLEANFILES += unitypes.h unitypes.h-t
24d56127 2146
a927b6c1 2147EXTRA_DIST += unitypes.in.h
24d56127
LC
2148
2149## end gnulib module unitypes
2150
61cd9dc9
LC
2151## begin gnulib module unused-parameter
2152
2153# The BUILT_SOURCES created by this Makefile snippet are not used via #include
2154# statements but through direct file reference. Therefore this snippet must be
2155# present in all Makefile.am that need it. This is ensured by the applicability
2156# 'all' defined above.
2157
2158BUILT_SOURCES += unused-parameter.h
2159# The unused-parameter.h that gets inserted into generated .h files is the same
2160# as build-aux/unused-parameter.h, except that it has the copyright header cut
2161# off.
2162unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
2163 $(AM_V_GEN)rm -f $@-t $@ && \
2164 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
2165 < $(top_srcdir)/build-aux/unused-parameter.h \
2166 > $@-t && \
2167 mv $@-t $@
2168MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
2169
2170UNUSED_PARAMETER_H=unused-parameter.h
2171
2172EXTRA_DIST += $(top_srcdir)/build-aux/unused-parameter.h
2173
2174## end gnulib module unused-parameter
2175
c84bdaf6
LC
2176## begin gnulib module useless-if-before-free
2177
2178
2179EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2180
2181## end gnulib module useless-if-before-free
2182
c4b681fd
LC
2183## begin gnulib module vasnprintf
2184
2185
2186EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2187
2188EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2189
2190## end gnulib module vasnprintf
2191
c84bdaf6
LC
2192## begin gnulib module vc-list-files
2193
2194
2195EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2196
2197## end gnulib module vc-list-files
2198
d7014610
LC
2199## begin gnulib module verify
2200
3d458a81
AW
2201
2202EXTRA_DIST += verify.h
d7014610
LC
2203
2204## end gnulib module verify
2205
c4b681fd
LC
2206## begin gnulib module vsnprintf
2207
2208
2209EXTRA_DIST += vsnprintf.c
2210
2211EXTRA_libgnu_la_SOURCES += vsnprintf.c
2212
2213## end gnulib module vsnprintf
2214
61cd9dc9
LC
2215## begin gnulib module warn-on-use
2216
2217BUILT_SOURCES += warn-on-use.h
2218# The warn-on-use.h that gets inserted into generated .h files is the same as
2219# build-aux/warn-on-use.h, except that it has the copyright header cut off.
2220warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
2221 $(AM_V_GEN)rm -f $@-t $@ && \
2222 sed -n -e '/^.ifndef/,$$p' \
2223 < $(top_srcdir)/build-aux/warn-on-use.h \
2224 > $@-t && \
2225 mv $@-t $@
2226MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
2227
2228WARN_ON_USE_H=warn-on-use.h
2229
2230EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
2231
2232## end gnulib module warn-on-use
2233
e65fc94b
LC
2234## begin gnulib module wchar
2235
61cd9dc9 2236BUILT_SOURCES += wchar.h
e65fc94b
LC
2237
2238# We need the following in order to create <wchar.h> when the system
2239# version does not work standalone.
dd7d0148 2240wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2241 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 2242 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2243 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2244 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 2245 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
2246 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2247 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
e65fc94b 2248 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35 2249 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
3d458a81
AW
2250 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2251 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2252 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2253 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2254 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2255 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2256 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2257 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2258 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2259 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2260 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2261 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2262 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2263 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2264 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2265 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2266 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2267 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2268 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2269 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2270 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2271 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2272 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2273 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2274 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2275 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2276 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2277 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2278 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2279 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2280 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2281 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2282 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2283 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2284 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2285 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2286 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2287 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2288 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
49114fd4
LC
2289 < $(srcdir)/wchar.in.h | \
2290 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
4a462e35
NJ
2291 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2292 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2293 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2294 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2295 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2296 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2297 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2298 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2299 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
49114fd4
LC
2300 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2301 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2302 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2303 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2304 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2305 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2306 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2307 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2308 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2309 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2310 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2311 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2312 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2313 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2314 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2315 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2316 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2317 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2318 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2319 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2320 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2321 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2322 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2323 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2324 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2325 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2326 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2327 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
4a462e35 2328 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 2329 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
49114fd4
LC
2330 | \
2331 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
4a462e35
NJ
2332 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2333 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2334 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2335 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2336 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2337 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2338 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2339 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2340 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 2341 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b 2342 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
49114fd4 2343 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
f4c79b3c 2344 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2345 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 2346 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2347 } > $@-t && \
e65fc94b
LC
2348 mv $@-t $@
2349MOSTLYCLEANFILES += wchar.h wchar.h-t
2350
2351EXTRA_DIST += wchar.in.h
2352
2353## end gnulib module wchar
2354
9b36a80c
LC
2355## begin gnulib module write
2356
2357
2358EXTRA_DIST += write.c
103dc4d4 2359
9b36a80c 2360EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 2361
9b36a80c 2362## end gnulib module write
103dc4d4 2363
c4b681fd
LC
2364## begin gnulib module xsize
2365
2366libgnu_la_SOURCES += xsize.h
2367
2368## end gnulib module xsize
2369
103dc4d4
LC
2370
2371mostlyclean-local: mostlyclean-generic
2372 @for dir in '' $(MOSTLYCLEANDIRS); do \
2373 if test -n "$$dir" && test -d $$dir; then \
2374 echo "rmdir $$dir"; rmdir $$dir; \
2375 fi; \
2376 done; \
2377 :