Import the strerror_r-posix module and use it in GDB.
[deliverable/binutils-gdb.git] / gnulib / import / Makefile.am
CommitLineData
f6ea5628
DJ
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
5e8754f9 3# Copyright (C) 2002-2016 Free Software Foundation, Inc.
f6ea5628 4#
770d76d7
PA
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This file is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
5e8754f9 16# along with this file. If not, see <http://www.gnu.org/licenses/>.
770d76d7
PA
17#
18# As a special exception to the GNU General Public License,
19# this file may be distributed as part of a program that
20# contains a configuration script generated by Autoconf, under
f6ea5628
DJ
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
5abebf3c 24# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca canonicalize-lgpl dirent dirfd errno fnmatch-gnu frexpl getcwd glob inet_ntop inttypes limits-h lstat memchr memmem mkdir mkdtemp mkostemp pathmax rawmemchr readlink rename setenv signal-h strchrnul strerror_r-posix strstr strtok_r sys_stat unistd unsetenv update-copyright wchar wctype-h
5e8754f9 25
5abebf3c 26AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects
f6ea5628 27
f434ba03 28SUBDIRS =
f6ea5628
DJ
29noinst_HEADERS =
30noinst_LIBRARIES =
31noinst_LTLIBRARIES =
32EXTRA_DIST =
33BUILT_SOURCES =
34SUFFIXES =
35MOSTLYCLEANFILES = core *.stackdump
36MOSTLYCLEANDIRS =
37CLEANFILES =
38DISTCLEANFILES =
39MAINTAINERCLEANFILES =
f434ba03 40EXTRA_DIST += m4/gnulib-cache.m4
f6ea5628
DJ
41
42AM_CPPFLAGS =
f434ba03 43AM_CFLAGS =
f6ea5628
DJ
44
45noinst_LIBRARIES += libgnu.a
46
47libgnu_a_SOURCES =
48libgnu_a_LIBADD = $(gl_LIBOBJS)
49libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
50EXTRA_libgnu_a_SOURCES =
51
4a626d0a
PA
52## begin gnulib module absolute-header
53
54# Use this preprocessor expression to decide whether #include_next works.
55# Do not rely on a 'configure'-time test for this, since the expression
56# might appear in an installed header, which is used by some other compiler.
57HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
58
59## end gnulib module absolute-header
60
8690e634
JK
61## begin gnulib module alloca
62
63
64libgnu_a_LIBADD += @ALLOCA@
65libgnu_a_DEPENDENCIES += @ALLOCA@
66EXTRA_DIST += alloca.c
67
68EXTRA_libgnu_a_SOURCES += alloca.c
69
70## end gnulib module alloca
71
72## begin gnulib module alloca-opt
73
74BUILT_SOURCES += $(ALLOCA_H)
75
76# We need the following in order to create <alloca.h> when the system
77# doesn't have one that works with the given compiler.
78if GL_GENERATE_ALLOCA_H
79alloca.h: alloca.in.h $(top_builddir)/config.status
80 $(AM_V_GEN)rm -f $@-t $@ && \
81 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
82 cat $(srcdir)/alloca.in.h; \
83 } > $@-t && \
84 mv -f $@-t $@
85else
86alloca.h: $(top_builddir)/config.status
87 rm -f $@
88endif
89MOSTLYCLEANFILES += alloca.h alloca.h-t
90
91EXTRA_DIST += alloca.in.h
92
93## end gnulib module alloca-opt
94
725e2999
JB
95## begin gnulib module arpa_inet
96
97BUILT_SOURCES += arpa/inet.h
98
99# We need the following in order to create <arpa/inet.h> when the system
100# doesn't have one.
101arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
102 $(AM_V_at)$(MKDIR_P) arpa
103 $(AM_V_GEN)rm -f $@-t $@ && \
104 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
105 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
106 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
107 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
108 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
109 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
110 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
111 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
112 -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
113 -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
114 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
115 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
116 -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
117 -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
118 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
119 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
120 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
121 < $(srcdir)/arpa_inet.in.h; \
122 } > $@-t && \
123 mv $@-t $@
124MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
125MOSTLYCLEANDIRS += arpa
126
127EXTRA_DIST += arpa_inet.in.h
128
129## end gnulib module arpa_inet
130
6ec2e0f5
SDJ
131## begin gnulib module assure
132
133
134EXTRA_DIST += assure.h
135
136## end gnulib module assure
137
138## begin gnulib module at-internal
139
140
141EXTRA_DIST += openat-priv.h openat-proc.c
142
143EXTRA_libgnu_a_SOURCES += openat-proc.c
144
145## end gnulib module at-internal
146
98399780
YQ
147## begin gnulib module canonicalize-lgpl
148
149
150EXTRA_DIST += canonicalize-lgpl.c
151
152EXTRA_libgnu_a_SOURCES += canonicalize-lgpl.c
153
154## end gnulib module canonicalize-lgpl
155
6ec2e0f5
SDJ
156## begin gnulib module chdir-long
157
158
159EXTRA_DIST += chdir-long.c chdir-long.h
160
161EXTRA_libgnu_a_SOURCES += chdir-long.c
162
163## end gnulib module chdir-long
164
165## begin gnulib module cloexec
166
167libgnu_a_SOURCES += cloexec.c
168
169EXTRA_DIST += cloexec.h
170
171## end gnulib module cloexec
172
173## begin gnulib module close
174
175
176EXTRA_DIST += close.c
177
178EXTRA_libgnu_a_SOURCES += close.c
179
180## end gnulib module close
181
182## begin gnulib module closedir
183
184
185EXTRA_DIST += closedir.c dirent-private.h
186
187EXTRA_libgnu_a_SOURCES += closedir.c
188
189## end gnulib module closedir
190
5e8754f9
SDJ
191## begin gnulib module configmake
192
193# Listed in the same order as the GNU makefile conventions, and
194# provided by autoconf 2.59c+ or 2.70.
195# The Automake-defined pkg* macros are appended, in the order
196# listed in the Automake 1.10a+ documentation.
197configmake.h: Makefile
198 $(AM_V_GEN)rm -f $@-t && \
199 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
200 echo '#define PREFIX "$(prefix)"'; \
201 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
202 echo '#define BINDIR "$(bindir)"'; \
203 echo '#define SBINDIR "$(sbindir)"'; \
204 echo '#define LIBEXECDIR "$(libexecdir)"'; \
205 echo '#define DATAROOTDIR "$(datarootdir)"'; \
206 echo '#define DATADIR "$(datadir)"'; \
207 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
208 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
209 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
210 echo '#define RUNSTATEDIR "$(runstatedir)"'; \
211 echo '#define INCLUDEDIR "$(includedir)"'; \
212 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
213 echo '#define DOCDIR "$(docdir)"'; \
214 echo '#define INFODIR "$(infodir)"'; \
215 echo '#define HTMLDIR "$(htmldir)"'; \
216 echo '#define DVIDIR "$(dvidir)"'; \
217 echo '#define PDFDIR "$(pdfdir)"'; \
218 echo '#define PSDIR "$(psdir)"'; \
219 echo '#define LIBDIR "$(libdir)"'; \
220 echo '#define LISPDIR "$(lispdir)"'; \
221 echo '#define LOCALEDIR "$(localedir)"'; \
222 echo '#define MANDIR "$(mandir)"'; \
223 echo '#define MANEXT "$(manext)"'; \
224 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
225 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
226 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
227 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
228 } | sed '/""/d' > $@-t && \
229 mv -f $@-t $@
230
231BUILT_SOURCES += configmake.h
232CLEANFILES += configmake.h configmake.h-t
233
234## end gnulib module configmake
235
e26b6bb0
TT
236## begin gnulib module dirent
237
238BUILT_SOURCES += dirent.h
239
240# We need the following in order to create <dirent.h> when the system
241# doesn't have one that works with the given compiler.
242dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
243 $(AM_V_GEN)rm -f $@-t $@ && \
244 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
245 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
246 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
247 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
249 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
250 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
251 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
252 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
253 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
254 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
255 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
256 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
257 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
258 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
259 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
260 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
261 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
262 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
263 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
264 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
265 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
266 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
267 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
268 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
269 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
270 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
271 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
272 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
273 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
274 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
275 < $(srcdir)/dirent.in.h; \
276 } > $@-t && \
277 mv $@-t $@
278MOSTLYCLEANFILES += dirent.h dirent.h-t
279
280EXTRA_DIST += dirent.in.h
281
282## end gnulib module dirent
283
18848e28
GF
284## begin gnulib module dirfd
285
286
287EXTRA_DIST += dirfd.c
288
289EXTRA_libgnu_a_SOURCES += dirfd.c
290
291## end gnulib module dirfd
292
6a29c58e
YQ
293## begin gnulib module dirname-lgpl
294
295libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
296
297EXTRA_DIST += dirname.h
298
299## end gnulib module dirname-lgpl
300
2196f55f
YQ
301## begin gnulib module dosname
302
303
304EXTRA_DIST += dosname.h
305
306## end gnulib module dosname
307
6ec2e0f5
SDJ
308## begin gnulib module dup
309
310
311EXTRA_DIST += dup.c
312
313EXTRA_libgnu_a_SOURCES += dup.c
314
315## end gnulib module dup
316
317## begin gnulib module dup2
318
319
320EXTRA_DIST += dup2.c
321
322EXTRA_libgnu_a_SOURCES += dup2.c
323
324## end gnulib module dup2
325
18848e28
GF
326## begin gnulib module errno
327
328BUILT_SOURCES += $(ERRNO_H)
329
330# We need the following in order to create <errno.h> when the system
331# doesn't have one that is POSIX compliant.
332if GL_GENERATE_ERRNO_H
333errno.h: errno.in.h $(top_builddir)/config.status
334 $(AM_V_GEN)rm -f $@-t $@ && \
335 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
336 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
337 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
338 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
339 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
340 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
341 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
342 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
343 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
344 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
345 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
346 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
347 < $(srcdir)/errno.in.h; \
348 } > $@-t && \
349 mv $@-t $@
350else
351errno.h: $(top_builddir)/config.status
352 rm -f $@
353endif
354MOSTLYCLEANFILES += errno.h errno.h-t
355
356EXTRA_DIST += errno.in.h
357
358## end gnulib module errno
359
6ec2e0f5
SDJ
360## begin gnulib module error
361
362
363EXTRA_DIST += error.c error.h
364
365EXTRA_libgnu_a_SOURCES += error.c
366
367## end gnulib module error
368
369## begin gnulib module exitfail
370
371libgnu_a_SOURCES += exitfail.c
372
373EXTRA_DIST += exitfail.h
374
375## end gnulib module exitfail
376
377## begin gnulib module fchdir
378
379
380EXTRA_DIST += fchdir.c
381
382EXTRA_libgnu_a_SOURCES += fchdir.c
383
384## end gnulib module fchdir
385
386## begin gnulib module fcntl
387
388
389EXTRA_DIST += fcntl.c
390
391EXTRA_libgnu_a_SOURCES += fcntl.c
392
393## end gnulib module fcntl
394
395## begin gnulib module fcntl-h
396
397BUILT_SOURCES += fcntl.h
398
399# We need the following in order to create <fcntl.h> when the system
400# doesn't have one that works with the given compiler.
401fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
402 $(AM_V_GEN)rm -f $@-t $@ && \
403 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
404 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
405 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
406 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
407 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
408 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
409 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
410 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
411 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
412 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
413 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
414 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
415 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
416 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
417 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
418 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
419 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
420 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
421 < $(srcdir)/fcntl.in.h; \
422 } > $@-t && \
423 mv $@-t $@
424MOSTLYCLEANFILES += fcntl.h fcntl.h-t
425
426EXTRA_DIST += fcntl.in.h
427
428## end gnulib module fcntl-h
429
430## begin gnulib module fd-hook
431
432libgnu_a_SOURCES += fd-hook.c
433
434EXTRA_DIST += fd-hook.h
435
436## end gnulib module fd-hook
437
438## begin gnulib module fdopendir
439
440
441EXTRA_DIST += fdopendir.c
442
443EXTRA_libgnu_a_SOURCES += fdopendir.c
444
445## end gnulib module fdopendir
446
447## begin gnulib module filename
448
449
450EXTRA_DIST += filename.h
451
452## end gnulib module filename
453
454## begin gnulib module filenamecat-lgpl
455
456libgnu_a_SOURCES += filenamecat-lgpl.c
457
458EXTRA_DIST += filenamecat.h
459
460## end gnulib module filenamecat-lgpl
461
49e4877c
PA
462## begin gnulib module flexmember
463
464
465EXTRA_DIST += flexmember.h
466
467## end gnulib module flexmember
468
88b48903
WN
469## begin gnulib module float
470
471BUILT_SOURCES += $(FLOAT_H)
472
473# We need the following in order to create <float.h> when the system
474# doesn't have one that works with the given compiler.
475if GL_GENERATE_FLOAT_H
476float.h: float.in.h $(top_builddir)/config.status
477 $(AM_V_GEN)rm -f $@-t $@ && \
478 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
479 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
480 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
481 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
482 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
483 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
484 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
485 < $(srcdir)/float.in.h; \
486 } > $@-t && \
487 mv $@-t $@
488else
489float.h: $(top_builddir)/config.status
490 rm -f $@
491endif
492MOSTLYCLEANFILES += float.h float.h-t
493
494EXTRA_DIST += float.c float.in.h itold.c
495
496EXTRA_libgnu_a_SOURCES += float.c itold.c
497
498## end gnulib module float
499
8690e634
JK
500## begin gnulib module fnmatch
501
502BUILT_SOURCES += $(FNMATCH_H)
503
5e8754f9
SDJ
504# We need the following in order to create <fnmatch.h> when the system
505# doesn't have one that supports the required API.
8690e634 506if GL_GENERATE_FNMATCH_H
5e8754f9 507fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
8690e634 508 $(AM_V_GEN)rm -f $@-t $@ && \
5e8754f9
SDJ
509 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
510 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
8690e634
JK
511 < $(srcdir)/fnmatch.in.h; \
512 } > $@-t && \
5e8754f9 513 mv -f $@-t $@
8690e634
JK
514else
515fnmatch.h: $(top_builddir)/config.status
516 rm -f $@
517endif
518MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
519
5e8754f9
SDJ
520EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
521
522EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
8690e634 523
5e8754f9 524## end gnulib module fnmatch
8690e634 525
88b48903
WN
526## begin gnulib module fpucw
527
528
529EXTRA_DIST += fpucw.h
530
531## end gnulib module fpucw
532
533## begin gnulib module frexp
534
535
536EXTRA_DIST += frexp.c
537
538EXTRA_libgnu_a_SOURCES += frexp.c
539
540## end gnulib module frexp
541
542## begin gnulib module frexpl
543
544
545EXTRA_DIST += frexp.c frexpl.c
546
547EXTRA_libgnu_a_SOURCES += frexp.c frexpl.c
548
549## end gnulib module frexpl
550
6ec2e0f5
SDJ
551## begin gnulib module fstat
552
553
5e8754f9 554EXTRA_DIST += fstat.c
6ec2e0f5 555
5e8754f9 556EXTRA_libgnu_a_SOURCES += fstat.c
6ec2e0f5
SDJ
557
558## end gnulib module fstat
559
560## begin gnulib module fstatat
561
562
563EXTRA_DIST += at-func.c fstatat.c
564
565EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
566
567## end gnulib module fstatat
568
569## begin gnulib module getcwd
570
571
572EXTRA_DIST += getcwd.c
573
574EXTRA_libgnu_a_SOURCES += getcwd.c
575
576## end gnulib module getcwd
577
578## begin gnulib module getcwd-lgpl
579
580
581EXTRA_DIST += getcwd-lgpl.c
582
583EXTRA_libgnu_a_SOURCES += getcwd-lgpl.c
584
585## end gnulib module getcwd-lgpl
586
587## begin gnulib module getdtablesize
588
589
590EXTRA_DIST += getdtablesize.c
591
592EXTRA_libgnu_a_SOURCES += getdtablesize.c
593
594## end gnulib module getdtablesize
595
596## begin gnulib module getlogin_r
597
598
599EXTRA_DIST += getlogin_r.c
600
601EXTRA_libgnu_a_SOURCES += getlogin_r.c
602
603## end gnulib module getlogin_r
604
605## begin gnulib module getprogname
606
607libgnu_a_SOURCES += getprogname.h getprogname.c
608
609## end gnulib module getprogname
610
611## begin gnulib module gettext-h
612
613libgnu_a_SOURCES += gettext.h
614
615## end gnulib module gettext-h
616
4a626d0a
PA
617## begin gnulib module gettimeofday
618
619
620EXTRA_DIST += gettimeofday.c
621
622EXTRA_libgnu_a_SOURCES += gettimeofday.c
623
624## end gnulib module gettimeofday
625
6ec2e0f5
SDJ
626## begin gnulib module glob
627
628BUILT_SOURCES += $(GLOB_H)
629
5e8754f9
SDJ
630# We need the following in order to create <glob.h> when the system
631# doesn't have one that works with the given compiler.
6ec2e0f5
SDJ
632if GL_GENERATE_GLOB_H
633glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
634 $(AM_V_GEN)rm -f $@-t $@ && \
5e8754f9
SDJ
635 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
636 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
6ec2e0f5
SDJ
637 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
638 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
639 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
640 < $(srcdir)/glob.in.h; \
641 } > $@-t && \
5e8754f9 642 mv -f $@-t $@
6ec2e0f5
SDJ
643else
644glob.h: $(top_builddir)/config.status
645 rm -f $@
646endif
647MOSTLYCLEANFILES += glob.h glob.h-t
648
5e8754f9 649EXTRA_DIST += glob-libc.h glob.c glob.in.h
6ec2e0f5 650
5e8754f9
SDJ
651EXTRA_libgnu_a_SOURCES += glob.c
652
653## end gnulib module glob
6ec2e0f5 654
49e4877c
PA
655## begin gnulib module hard-locale
656
657libgnu_a_SOURCES += hard-locale.c
658
659EXTRA_DIST += hard-locale.h
660
661## end gnulib module hard-locale
662
5abebf3c
CB
663## begin gnulib module havelib
664
665
666EXTRA_DIST += $(top_srcdir)/import/extra/config.rpath
667
668## end gnulib module havelib
669
725e2999
JB
670## begin gnulib module inet_ntop
671
672
673EXTRA_DIST += inet_ntop.c
674
675EXTRA_libgnu_a_SOURCES += inet_ntop.c
676
677## end gnulib module inet_ntop
678
6ec2e0f5
SDJ
679## begin gnulib module intprops
680
681
682EXTRA_DIST += intprops.h
683
684## end gnulib module intprops
685
770d76d7 686## begin gnulib module inttypes-incomplete
55a8c076
YQ
687
688BUILT_SOURCES += inttypes.h
689
690# We need the following in order to create <inttypes.h> when the system
691# doesn't have one that works with the given compiler.
770d76d7 692inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
55a8c076
YQ
693 $(AM_V_GEN)rm -f $@-t $@ && \
694 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
695 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
696 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
697 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 698 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
55a8c076
YQ
699 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
700 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
701 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
702 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
703 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
704 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
705 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
706 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
707 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
708 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
709 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
710 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
711 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
712 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
770d76d7 713 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
4a626d0a 714 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
55a8c076
YQ
715 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
716 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
717 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
718 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
770d76d7 719 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
55a8c076
YQ
720 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
721 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
722 < $(srcdir)/inttypes.in.h; \
723 } > $@-t && \
724 mv $@-t $@
725MOSTLYCLEANFILES += inttypes.h inttypes.h-t
726
727EXTRA_DIST += inttypes.in.h
728
770d76d7 729## end gnulib module inttypes-incomplete
55a8c076 730
88b48903
WN
731## begin gnulib module isnand-nolibm
732
733
734EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
735
736EXTRA_libgnu_a_SOURCES += isnan.c isnand.c
737
738## end gnulib module isnand-nolibm
739
740## begin gnulib module isnanl-nolibm
741
742
743EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
744
745EXTRA_libgnu_a_SOURCES += isnan.c isnanl.c
746
747## end gnulib module isnanl-nolibm
748
49e4877c
PA
749## begin gnulib module limits-h
750
751BUILT_SOURCES += $(LIMITS_H)
752
753# We need the following in order to create <limits.h> when the system
754# doesn't have one that is compatible with GNU.
755if GL_GENERATE_LIMITS_H
756limits.h: limits.in.h $(top_builddir)/config.status
757 $(AM_V_GEN)rm -f $@-t $@ && \
758 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
759 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
760 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
761 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
762 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
763 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
764 < $(srcdir)/limits.in.h; \
765 } > $@-t && \
766 mv $@-t $@
767else
768limits.h: $(top_builddir)/config.status
769 rm -f $@
770endif
771MOSTLYCLEANFILES += limits.h limits.h-t
772
773EXTRA_DIST += limits.in.h
774
775## end gnulib module limits-h
776
8690e634
JK
777## begin gnulib module localcharset
778
5e8754f9
SDJ
779libgnu_a_SOURCES += localcharset.h localcharset.c
780
781# We need the following in order to install a simple file in $(libdir)
782# which is shared with other installed packages. We use a list of referencing
783# packages so that "make uninstall" will remove the file if and only if it
784# is not used by another installed package.
785# On systems with glibc-2.1 or newer, the file is redundant, therefore we
786# avoid installing it.
787
788all-local: charset.alias ref-add.sed ref-del.sed
789
790charset_alias = $(DESTDIR)$(libdir)/charset.alias
791charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
792install-exec-local: install-exec-localcharset
793install-exec-localcharset: all-local
794 if test $(GLIBC21) = no; then \
795 case '$(host_os)' in \
796 darwin[56]*) \
797 need_charset_alias=true ;; \
798 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
799 need_charset_alias=false ;; \
800 *) \
801 need_charset_alias=true ;; \
802 esac ; \
803 else \
804 need_charset_alias=false ; \
805 fi ; \
806 if $$need_charset_alias; then \
807 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
808 fi ; \
809 if test -f $(charset_alias); then \
810 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
811 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
812 rm -f $(charset_tmp) ; \
813 else \
814 if $$need_charset_alias; then \
815 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
816 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
817 rm -f $(charset_tmp) ; \
818 fi ; \
819 fi
820
821uninstall-local: uninstall-localcharset
822uninstall-localcharset: all-local
823 if test -f $(charset_alias); then \
824 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
825 if grep '^# Packages using this file: $$' $(charset_tmp) \
826 > /dev/null; then \
827 rm -f $(charset_alias); \
828 else \
829 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
830 fi; \
831 rm -f $(charset_tmp); \
832 fi
8690e634 833
5e8754f9
SDJ
834charset.alias: config.charset
835 $(AM_V_GEN)rm -f t-$@ $@ && \
836 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
837 mv t-$@ $@
8690e634 838
5e8754f9
SDJ
839SUFFIXES += .sed .sin
840.sin.sed:
841 $(AM_V_GEN)rm -f t-$@ $@ && \
842 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
843 mv t-$@ $@
8690e634 844
5e8754f9 845CLEANFILES += charset.alias ref-add.sed ref-del.sed
7a6dbc2f 846
5e8754f9 847EXTRA_DIST += config.charset ref-add.sin ref-del.sin
7a6dbc2f 848
5e8754f9 849## end gnulib module localcharset
8690e634 850
5abebf3c
CB
851## begin gnulib module lock
852
853libgnu_a_SOURCES += glthread/lock.h glthread/lock.c
854
855## end gnulib module lock
856
f45c62c4
YQ
857## begin gnulib module lstat
858
859
860EXTRA_DIST += lstat.c
861
862EXTRA_libgnu_a_SOURCES += lstat.c
863
864## end gnulib module lstat
865
6a29c58e
YQ
866## begin gnulib module malloc-posix
867
868
869EXTRA_DIST += malloc.c
870
871EXTRA_libgnu_a_SOURCES += malloc.c
872
873## end gnulib module malloc-posix
874
98399780
YQ
875## begin gnulib module malloca
876
877libgnu_a_SOURCES += malloca.c
878
5e8754f9 879EXTRA_DIST += malloca.h malloca.valgrind
98399780
YQ
880
881## end gnulib module malloca
882
88b48903
WN
883## begin gnulib module math
884
885BUILT_SOURCES += math.h
886libgnu_a_SOURCES += math.c
887
888# We need the following in order to create <math.h> when the system
889# doesn't have one that works with the given compiler.
890math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
891 $(AM_V_GEN)rm -f $@-t $@ && \
892 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
893 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
894 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
895 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
896 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
897 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
898 -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
899 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
900 -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
901 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
902 -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
903 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
904 -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
905 -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
906 -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
907 -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
908 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
909 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
910 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
911 -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
912 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
913 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
914 -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
915 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
916 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
917 -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
918 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
919 -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
920 -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
921 -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
922 -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
923 -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
924 -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
925 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
926 -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
927 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
928 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
929 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
930 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
931 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
932 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
933 -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
934 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
935 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
936 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
937 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
938 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
939 -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
940 -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
941 -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
942 < $(srcdir)/math.in.h | \
943 sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
944 -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
945 -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
946 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
947 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
948 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
949 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
950 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
951 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
952 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
953 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
954 -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
955 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
956 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
957 -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
958 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
959 -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
960 -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
961 -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
962 -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
963 -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
964 -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
965 -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
966 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
967 -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
968 -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
969 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
970 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
971 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
972 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
973 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
974 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
975 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
976 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
977 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
978 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
979 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
980 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
981 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
982 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
983 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
984 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
985 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
986 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
987 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
988 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
989 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
990 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
991 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
992 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
993 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
994 | \
995 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
996 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
997 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
998 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
999 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
1000 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
1001 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
1002 -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
1003 -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
1004 -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
1005 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
1006 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
1007 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
1008 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
1009 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
1010 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
1011 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
1012 -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
1013 -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
1014 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
1015 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
1016 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
1017 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
1018 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
1019 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
1020 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
1021 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
1022 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
1023 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
1024 -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
1025 -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
1026 -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
1027 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1028 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1029 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
1030 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
1031 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
1032 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
1033 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
1034 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
1035 -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
1036 -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
1037 -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
1038 -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
1039 -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
1040 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
1041 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
1042 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
1043 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
1044 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
1045 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
1046 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
1047 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
1048 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
1049 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
1050 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
1051 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
1052 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
1053 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
1054 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
1055 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1056 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1057 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1058 -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1059 -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
1060 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1061 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
1062 -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
1063 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1064 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1065 -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1066 -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1067 -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1068 -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
1069 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1070 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1071 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1072 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1073 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1074 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1075 -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1076 -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1077 -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1078 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1079 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1080 -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1081 -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
1082 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1083 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1084 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1085 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1086 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1087 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1088 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1089 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1090 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
1091 | \
5e8754f9 1092 sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
88b48903
WN
1093 -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1094 -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
1095 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1096 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1097 -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1098 -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1099 -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1100 -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1101 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
1102 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
1103 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1104 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1105 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1106 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1107 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
1108 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1109 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1110 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
1111 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
1112 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1113 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1114 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1115 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1116 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1117 -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1118 -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1119 -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
1120 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1121 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1122 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1123 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
1124 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1125 -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1126 -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1127 -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1128 -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1129 -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1130 -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1131 -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1132 -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1133 -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1134 -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1135 -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1136 -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1137 -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1138 -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1139 -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1140 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1141 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1142 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
1143 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1144 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1145 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1146 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
1147 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1148 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1149 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1150 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1151 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
1152 -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
1153 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1154 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
1155 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1156 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1157 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1158 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1159 } > $@-t && \
1160 mv $@-t $@
1161MOSTLYCLEANFILES += math.h math.h-t
1162
1163EXTRA_DIST += math.in.h
1164
1165## end gnulib module math
1166
8690e634
JK
1167## begin gnulib module mbrtowc
1168
1169
1170EXTRA_DIST += mbrtowc.c
1171
1172EXTRA_libgnu_a_SOURCES += mbrtowc.c
1173
1174## end gnulib module mbrtowc
1175
1176## begin gnulib module mbsinit
1177
1178
1179EXTRA_DIST += mbsinit.c
1180
1181EXTRA_libgnu_a_SOURCES += mbsinit.c
1182
1183## end gnulib module mbsinit
1184
1185## begin gnulib module mbsrtowcs
1186
1187
1188EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
1189
1190EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1191
1192## end gnulib module mbsrtowcs
1193
f434ba03 1194## begin gnulib module memchr
f6ea5628
DJ
1195
1196
f434ba03 1197EXTRA_DIST += memchr.c memchr.valgrind
f6ea5628 1198
f434ba03 1199EXTRA_libgnu_a_SOURCES += memchr.c
f6ea5628 1200
f434ba03 1201## end gnulib module memchr
f6ea5628
DJ
1202
1203## begin gnulib module memmem-simple
1204
1205
1206EXTRA_DIST += memmem.c str-two-way.h
1207
1208EXTRA_libgnu_a_SOURCES += memmem.c
1209
1210## end gnulib module memmem-simple
1211
6ec2e0f5
SDJ
1212## begin gnulib module mempcpy
1213
1214
1215EXTRA_DIST += mempcpy.c
1216
1217EXTRA_libgnu_a_SOURCES += mempcpy.c
1218
1219## end gnulib module mempcpy
1220
1221## begin gnulib module memrchr
1222
1223
1224EXTRA_DIST += memrchr.c
1225
1226EXTRA_libgnu_a_SOURCES += memrchr.c
1227
1228## end gnulib module memrchr
1229
8a99096f
SM
1230## begin gnulib module mkdir
1231
1232
1233EXTRA_DIST += mkdir.c
1234
1235EXTRA_libgnu_a_SOURCES += mkdir.c
1236
1237## end gnulib module mkdir
1238
e8d8cce6
SM
1239## begin gnulib module mkdtemp
1240
1241
1242EXTRA_DIST += mkdtemp.c
1243
1244EXTRA_libgnu_a_SOURCES += mkdtemp.c
1245
1246## end gnulib module mkdtemp
1247
b3279b60 1248## begin gnulib module mkostemp
2d8adcbd
MM
1249
1250
b3279b60 1251EXTRA_DIST += mkostemp.c
2d8adcbd 1252
b3279b60 1253EXTRA_libgnu_a_SOURCES += mkostemp.c
2d8adcbd 1254
b3279b60 1255## end gnulib module mkostemp
2d8adcbd 1256
6ec2e0f5
SDJ
1257## begin gnulib module msvc-inval
1258
1259
1260EXTRA_DIST += msvc-inval.c msvc-inval.h
1261
1262EXTRA_libgnu_a_SOURCES += msvc-inval.c
1263
1264## end gnulib module msvc-inval
1265
1266## begin gnulib module msvc-nothrow
1267
1268
1269EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1270
1271EXTRA_libgnu_a_SOURCES += msvc-nothrow.c
1272
1273## end gnulib module msvc-nothrow
1274
725e2999
JB
1275## begin gnulib module netinet_in
1276
1277BUILT_SOURCES += $(NETINET_IN_H)
1278
1279# We need the following in order to create <netinet/in.h> when the system
1280# doesn't have one.
1281if GL_GENERATE_NETINET_IN_H
1282netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1283 $(AM_V_at)$(MKDIR_P) netinet
1284 $(AM_V_GEN)rm -f $@-t $@ && \
1285 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1286 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1287 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1288 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1289 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1290 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1291 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1292 < $(srcdir)/netinet_in.in.h; \
1293 } > $@-t && \
1294 mv $@-t $@
1295else
1296netinet/in.h: $(top_builddir)/config.status
1297 rm -f $@
1298endif
1299MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1300MOSTLYCLEANDIRS += netinet
1301
1302EXTRA_DIST += netinet_in.in.h
1303
1304## end gnulib module netinet_in
1305
6ec2e0f5
SDJ
1306## begin gnulib module open
1307
1308
1309EXTRA_DIST += open.c
1310
1311EXTRA_libgnu_a_SOURCES += open.c
1312
1313## end gnulib module open
1314
1315## begin gnulib module openat
1316
1317
1318EXTRA_DIST += openat.c
1319
1320EXTRA_libgnu_a_SOURCES += openat.c
1321
1322## end gnulib module openat
1323
1324## begin gnulib module openat-die
1325
1326libgnu_a_SOURCES += openat-die.c
1327
1328## end gnulib module openat-die
1329
1330## begin gnulib module openat-h
1331
1332
1333EXTRA_DIST += openat.h
1334
1335## end gnulib module openat-h
1336
1337## begin gnulib module opendir
1338
1339
1340EXTRA_DIST += dirent-private.h opendir.c
1341
1342EXTRA_libgnu_a_SOURCES += opendir.c
1343
1344## end gnulib module opendir
1345
38ec2207
PA
1346## begin gnulib module pathmax
1347
1348
1349EXTRA_DIST += pathmax.h
1350
1351## end gnulib module pathmax
1352
8424cc97
SM
1353## begin gnulib module rawmemchr
1354
1355
1356EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
1357
1358EXTRA_libgnu_a_SOURCES += rawmemchr.c
1359
1360## end gnulib module rawmemchr
1361
6ec2e0f5
SDJ
1362## begin gnulib module readdir
1363
1364
1365EXTRA_DIST += dirent-private.h readdir.c
1366
1367EXTRA_libgnu_a_SOURCES += readdir.c
1368
1369## end gnulib module readdir
1370
2196f55f
YQ
1371## begin gnulib module readlink
1372
1373
1374EXTRA_DIST += readlink.c
1375
1376EXTRA_libgnu_a_SOURCES += readlink.c
1377
1378## end gnulib module readlink
1379
6ec2e0f5
SDJ
1380## begin gnulib module realloc-posix
1381
1382
1383EXTRA_DIST += realloc.c
1384
1385EXTRA_libgnu_a_SOURCES += realloc.c
1386
1387## end gnulib module realloc-posix
1388
6a29c58e
YQ
1389## begin gnulib module rename
1390
1391
1392EXTRA_DIST += rename.c
1393
1394EXTRA_libgnu_a_SOURCES += rename.c
1395
1396## end gnulib module rename
1397
6ec2e0f5
SDJ
1398## begin gnulib module rewinddir
1399
1400
1401EXTRA_DIST += dirent-private.h rewinddir.c
1402
1403EXTRA_libgnu_a_SOURCES += rewinddir.c
1404
1405## end gnulib module rewinddir
1406
6a29c58e
YQ
1407## begin gnulib module rmdir
1408
1409
1410EXTRA_DIST += rmdir.c
1411
1412EXTRA_libgnu_a_SOURCES += rmdir.c
1413
1414## end gnulib module rmdir
1415
1416## begin gnulib module same-inode
1417
1418
1419EXTRA_DIST += same-inode.h
1420
1421## end gnulib module same-inode
1422
6ec2e0f5
SDJ
1423## begin gnulib module save-cwd
1424
1425libgnu_a_SOURCES += save-cwd.c
1426
1427EXTRA_DIST += save-cwd.h
1428
1429## end gnulib module save-cwd
1430
5e8754f9
SDJ
1431## begin gnulib module secure_getenv
1432
2d8adcbd 1433
5e8754f9 1434EXTRA_DIST += secure_getenv.c
2d8adcbd 1435
5e8754f9 1436EXTRA_libgnu_a_SOURCES += secure_getenv.c
2d8adcbd 1437
5e8754f9 1438## end gnulib module secure_getenv
2d8adcbd 1439
3d99e817
AK
1440## begin gnulib module setenv
1441
1442
1443EXTRA_DIST += setenv.c
1444
1445EXTRA_libgnu_a_SOURCES += setenv.c
1446
1447## end gnulib module setenv
1448
0750520d
PA
1449## begin gnulib module signal-h
1450
1451BUILT_SOURCES += signal.h
1452
1453# We need the following in order to create <signal.h> when the system
1454# doesn't have a complete one.
1455signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1456 $(AM_V_GEN)rm -f $@-t $@ && \
1457 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1458 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1459 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1460 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1461 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1462 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
5e8754f9
SDJ
1463 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1464 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
0750520d
PA
1465 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1466 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1467 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1468 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1469 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1470 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1471 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1472 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1473 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1474 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1475 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1476 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1477 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1478 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1479 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1480 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1481 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1482 < $(srcdir)/signal.in.h; \
1483 } > $@-t && \
1484 mv $@-t $@
1485MOSTLYCLEANFILES += signal.h signal.h-t
1486
1487EXTRA_DIST += signal.in.h
1488
1489## end gnulib module signal-h
1490
98399780
YQ
1491## begin gnulib module snippet/_Noreturn
1492
1493# Because this Makefile snippet defines a variable used by other
5e8754f9 1494# gnulib Makefile snippets, it must be present in all Makefile.am that
98399780
YQ
1495# need it. This is ensured by the applicability 'all' defined above.
1496
5e8754f9 1497_NORETURN_H=$(top_srcdir)/import/extra/snippet/_Noreturn.h
98399780 1498
5e8754f9 1499EXTRA_DIST += $(top_srcdir)/import/extra/snippet/_Noreturn.h
98399780
YQ
1500
1501## end gnulib module snippet/_Noreturn
1502
770d76d7
PA
1503## begin gnulib module snippet/arg-nonnull
1504
5e8754f9
SDJ
1505# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1506# statements but through direct file reference. Therefore this snippet must be
1507# present in all Makefile.am that need it. This is ensured by the applicability
1508# 'all' defined above.
1509
1510BUILT_SOURCES += arg-nonnull.h
1511# The arg-nonnull.h that gets inserted into generated .h files is the same as
1512# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1513# off.
1514arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
1515 $(AM_V_GEN)rm -f $@-t $@ && \
1516 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1517 < $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
1518 > $@-t && \
1519 mv $@-t $@
1520MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
770d76d7 1521
5e8754f9 1522ARG_NONNULL_H=arg-nonnull.h
770d76d7 1523
5e8754f9 1524EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
770d76d7
PA
1525
1526## end gnulib module snippet/arg-nonnull
1527
1528## begin gnulib module snippet/c++defs
1529
5e8754f9
SDJ
1530# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1531# statements but through direct file reference. Therefore this snippet must be
1532# present in all Makefile.am that need it. This is ensured by the applicability
1533# 'all' defined above.
770d76d7 1534
5e8754f9
SDJ
1535BUILT_SOURCES += c++defs.h
1536# The c++defs.h that gets inserted into generated .h files is the same as
1537# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1538c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
1539 $(AM_V_GEN)rm -f $@-t $@ && \
1540 sed -n -e '/_GL_CXXDEFS/,$$p' \
1541 < $(top_srcdir)/import/extra/snippet/c++defs.h \
1542 > $@-t && \
1543 mv $@-t $@
1544MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1545
1546CXXDEFS_H=c++defs.h
770d76d7 1547
5e8754f9 1548EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
770d76d7
PA
1549
1550## end gnulib module snippet/c++defs
1551
1552## begin gnulib module snippet/warn-on-use
1553
5e8754f9
SDJ
1554BUILT_SOURCES += warn-on-use.h
1555# The warn-on-use.h that gets inserted into generated .h files is the same as
1556# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1557# off.
1558warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
1559 $(AM_V_GEN)rm -f $@-t $@ && \
1560 sed -n -e '/^.ifndef/,$$p' \
1561 < $(top_srcdir)/import/extra/snippet/warn-on-use.h \
1562 > $@-t && \
1563 mv $@-t $@
1564MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
770d76d7 1565
5e8754f9 1566WARN_ON_USE_H=warn-on-use.h
770d76d7 1567
5e8754f9 1568EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
770d76d7
PA
1569
1570## end gnulib module snippet/warn-on-use
1571
2196f55f
YQ
1572## begin gnulib module stat
1573
1574
5e8754f9 1575EXTRA_DIST += stat.c
2196f55f 1576
5e8754f9 1577EXTRA_libgnu_a_SOURCES += stat.c
2196f55f
YQ
1578
1579## end gnulib module stat
1580
725e2999
JB
1581## begin gnulib module stdalign
1582
1583BUILT_SOURCES += $(STDALIGN_H)
1584
1585# We need the following in order to create <stdalign.h> when the system
1586# doesn't have one that works.
1587if GL_GENERATE_STDALIGN_H
1588stdalign.h: stdalign.in.h $(top_builddir)/config.status
1589 $(AM_V_GEN)rm -f $@-t $@ && \
1590 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1591 cat $(srcdir)/stdalign.in.h; \
1592 } > $@-t && \
1593 mv $@-t $@
1594else
1595stdalign.h: $(top_builddir)/config.status
1596 rm -f $@
1597endif
1598MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1599
1600EXTRA_DIST += stdalign.in.h
1601
1602## end gnulib module stdalign
1603
8690e634
JK
1604## begin gnulib module stdbool
1605
1606BUILT_SOURCES += $(STDBOOL_H)
1607
1608# We need the following in order to create <stdbool.h> when the system
1609# doesn't have one that works.
1610if GL_GENERATE_STDBOOL_H
1611stdbool.h: stdbool.in.h $(top_builddir)/config.status
1612 $(AM_V_GEN)rm -f $@-t $@ && \
1613 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1614 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1615 } > $@-t && \
1616 mv $@-t $@
1617else
1618stdbool.h: $(top_builddir)/config.status
1619 rm -f $@
1620endif
1621MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1622
1623EXTRA_DIST += stdbool.in.h
1624
1625## end gnulib module stdbool
1626
f434ba03
PA
1627## begin gnulib module stddef
1628
1629BUILT_SOURCES += $(STDDEF_H)
1630
1631# We need the following in order to create <stddef.h> when the system
1632# doesn't have one that works with the given compiler.
770d76d7
PA
1633if GL_GENERATE_STDDEF_H
1634stddef.h: stddef.in.h $(top_builddir)/config.status
f434ba03
PA
1635 $(AM_V_GEN)rm -f $@-t $@ && \
1636 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
1637 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1638 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 1639 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 1640 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f434ba03 1641 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
4a626d0a 1642 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
f434ba03
PA
1643 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1644 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1645 < $(srcdir)/stddef.in.h; \
1646 } > $@-t && \
1647 mv $@-t $@
770d76d7
PA
1648else
1649stddef.h: $(top_builddir)/config.status
1650 rm -f $@
1651endif
f434ba03
PA
1652MOSTLYCLEANFILES += stddef.h stddef.h-t
1653
1654EXTRA_DIST += stddef.in.h
1655
1656## end gnulib module stddef
1657
f6ea5628
DJ
1658## begin gnulib module stdint
1659
1660BUILT_SOURCES += $(STDINT_H)
1661
1662# We need the following in order to create <stdint.h> when the system
1663# doesn't have one that works with the given compiler.
770d76d7
PA
1664if GL_GENERATE_STDINT_H
1665stdint.h: stdint.in.h $(top_builddir)/config.status
f434ba03 1666 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 1667 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
770d76d7
PA
1668 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1669 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f434ba03
PA
1670 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1671 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 1672 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628 1673 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
49e4877c 1674 -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
f6ea5628
DJ
1675 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1676 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1677 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1678 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
770d76d7 1679 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f6ea5628
DJ
1680 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1681 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
f434ba03 1682 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
f6ea5628
DJ
1683 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1684 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1685 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1686 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1687 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1688 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1689 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1690 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1691 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1692 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1693 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1694 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1695 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1696 < $(srcdir)/stdint.in.h; \
f434ba03 1697 } > $@-t && \
f6ea5628 1698 mv $@-t $@
770d76d7
PA
1699else
1700stdint.h: $(top_builddir)/config.status
1701 rm -f $@
1702endif
f6ea5628
DJ
1703MOSTLYCLEANFILES += stdint.h stdint.h-t
1704
1705EXTRA_DIST += stdint.in.h
1706
1707## end gnulib module stdint
1708
6a29c58e
YQ
1709## begin gnulib module stdio
1710
1711BUILT_SOURCES += stdio.h
6a29c58e
YQ
1712
1713# We need the following in order to create <stdio.h> when the system
1714# doesn't have one that works with the given compiler.
1715stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1716 $(AM_V_GEN)rm -f $@-t $@ && \
1717 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1718 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1719 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1720 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1721 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1722 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1723 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1724 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1725 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1726 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1727 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1728 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1729 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1730 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1731 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1732 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1733 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1734 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1735 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1736 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1737 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1738 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1739 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1740 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1741 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1742 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1743 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1744 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1745 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1746 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1747 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1748 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1749 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1750 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1751 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1752 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1753 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1754 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1755 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1756 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1757 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1758 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1759 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1760 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1761 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1762 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1763 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1764 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1765 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1766 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1767 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1768 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1769 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1770 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1771 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1772 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1773 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1774 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1775 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1776 < $(srcdir)/stdio.in.h | \
1777 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1778 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1779 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1780 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1781 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1782 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1783 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1784 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1785 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1786 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1787 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1788 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1789 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1790 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1791 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1792 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1793 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1794 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1795 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1796 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1797 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1798 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1799 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1800 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1801 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1802 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1803 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1804 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1805 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1806 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1807 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1808 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1809 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1810 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1811 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1812 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1813 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1814 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1815 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1816 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1817 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1818 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1819 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1820 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1821 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1822 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1823 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1824 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1825 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1826 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1827 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1828 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1829 } > $@-t && \
1830 mv $@-t $@
1831MOSTLYCLEANFILES += stdio.h stdio.h-t
1832
1833EXTRA_DIST += stdio.in.h
1834
1835## end gnulib module stdio
1836
98399780
YQ
1837## begin gnulib module stdlib
1838
1839BUILT_SOURCES += stdlib.h
1840
1841# We need the following in order to create <stdlib.h> when the system
1842# doesn't have one that works with the given compiler.
1843stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1844 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1845 $(AM_V_GEN)rm -f $@-t $@ && \
1846 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1847 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1848 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1849 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1850 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1851 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1852 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1853 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1854 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1855 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1856 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1857 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1858 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1859 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1860 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1861 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1862 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1863 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1864 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1865 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1866 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1867 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1868 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1869 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
4a626d0a 1870 -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
98399780
YQ
1871 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1872 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1873 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1874 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1875 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
4a626d0a 1876 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
98399780
YQ
1877 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1878 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1879 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1880 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1881 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1882 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1883 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1884 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1885 < $(srcdir)/stdlib.in.h | \
1886 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1887 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1888 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1889 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1890 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1891 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1892 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1893 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1894 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1895 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1896 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1897 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1898 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1899 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
4c62b19f 1900 -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
98399780
YQ
1901 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1902 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1903 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1904 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1905 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
4a626d0a 1906 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
98399780
YQ
1907 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1908 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1909 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1910 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1911 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1912 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1913 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1914 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1915 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1916 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1917 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1918 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1919 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1920 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1921 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1922 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
4a626d0a 1923 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
98399780
YQ
1924 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1925 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1926 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1927 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1928 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1929 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1930 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1931 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1932 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1933 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1934 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1935 } > $@-t && \
1936 mv $@-t $@
1937MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1938
1939EXTRA_DIST += stdlib.in.h
1940
1941## end gnulib module stdlib
1942
8424cc97
SM
1943## begin gnulib module strchrnul
1944
1945
1946EXTRA_DIST += strchrnul.c strchrnul.valgrind
1947
1948EXTRA_libgnu_a_SOURCES += strchrnul.c
1949
1950## end gnulib module strchrnul
1951
6ec2e0f5
SDJ
1952## begin gnulib module strdup-posix
1953
1954
1955EXTRA_DIST += strdup.c
1956
1957EXTRA_libgnu_a_SOURCES += strdup.c
1958
1959## end gnulib module strdup-posix
1960
8690e634
JK
1961## begin gnulib module streq
1962
1963
1964EXTRA_DIST += streq.h
1965
1966## end gnulib module streq
1967
6ec2e0f5
SDJ
1968## begin gnulib module strerror
1969
1970
1971EXTRA_DIST += strerror.c
1972
1973EXTRA_libgnu_a_SOURCES += strerror.c
1974
1975## end gnulib module strerror
1976
1977## begin gnulib module strerror-override
1978
1979
1980EXTRA_DIST += strerror-override.c strerror-override.h
1981
1982EXTRA_libgnu_a_SOURCES += strerror-override.c
1983
1984## end gnulib module strerror-override
1985
5abebf3c
CB
1986## begin gnulib module strerror_r-posix
1987
1988
1989EXTRA_DIST += strerror_r.c
1990
1991EXTRA_libgnu_a_SOURCES += strerror_r.c
1992
1993## end gnulib module strerror_r-posix
1994
f6ea5628
DJ
1995## begin gnulib module string
1996
1997BUILT_SOURCES += string.h
1998
1999# We need the following in order to create <string.h> when the system
2000# doesn't have one that works with the given compiler.
770d76d7 2001string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
f434ba03 2002 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 2003 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
2004 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2005 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 2006 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 2007 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628 2008 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
770d76d7
PA
2009 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
2010 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
2011 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
2012 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
2013 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
2014 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
2015 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
2016 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
2017 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
2018 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
2019 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
2020 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
2021 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
2022 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
2023 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
2024 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
2025 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
2026 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
2027 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
2028 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
2029 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
2030 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
2031 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
2032 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
2033 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
2034 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
2035 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
2036 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
2037 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
2038 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
2039 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
2040 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
2041 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
2042 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
2043 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
2044 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
2045 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
f434ba03 2046 < $(srcdir)/string.in.h | \
5e8754f9 2047 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
770d76d7
PA
2048 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2049 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
f434ba03 2050 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
f6ea5628
DJ
2051 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2052 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2053 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
f434ba03 2054 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
f6ea5628
DJ
2055 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2056 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2057 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2058 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
f6ea5628
DJ
2059 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2060 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2061 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2062 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2063 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2064 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
770d76d7 2065 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
f6ea5628 2066 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
f434ba03 2067 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
5e8754f9 2068 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
f434ba03 2069 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
f6ea5628 2070 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
5e8754f9 2071 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
770d76d7 2072 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
f434ba03 2073 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
7a6dbc2f 2074 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
7a6dbc2f
SDJ
2075 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
2076 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
5e8754f9
SDJ
2077 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
2078 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
2079 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
7a6dbc2f 2080 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
5e8754f9 2081 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
f434ba03
PA
2082 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2083 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2084 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2085 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
f6ea5628 2086 < $(srcdir)/string.in.h; \
f434ba03 2087 } > $@-t && \
f6ea5628
DJ
2088 mv $@-t $@
2089MOSTLYCLEANFILES += string.h string.h-t
2090
2091EXTRA_DIST += string.in.h
2092
2093## end gnulib module string
2094
8690e634
JK
2095## begin gnulib module strnlen1
2096
2097libgnu_a_SOURCES += strnlen1.h strnlen1.c
2098
2099## end gnulib module strnlen1
2100
63ce7108
TT
2101## begin gnulib module strstr-simple
2102
2103
2104EXTRA_DIST += str-two-way.h strstr.c
2105
2106EXTRA_libgnu_a_SOURCES += strstr.c
2107
2108## end gnulib module strstr-simple
2109
421693b0
PA
2110## begin gnulib module strtok_r
2111
2112
2113EXTRA_DIST += strtok_r.c
2114
2115EXTRA_libgnu_a_SOURCES += strtok_r.c
2116
2117## end gnulib module strtok_r
2118
725e2999
JB
2119## begin gnulib module sys_socket
2120
2121BUILT_SOURCES += sys/socket.h
2122libgnu_a_SOURCES += sys_socket.c
2123
2124# We need the following in order to create <sys/socket.h> when the system
2125# doesn't have one that works with the given compiler.
2126sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2127 $(AM_V_at)$(MKDIR_P) sys
2128 $(AM_V_GEN)rm -f $@-t $@ && \
2129 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2130 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2131 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2132 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2133 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2134 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
2135 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
2136 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2137 -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
2138 -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
2139 -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
2140 -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
2141 -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
2142 -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
2143 -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
2144 -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
2145 -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
2146 -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
2147 -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
2148 -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
2149 -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
2150 -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
2151 -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
2152 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2153 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
2154 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
2155 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
2156 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
2157 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
2158 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2159 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2160 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2161 < $(srcdir)/sys_socket.in.h; \
2162 } > $@-t && \
2163 mv -f $@-t $@
2164MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
2165MOSTLYCLEANDIRS += sys
2166
2167EXTRA_DIST += sys_socket.in.h
2168
2169## end gnulib module sys_socket
2170
09607c9e
TT
2171## begin gnulib module sys_stat
2172
2173BUILT_SOURCES += sys/stat.h
2174
2175# We need the following in order to create <sys/stat.h> when the system
2176# has one that is incomplete.
2177sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2178 $(AM_V_at)$(MKDIR_P) sys
2179 $(AM_V_GEN)rm -f $@-t $@ && \
2180 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2181 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2182 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2183 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2184 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2185 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2186 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2187 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
2188 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
2189 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2190 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2191 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2192 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2193 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2194 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2195 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2196 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2197 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2198 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2199 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
2200 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2201 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2202 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2203 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2204 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2205 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2206 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2207 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2208 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2209 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2210 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2211 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2212 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2213 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2214 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2215 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2216 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2217 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2218 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2219 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2220 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2221 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2222 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2223 < $(srcdir)/sys_stat.in.h; \
2224 } > $@-t && \
2225 mv $@-t $@
2226MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2227MOSTLYCLEANDIRS += sys
2228
2229EXTRA_DIST += sys_stat.in.h
2230
2231## end gnulib module sys_stat
2232
4a626d0a
PA
2233## begin gnulib module sys_time
2234
2235BUILT_SOURCES += sys/time.h
2236
2237# We need the following in order to create <sys/time.h> when the system
2238# doesn't have one that works with the given compiler.
2239sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2240 $(AM_V_at)$(MKDIR_P) sys
2241 $(AM_V_GEN)rm -f $@-t $@ && \
2242 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2243 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2244 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
2245 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2246 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2247 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2248 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2249 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
2250 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2251 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2252 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2253 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2254 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
2255 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2256 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2257 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2258 < $(srcdir)/sys_time.in.h; \
2259 } > $@-t && \
2260 mv $@-t $@
2261MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2262
2263EXTRA_DIST += sys_time.in.h
2264
2265## end gnulib module sys_time
2266
8839a007
PA
2267## begin gnulib module sys_types
2268
2269BUILT_SOURCES += sys/types.h
2270
2271# We need the following in order to create <sys/types.h> when the system
2272# doesn't have one that works with the given compiler.
2273sys/types.h: sys_types.in.h $(top_builddir)/config.status
2274 $(AM_V_at)$(MKDIR_P) sys
2275 $(AM_V_GEN)rm -f $@-t $@ && \
2276 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2277 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2278 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2279 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2280 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2281 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2282 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2283 < $(srcdir)/sys_types.in.h; \
2284 } > $@-t && \
2285 mv $@-t $@
2286MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2287
2288EXTRA_DIST += sys_types.in.h
2289
2290## end gnulib module sys_types
2291
725e2999
JB
2292## begin gnulib module sys_uio
2293
2294BUILT_SOURCES += sys/uio.h
2295
2296# We need the following in order to create <sys/uio.h> when the system
2297# doesn't have one that works with the given compiler.
2298sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2299 $(AM_V_at)$(MKDIR_P) sys
2300 $(AM_V_GEN)rm -f $@-t $@ && \
2301 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2302 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2303 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2304 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2305 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2306 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2307 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2308 < $(srcdir)/sys_uio.in.h; \
2309 } > $@-t && \
2310 mv -f $@-t $@
2311MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2312MOSTLYCLEANDIRS += sys
2313
2314EXTRA_DIST += sys_uio.in.h
2315
2316## end gnulib module sys_uio
2317
2d8adcbd
MM
2318## begin gnulib module tempname
2319
2320libgnu_a_SOURCES += tempname.c
2321
2322EXTRA_DIST += tempname.h
2323
2324## end gnulib module tempname
2325
5abebf3c
CB
2326## begin gnulib module threadlib
2327
2328libgnu_a_SOURCES += glthread/threadlib.c
2329
2330EXTRA_DIST += $(top_srcdir)/import/extra/config.rpath
2331
2332## end gnulib module threadlib
2333
09607c9e
TT
2334## begin gnulib module time
2335
2336BUILT_SOURCES += time.h
2337
2338# We need the following in order to create <time.h> when the system
2339# doesn't have one that works with the given compiler.
2340time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2341 $(AM_V_GEN)rm -f $@-t $@ && \
2342 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2343 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2344 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2345 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2346 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2347 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
5e8754f9 2348 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
09607c9e
TT
2349 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2350 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2351 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2352 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2353 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
4a626d0a 2354 -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
09607c9e
TT
2355 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2356 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2357 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2358 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
4a626d0a
PA
2359 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2360 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2361 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
09607c9e
TT
2362 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2363 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2364 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2365 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2366 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2367 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2368 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
4a626d0a 2369 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
09607c9e
TT
2370 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2371 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2372 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2373 < $(srcdir)/time.in.h; \
2374 } > $@-t && \
2375 mv $@-t $@
2376MOSTLYCLEANFILES += time.h time.h-t
2377
2378EXTRA_DIST += time.in.h
2379
2380## end gnulib module time
2381
8839a007
PA
2382## begin gnulib module unistd
2383
2384BUILT_SOURCES += unistd.h
2385libgnu_a_SOURCES += unistd.c
2386
2387# We need the following in order to create an empty placeholder for
2388# <unistd.h> when the system doesn't have one.
2389unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2390 $(AM_V_GEN)rm -f $@-t $@ && \
2391 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2392 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2393 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2394 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2395 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2396 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2397 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2398 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2399 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
2400 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2401 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2402 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
2403 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2404 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2405 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2406 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2407 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2408 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2409 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
2410 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
2411 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2412 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2413 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2414 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2415 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2416 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2417 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2418 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2419 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2420 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2421 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2422 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2423 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
2424 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2425 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2426 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2427 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2428 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2429 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2430 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2431 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2432 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2433 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2434 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2435 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
2436 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
2437 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2438 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2439 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2440 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
2441 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
2442 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2443 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2444 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2445 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2446 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2447 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
2448 < $(srcdir)/unistd.in.h | \
2449 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2450 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2451 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2452 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2453 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2454 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2455 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2456 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2457 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2458 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2459 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2460 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2461 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
5e8754f9 2462 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
8839a007
PA
2463 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2464 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2465 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2466 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2467 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2468 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2469 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2470 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2471 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2472 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2473 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2474 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2475 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2476 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2477 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2478 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2479 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2480 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2481 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2482 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2483 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2484 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2485 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2486 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2487 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2488 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2489 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2490 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2491 | \
2492 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2493 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2494 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2495 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2496 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2497 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2498 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2499 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
4a626d0a 2500 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
8839a007
PA
2501 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2502 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2503 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2504 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2505 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2506 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2507 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2508 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2509 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2510 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2511 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2512 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
4a626d0a 2513 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
8839a007
PA
2514 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2515 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2516 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
4a626d0a 2517 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
8839a007
PA
2518 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2519 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2520 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2521 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2522 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2523 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2524 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2525 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2526 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2527 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2528 } > $@-t && \
2529 mv $@-t $@
2530MOSTLYCLEANFILES += unistd.h unistd.h-t
2531
2532EXTRA_DIST += unistd.in.h
2533
2534## end gnulib module unistd
2535
6ec2e0f5
SDJ
2536## begin gnulib module unistd-safer
2537
2538libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2539
2540EXTRA_DIST += unistd--.h unistd-safer.h
2541
2542## end gnulib module unistd-safer
2543
3d99e817
AK
2544## begin gnulib module unsetenv
2545
2546
2547EXTRA_DIST += unsetenv.c
2548
2549EXTRA_libgnu_a_SOURCES += unsetenv.c
2550
2551## end gnulib module unsetenv
2552
174e088e
PA
2553## begin gnulib module update-copyright
2554
2555
c971b7fa 2556EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
174e088e
PA
2557
2558## end gnulib module update-copyright
2559
8690e634
JK
2560## begin gnulib module verify
2561
2562
2563EXTRA_DIST += verify.h
2564
2565## end gnulib module verify
2566
2567## begin gnulib module wchar
2568
2569BUILT_SOURCES += wchar.h
2570
2571# We need the following in order to create <wchar.h> when the system
2572# version does not work standalone.
2573wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2574 $(AM_V_GEN)rm -f $@-t $@ && \
2575 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2576 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2577 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2578 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2579 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2580 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2581 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2582 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2583 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2584 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2585 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2586 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2587 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2588 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2589 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2590 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2591 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2592 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2593 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2594 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2595 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2596 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2597 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2598 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2599 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2600 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2601 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2602 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2603 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2604 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2605 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2606 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2607 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2608 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2609 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2610 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2611 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2612 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2613 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2614 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2615 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2616 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2617 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2618 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2619 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2620 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2621 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2622 < $(srcdir)/wchar.in.h | \
2623 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2624 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2625 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2626 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2627 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2628 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2629 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2630 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2631 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2632 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2633 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2634 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2635 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2636 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2637 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2638 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2639 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2640 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2641 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2642 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2643 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2644 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2645 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2646 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2647 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2648 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2649 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2650 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2651 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2652 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2653 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2654 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2655 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2656 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2657 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2658 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2659 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2660 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2661 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2662 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2663 | \
2664 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2665 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2666 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2667 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2668 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2669 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2670 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2671 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2672 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2673 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2674 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2675 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2676 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2677 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2678 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2679 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2680 } > $@-t && \
2681 mv $@-t $@
2682MOSTLYCLEANFILES += wchar.h wchar.h-t
2683
2684EXTRA_DIST += wchar.in.h
2685
2686## end gnulib module wchar
2687
2688## begin gnulib module wctype-h
2689
2690BUILT_SOURCES += wctype.h
a512b375 2691libgnu_a_SOURCES += wctype-h.c
8690e634
JK
2692
2693# We need the following in order to create <wctype.h> when the system
2694# doesn't have one that works with the given compiler.
2695wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2696 $(AM_V_GEN)rm -f $@-t $@ && \
2697 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2698 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2699 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2700 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2701 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2702 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2703 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2704 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2705 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2706 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2707 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2708 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2709 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2710 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2711 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2712 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2713 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2714 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2715 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2716 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2717 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2718 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2719 < $(srcdir)/wctype.in.h; \
2720 } > $@-t && \
2721 mv $@-t $@
2722MOSTLYCLEANFILES += wctype.h wctype.h-t
f6ea5628 2723
8690e634 2724EXTRA_DIST += wctype.in.h
f6ea5628 2725
8690e634 2726## end gnulib module wctype-h
f6ea5628
DJ
2727
2728
2729mostlyclean-local: mostlyclean-generic
2730 @for dir in '' $(MOSTLYCLEANDIRS); do \
2731 if test -n "$$dir" && test -d $$dir; then \
2732 echo "rmdir $$dir"; rmdir $$dir; \
2733 fi; \
2734 done; \
2735 :
This page took 1.319589 seconds and 4 git commands to generate.