[GOLD] Set non-exec stack for aarch64
[deliverable/binutils-gdb.git] / gdb / gnulib / import / Makefile.am
CommitLineData
f6ea5628
DJ
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
49e4877c 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
16# along with this file. If not, see <http://www.gnu.org/licenses/>.
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.
3d99e817 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 inttypes limits-h lstat memchr memmem pathmax rawmemchr readlink rename setenv signal-h strchrnul strstr strtok_r sys_stat unistd unsetenv update-copyright wchar wctype-h
f6ea5628 25
4a626d0a 26AUTOMAKE_OPTIONS = 1.9.6 gnits
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
98399780
YQ
95## begin gnulib module canonicalize-lgpl
96
97
98EXTRA_DIST += canonicalize-lgpl.c
99
100EXTRA_libgnu_a_SOURCES += canonicalize-lgpl.c
101
102## end gnulib module canonicalize-lgpl
103
8690e634
JK
104## begin gnulib module configmake
105
106# Listed in the same order as the GNU makefile conventions, and
4a626d0a 107# provided by autoconf 2.59c+ or 2.70.
8690e634
JK
108# The Automake-defined pkg* macros are appended, in the order
109# listed in the Automake 1.10a+ documentation.
110configmake.h: Makefile
111 $(AM_V_GEN)rm -f $@-t && \
112 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
113 echo '#define PREFIX "$(prefix)"'; \
114 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
115 echo '#define BINDIR "$(bindir)"'; \
116 echo '#define SBINDIR "$(sbindir)"'; \
117 echo '#define LIBEXECDIR "$(libexecdir)"'; \
118 echo '#define DATAROOTDIR "$(datarootdir)"'; \
119 echo '#define DATADIR "$(datadir)"'; \
120 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
121 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
122 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
4a626d0a 123 echo '#define RUNSTATEDIR "$(runstatedir)"'; \
8690e634
JK
124 echo '#define INCLUDEDIR "$(includedir)"'; \
125 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
126 echo '#define DOCDIR "$(docdir)"'; \
127 echo '#define INFODIR "$(infodir)"'; \
128 echo '#define HTMLDIR "$(htmldir)"'; \
129 echo '#define DVIDIR "$(dvidir)"'; \
130 echo '#define PDFDIR "$(pdfdir)"'; \
131 echo '#define PSDIR "$(psdir)"'; \
132 echo '#define LIBDIR "$(libdir)"'; \
133 echo '#define LISPDIR "$(lispdir)"'; \
134 echo '#define LOCALEDIR "$(localedir)"'; \
135 echo '#define MANDIR "$(mandir)"'; \
136 echo '#define MANEXT "$(manext)"'; \
137 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
138 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
139 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
140 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
141 } | sed '/""/d' > $@-t && \
142 mv -f $@-t $@
143
144BUILT_SOURCES += configmake.h
145CLEANFILES += configmake.h configmake.h-t
146
147## end gnulib module configmake
148
e26b6bb0
TT
149## begin gnulib module dirent
150
151BUILT_SOURCES += dirent.h
152
153# We need the following in order to create <dirent.h> when the system
154# doesn't have one that works with the given compiler.
155dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
156 $(AM_V_GEN)rm -f $@-t $@ && \
157 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
158 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
159 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
160 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
161 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
162 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
163 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
164 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
165 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
166 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
167 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
168 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
169 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
170 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
171 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
172 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
173 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
174 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
175 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
176 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
177 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
178 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
179 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
180 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
181 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
182 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
183 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
184 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
185 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
186 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
187 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
188 < $(srcdir)/dirent.in.h; \
189 } > $@-t && \
190 mv $@-t $@
191MOSTLYCLEANFILES += dirent.h dirent.h-t
192
193EXTRA_DIST += dirent.in.h
194
195## end gnulib module dirent
196
18848e28
GF
197## begin gnulib module dirfd
198
199
200EXTRA_DIST += dirfd.c
201
202EXTRA_libgnu_a_SOURCES += dirfd.c
203
204## end gnulib module dirfd
205
6a29c58e
YQ
206## begin gnulib module dirname-lgpl
207
208libgnu_a_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
209
210EXTRA_DIST += dirname.h
211
212## end gnulib module dirname-lgpl
213
2196f55f
YQ
214## begin gnulib module dosname
215
216
217EXTRA_DIST += dosname.h
218
219## end gnulib module dosname
220
18848e28
GF
221## begin gnulib module errno
222
223BUILT_SOURCES += $(ERRNO_H)
224
225# We need the following in order to create <errno.h> when the system
226# doesn't have one that is POSIX compliant.
227if GL_GENERATE_ERRNO_H
228errno.h: errno.in.h $(top_builddir)/config.status
229 $(AM_V_GEN)rm -f $@-t $@ && \
230 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
231 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
232 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
235 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
236 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
237 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
238 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
239 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
240 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
241 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
242 < $(srcdir)/errno.in.h; \
243 } > $@-t && \
244 mv $@-t $@
245else
246errno.h: $(top_builddir)/config.status
247 rm -f $@
248endif
249MOSTLYCLEANFILES += errno.h errno.h-t
250
251EXTRA_DIST += errno.in.h
252
253## end gnulib module errno
254
49e4877c
PA
255## begin gnulib module flexmember
256
257
258EXTRA_DIST += flexmember.h
259
260## end gnulib module flexmember
261
88b48903
WN
262## begin gnulib module float
263
264BUILT_SOURCES += $(FLOAT_H)
265
266# We need the following in order to create <float.h> when the system
267# doesn't have one that works with the given compiler.
268if GL_GENERATE_FLOAT_H
269float.h: float.in.h $(top_builddir)/config.status
270 $(AM_V_GEN)rm -f $@-t $@ && \
271 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
272 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
273 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
274 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
275 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
276 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
277 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
278 < $(srcdir)/float.in.h; \
279 } > $@-t && \
280 mv $@-t $@
281else
282float.h: $(top_builddir)/config.status
283 rm -f $@
284endif
285MOSTLYCLEANFILES += float.h float.h-t
286
287EXTRA_DIST += float.c float.in.h itold.c
288
289EXTRA_libgnu_a_SOURCES += float.c itold.c
290
291## end gnulib module float
292
8690e634
JK
293## begin gnulib module fnmatch
294
295BUILT_SOURCES += $(FNMATCH_H)
296
297# We need the following in order to create <fnmatch.h> when the system
298# doesn't have one that supports the required API.
299if GL_GENERATE_FNMATCH_H
300fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
301 $(AM_V_GEN)rm -f $@-t $@ && \
302 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
303 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
304 < $(srcdir)/fnmatch.in.h; \
305 } > $@-t && \
306 mv -f $@-t $@
307else
308fnmatch.h: $(top_builddir)/config.status
309 rm -f $@
310endif
311MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
312
313EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
314
315EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
316
317## end gnulib module fnmatch
318
88b48903
WN
319## begin gnulib module fpucw
320
321
322EXTRA_DIST += fpucw.h
323
324## end gnulib module fpucw
325
326## begin gnulib module frexp
327
328
329EXTRA_DIST += frexp.c
330
331EXTRA_libgnu_a_SOURCES += frexp.c
332
333## end gnulib module frexp
334
335## begin gnulib module frexpl
336
337
338EXTRA_DIST += frexp.c frexpl.c
339
340EXTRA_libgnu_a_SOURCES += frexp.c frexpl.c
341
342## end gnulib module frexpl
343
4a626d0a
PA
344## begin gnulib module gettimeofday
345
346
347EXTRA_DIST += gettimeofday.c
348
349EXTRA_libgnu_a_SOURCES += gettimeofday.c
350
351## end gnulib module gettimeofday
352
49e4877c
PA
353## begin gnulib module hard-locale
354
355libgnu_a_SOURCES += hard-locale.c
356
357EXTRA_DIST += hard-locale.h
358
359## end gnulib module hard-locale
360
770d76d7 361## begin gnulib module inttypes-incomplete
55a8c076
YQ
362
363BUILT_SOURCES += inttypes.h
364
365# We need the following in order to create <inttypes.h> when the system
366# doesn't have one that works with the given compiler.
770d76d7 367inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
55a8c076
YQ
368 $(AM_V_GEN)rm -f $@-t $@ && \
369 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
370 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
371 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
372 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 373 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
55a8c076
YQ
374 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
375 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
376 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
377 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
378 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
379 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
380 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
381 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
382 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
383 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
384 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
385 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
386 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
387 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
770d76d7 388 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
4a626d0a 389 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
55a8c076
YQ
390 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
391 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
392 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
393 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
770d76d7 394 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
55a8c076
YQ
395 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
396 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
397 < $(srcdir)/inttypes.in.h; \
398 } > $@-t && \
399 mv $@-t $@
400MOSTLYCLEANFILES += inttypes.h inttypes.h-t
401
402EXTRA_DIST += inttypes.in.h
403
770d76d7 404## end gnulib module inttypes-incomplete
55a8c076 405
88b48903
WN
406## begin gnulib module isnand-nolibm
407
408
409EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
410
411EXTRA_libgnu_a_SOURCES += isnan.c isnand.c
412
413## end gnulib module isnand-nolibm
414
415## begin gnulib module isnanl-nolibm
416
417
418EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
419
420EXTRA_libgnu_a_SOURCES += isnan.c isnanl.c
421
422## end gnulib module isnanl-nolibm
423
49e4877c
PA
424## begin gnulib module limits-h
425
426BUILT_SOURCES += $(LIMITS_H)
427
428# We need the following in order to create <limits.h> when the system
429# doesn't have one that is compatible with GNU.
430if GL_GENERATE_LIMITS_H
431limits.h: limits.in.h $(top_builddir)/config.status
432 $(AM_V_GEN)rm -f $@-t $@ && \
433 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
434 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
435 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
436 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
437 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
438 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
439 < $(srcdir)/limits.in.h; \
440 } > $@-t && \
441 mv $@-t $@
442else
443limits.h: $(top_builddir)/config.status
444 rm -f $@
445endif
446MOSTLYCLEANFILES += limits.h limits.h-t
447
448EXTRA_DIST += limits.in.h
449
450## end gnulib module limits-h
451
8690e634
JK
452## begin gnulib module localcharset
453
454libgnu_a_SOURCES += localcharset.h localcharset.c
455
456# We need the following in order to install a simple file in $(libdir)
457# which is shared with other installed packages. We use a list of referencing
458# packages so that "make uninstall" will remove the file if and only if it
459# is not used by another installed package.
460# On systems with glibc-2.1 or newer, the file is redundant, therefore we
461# avoid installing it.
462
463all-local: charset.alias ref-add.sed ref-del.sed
464
465charset_alias = $(DESTDIR)$(libdir)/charset.alias
466charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
467install-exec-local: install-exec-localcharset
468install-exec-localcharset: all-local
469 if test $(GLIBC21) = no; then \
470 case '$(host_os)' in \
471 darwin[56]*) \
472 need_charset_alias=true ;; \
473 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
474 need_charset_alias=false ;; \
475 *) \
476 need_charset_alias=true ;; \
477 esac ; \
478 else \
479 need_charset_alias=false ; \
480 fi ; \
481 if $$need_charset_alias; then \
482 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
483 fi ; \
484 if test -f $(charset_alias); then \
485 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
486 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
487 rm -f $(charset_tmp) ; \
488 else \
489 if $$need_charset_alias; then \
490 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
491 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
492 rm -f $(charset_tmp) ; \
493 fi ; \
494 fi
495
496uninstall-local: uninstall-localcharset
497uninstall-localcharset: all-local
498 if test -f $(charset_alias); then \
499 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
500 if grep '^# Packages using this file: $$' $(charset_tmp) \
501 > /dev/null; then \
502 rm -f $(charset_alias); \
503 else \
504 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
505 fi; \
506 rm -f $(charset_tmp); \
507 fi
508
509charset.alias: config.charset
510 $(AM_V_GEN)rm -f t-$@ $@ && \
511 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
512 mv t-$@ $@
513
514SUFFIXES += .sed .sin
515.sin.sed:
516 $(AM_V_GEN)rm -f t-$@ $@ && \
517 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
518 mv t-$@ $@
519
520CLEANFILES += charset.alias ref-add.sed ref-del.sed
521
522EXTRA_DIST += config.charset ref-add.sin ref-del.sin
523
524## end gnulib module localcharset
525
f45c62c4
YQ
526## begin gnulib module lstat
527
528
529EXTRA_DIST += lstat.c
530
531EXTRA_libgnu_a_SOURCES += lstat.c
532
533## end gnulib module lstat
534
6a29c58e
YQ
535## begin gnulib module malloc-posix
536
537
538EXTRA_DIST += malloc.c
539
540EXTRA_libgnu_a_SOURCES += malloc.c
541
542## end gnulib module malloc-posix
543
98399780
YQ
544## begin gnulib module malloca
545
546libgnu_a_SOURCES += malloca.c
547
548EXTRA_DIST += malloca.h malloca.valgrind
549
550## end gnulib module malloca
551
88b48903
WN
552## begin gnulib module math
553
554BUILT_SOURCES += math.h
555libgnu_a_SOURCES += math.c
556
557# We need the following in order to create <math.h> when the system
558# doesn't have one that works with the given compiler.
559math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
560 $(AM_V_GEN)rm -f $@-t $@ && \
561 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
562 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
563 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
564 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
565 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
566 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
567 -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
568 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
569 -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
570 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
571 -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
572 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
573 -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
574 -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
575 -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
576 -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
577 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
578 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
579 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
580 -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
581 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
582 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
583 -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
584 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
585 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
586 -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
587 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
588 -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
589 -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
590 -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
591 -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
592 -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
593 -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
594 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
595 -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
596 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
597 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
598 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
599 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
600 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
601 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
602 -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
603 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
604 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
605 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
606 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
607 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
608 -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
609 -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
610 -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
611 < $(srcdir)/math.in.h | \
612 sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
613 -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
614 -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
615 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
616 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
617 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
618 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
619 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
620 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
621 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
622 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
623 -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
624 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
625 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
626 -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
627 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
628 -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
629 -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
630 -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
631 -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
632 -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
633 -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
634 -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
635 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
636 -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
637 -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
638 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
639 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
640 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
641 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
642 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
643 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
644 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
645 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
646 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
647 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
648 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
649 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
650 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
651 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
652 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
653 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
654 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
655 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
656 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
657 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
658 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
659 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
660 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
661 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
662 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
663 | \
664 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
665 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
666 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
667 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
668 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
669 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
670 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
671 -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
672 -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
673 -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
674 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
675 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
676 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
677 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
678 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
679 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
680 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
681 -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
682 -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
683 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
684 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
685 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
686 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
687 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
688 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
689 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
690 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
691 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
692 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
693 -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
694 -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
695 -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
696 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
697 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
698 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
699 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
700 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
701 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
702 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
703 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
704 -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
705 -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
706 -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
707 -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
708 -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
709 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
710 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
711 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
712 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
713 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
714 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
715 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
716 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
717 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
718 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
719 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
720 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
721 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
722 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
723 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
724 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
725 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
726 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
727 -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
728 -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
729 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
730 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
731 -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
732 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
733 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
734 -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
735 -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
736 -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
737 -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
738 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
739 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
740 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
741 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
742 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
743 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
744 -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
745 -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
746 -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
747 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
748 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
749 -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
750 -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
751 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
752 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
753 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
754 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
755 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
756 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
757 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
758 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
759 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
760 | \
761 sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
762 -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
763 -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
764 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
765 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
766 -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
767 -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
768 -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
769 -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
770 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
771 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
772 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
773 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
774 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
775 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
776 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
777 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
778 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
779 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
780 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
781 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
782 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
783 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
784 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
785 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
786 -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
787 -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
788 -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
789 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
790 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
791 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
792 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
793 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
794 -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
795 -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
796 -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
797 -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
798 -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
799 -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
800 -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
801 -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
802 -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
803 -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
804 -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
805 -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
806 -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
807 -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
808 -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
809 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
810 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
811 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
812 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
813 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
814 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
815 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
816 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
817 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
818 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
819 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
820 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
821 -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
822 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
823 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
824 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
825 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
826 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
827 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
828 } > $@-t && \
829 mv $@-t $@
830MOSTLYCLEANFILES += math.h math.h-t
831
832EXTRA_DIST += math.in.h
833
834## end gnulib module math
835
8690e634
JK
836## begin gnulib module mbrtowc
837
838
839EXTRA_DIST += mbrtowc.c
840
841EXTRA_libgnu_a_SOURCES += mbrtowc.c
842
843## end gnulib module mbrtowc
844
845## begin gnulib module mbsinit
846
847
848EXTRA_DIST += mbsinit.c
849
850EXTRA_libgnu_a_SOURCES += mbsinit.c
851
852## end gnulib module mbsinit
853
854## begin gnulib module mbsrtowcs
855
856
857EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
858
859EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
860
861## end gnulib module mbsrtowcs
862
f434ba03 863## begin gnulib module memchr
f6ea5628
DJ
864
865
f434ba03 866EXTRA_DIST += memchr.c memchr.valgrind
f6ea5628 867
f434ba03 868EXTRA_libgnu_a_SOURCES += memchr.c
f6ea5628 869
f434ba03 870## end gnulib module memchr
f6ea5628
DJ
871
872## begin gnulib module memmem-simple
873
874
875EXTRA_DIST += memmem.c str-two-way.h
876
877EXTRA_libgnu_a_SOURCES += memmem.c
878
879## end gnulib module memmem-simple
880
38ec2207
PA
881## begin gnulib module pathmax
882
883
884EXTRA_DIST += pathmax.h
885
886## end gnulib module pathmax
887
8424cc97
SM
888## begin gnulib module rawmemchr
889
890
891EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
892
893EXTRA_libgnu_a_SOURCES += rawmemchr.c
894
895## end gnulib module rawmemchr
896
2196f55f
YQ
897## begin gnulib module readlink
898
899
900EXTRA_DIST += readlink.c
901
902EXTRA_libgnu_a_SOURCES += readlink.c
903
904## end gnulib module readlink
905
6a29c58e
YQ
906## begin gnulib module rename
907
908
909EXTRA_DIST += rename.c
910
911EXTRA_libgnu_a_SOURCES += rename.c
912
913## end gnulib module rename
914
915## begin gnulib module rmdir
916
917
918EXTRA_DIST += rmdir.c
919
920EXTRA_libgnu_a_SOURCES += rmdir.c
921
922## end gnulib module rmdir
923
924## begin gnulib module same-inode
925
926
927EXTRA_DIST += same-inode.h
928
929## end gnulib module same-inode
930
3d99e817
AK
931## begin gnulib module setenv
932
933
934EXTRA_DIST += setenv.c
935
936EXTRA_libgnu_a_SOURCES += setenv.c
937
938## end gnulib module setenv
939
0750520d
PA
940## begin gnulib module signal-h
941
942BUILT_SOURCES += signal.h
943
944# We need the following in order to create <signal.h> when the system
945# doesn't have a complete one.
946signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
947 $(AM_V_GEN)rm -f $@-t $@ && \
948 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
949 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
950 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
951 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
952 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
953 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
954 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
955 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
956 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
957 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
958 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
959 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
960 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
961 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
962 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
963 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
964 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
965 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
966 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
967 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
968 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
969 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
970 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
971 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
972 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
973 < $(srcdir)/signal.in.h; \
974 } > $@-t && \
975 mv $@-t $@
976MOSTLYCLEANFILES += signal.h signal.h-t
977
978EXTRA_DIST += signal.in.h
979
980## end gnulib module signal-h
981
98399780
YQ
982## begin gnulib module snippet/_Noreturn
983
984# Because this Makefile snippet defines a variable used by other
985# gnulib Makefile snippets, it must be present in all Makefile.am that
986# need it. This is ensured by the applicability 'all' defined above.
987
988_NORETURN_H=$(top_srcdir)/import/extra/snippet/_Noreturn.h
989
990EXTRA_DIST += $(top_srcdir)/import/extra/snippet/_Noreturn.h
991
992## end gnulib module snippet/_Noreturn
993
770d76d7
PA
994## begin gnulib module snippet/arg-nonnull
995
996# The BUILT_SOURCES created by this Makefile snippet are not used via #include
997# statements but through direct file reference. Therefore this snippet must be
998# present in all Makefile.am that need it. This is ensured by the applicability
999# 'all' defined above.
1000
1001BUILT_SOURCES += arg-nonnull.h
1002# The arg-nonnull.h that gets inserted into generated .h files is the same as
1003# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1004# off.
c971b7fa 1005arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
770d76d7
PA
1006 $(AM_V_GEN)rm -f $@-t $@ && \
1007 sed -n -e '/GL_ARG_NONNULL/,$$p' \
c971b7fa 1008 < $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
770d76d7
PA
1009 > $@-t && \
1010 mv $@-t $@
1011MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1012
1013ARG_NONNULL_H=arg-nonnull.h
1014
c971b7fa 1015EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
770d76d7
PA
1016
1017## end gnulib module snippet/arg-nonnull
1018
1019## begin gnulib module snippet/c++defs
1020
1021# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1022# statements but through direct file reference. Therefore this snippet must be
1023# present in all Makefile.am that need it. This is ensured by the applicability
1024# 'all' defined above.
1025
1026BUILT_SOURCES += c++defs.h
1027# The c++defs.h that gets inserted into generated .h files is the same as
1028# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
c971b7fa 1029c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
770d76d7
PA
1030 $(AM_V_GEN)rm -f $@-t $@ && \
1031 sed -n -e '/_GL_CXXDEFS/,$$p' \
c971b7fa 1032 < $(top_srcdir)/import/extra/snippet/c++defs.h \
770d76d7
PA
1033 > $@-t && \
1034 mv $@-t $@
1035MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1036
1037CXXDEFS_H=c++defs.h
1038
c971b7fa 1039EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
770d76d7
PA
1040
1041## end gnulib module snippet/c++defs
1042
1043## begin gnulib module snippet/warn-on-use
1044
1045BUILT_SOURCES += warn-on-use.h
1046# The warn-on-use.h that gets inserted into generated .h files is the same as
1047# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1048# off.
c971b7fa 1049warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
770d76d7
PA
1050 $(AM_V_GEN)rm -f $@-t $@ && \
1051 sed -n -e '/^.ifndef/,$$p' \
c971b7fa 1052 < $(top_srcdir)/import/extra/snippet/warn-on-use.h \
770d76d7
PA
1053 > $@-t && \
1054 mv $@-t $@
1055MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1056
1057WARN_ON_USE_H=warn-on-use.h
1058
c971b7fa 1059EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
770d76d7
PA
1060
1061## end gnulib module snippet/warn-on-use
1062
2196f55f
YQ
1063## begin gnulib module stat
1064
1065
1066EXTRA_DIST += stat.c
1067
1068EXTRA_libgnu_a_SOURCES += stat.c
1069
1070## end gnulib module stat
1071
8690e634
JK
1072## begin gnulib module stdbool
1073
1074BUILT_SOURCES += $(STDBOOL_H)
1075
1076# We need the following in order to create <stdbool.h> when the system
1077# doesn't have one that works.
1078if GL_GENERATE_STDBOOL_H
1079stdbool.h: stdbool.in.h $(top_builddir)/config.status
1080 $(AM_V_GEN)rm -f $@-t $@ && \
1081 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1082 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1083 } > $@-t && \
1084 mv $@-t $@
1085else
1086stdbool.h: $(top_builddir)/config.status
1087 rm -f $@
1088endif
1089MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1090
1091EXTRA_DIST += stdbool.in.h
1092
1093## end gnulib module stdbool
1094
f434ba03
PA
1095## begin gnulib module stddef
1096
1097BUILT_SOURCES += $(STDDEF_H)
1098
1099# We need the following in order to create <stddef.h> when the system
1100# doesn't have one that works with the given compiler.
770d76d7
PA
1101if GL_GENERATE_STDDEF_H
1102stddef.h: stddef.in.h $(top_builddir)/config.status
f434ba03
PA
1103 $(AM_V_GEN)rm -f $@-t $@ && \
1104 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
1105 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1106 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 1107 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 1108 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f434ba03 1109 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
4a626d0a 1110 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
f434ba03
PA
1111 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1112 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1113 < $(srcdir)/stddef.in.h; \
1114 } > $@-t && \
1115 mv $@-t $@
770d76d7
PA
1116else
1117stddef.h: $(top_builddir)/config.status
1118 rm -f $@
1119endif
f434ba03
PA
1120MOSTLYCLEANFILES += stddef.h stddef.h-t
1121
1122EXTRA_DIST += stddef.in.h
1123
1124## end gnulib module stddef
1125
f6ea5628
DJ
1126## begin gnulib module stdint
1127
1128BUILT_SOURCES += $(STDINT_H)
1129
1130# We need the following in order to create <stdint.h> when the system
1131# doesn't have one that works with the given compiler.
770d76d7
PA
1132if GL_GENERATE_STDINT_H
1133stdint.h: stdint.in.h $(top_builddir)/config.status
f434ba03 1134 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 1135 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
770d76d7
PA
1136 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1137 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f434ba03
PA
1138 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1139 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 1140 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628 1141 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
49e4877c 1142 -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
f6ea5628
DJ
1143 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1144 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1145 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1146 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
770d76d7 1147 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f6ea5628
DJ
1148 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1149 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
f434ba03 1150 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
f6ea5628
DJ
1151 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1152 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1153 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1154 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1155 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1156 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1157 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1158 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1159 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1160 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1161 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1162 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1163 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1164 < $(srcdir)/stdint.in.h; \
f434ba03 1165 } > $@-t && \
f6ea5628 1166 mv $@-t $@
770d76d7
PA
1167else
1168stdint.h: $(top_builddir)/config.status
1169 rm -f $@
1170endif
f6ea5628
DJ
1171MOSTLYCLEANFILES += stdint.h stdint.h-t
1172
1173EXTRA_DIST += stdint.in.h
1174
1175## end gnulib module stdint
1176
6a29c58e
YQ
1177## begin gnulib module stdio
1178
1179BUILT_SOURCES += stdio.h
6a29c58e
YQ
1180
1181# We need the following in order to create <stdio.h> when the system
1182# doesn't have one that works with the given compiler.
1183stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1184 $(AM_V_GEN)rm -f $@-t $@ && \
1185 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1186 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1187 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1188 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1189 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1190 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1191 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1192 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1193 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1194 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1195 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1196 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1197 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1198 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1199 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1200 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1201 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1202 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1203 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1204 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1205 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1206 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1207 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1208 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1209 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1210 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1211 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1212 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1213 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1214 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1215 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1216 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1217 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1218 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1219 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1220 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1221 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1222 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1223 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1224 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1225 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1226 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1227 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1228 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1229 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1230 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1231 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1232 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1233 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1234 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1235 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1236 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1237 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1238 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1239 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1240 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1241 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1242 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1243 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1244 < $(srcdir)/stdio.in.h | \
1245 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1246 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1247 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1248 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1249 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1250 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1251 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1252 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1253 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1254 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1255 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1256 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1257 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1258 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1259 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1260 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1261 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1262 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1263 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1264 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1265 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1266 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1267 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1268 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1269 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1270 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1271 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1272 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1273 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1274 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1275 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1276 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1277 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1278 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1279 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1280 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1281 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1282 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1283 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1284 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1285 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1286 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1287 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1288 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1289 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1290 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1291 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1292 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1293 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1294 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1295 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1296 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1297 } > $@-t && \
1298 mv $@-t $@
1299MOSTLYCLEANFILES += stdio.h stdio.h-t
1300
1301EXTRA_DIST += stdio.in.h
1302
1303## end gnulib module stdio
1304
98399780
YQ
1305## begin gnulib module stdlib
1306
1307BUILT_SOURCES += stdlib.h
1308
1309# We need the following in order to create <stdlib.h> when the system
1310# doesn't have one that works with the given compiler.
1311stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1312 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1313 $(AM_V_GEN)rm -f $@-t $@ && \
1314 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1315 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1316 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1317 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1318 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1319 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1320 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1321 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1322 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1323 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1324 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1325 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1326 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1327 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1328 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1329 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1330 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1331 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1332 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1333 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1334 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1335 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1336 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1337 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
4a626d0a 1338 -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
98399780
YQ
1339 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1340 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1341 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1342 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1343 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
4a626d0a 1344 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
98399780
YQ
1345 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1346 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1347 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1348 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1349 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1350 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1351 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1352 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1353 < $(srcdir)/stdlib.in.h | \
1354 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1355 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1356 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1357 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1358 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1359 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1360 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1361 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1362 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1363 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1364 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1365 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1366 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1367 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
4c62b19f 1368 -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
98399780
YQ
1369 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1370 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1371 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1372 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1373 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
4a626d0a 1374 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
98399780
YQ
1375 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1376 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1377 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1378 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1379 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1380 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1381 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1382 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1383 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1384 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1385 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1386 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1387 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1388 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1389 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1390 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
4a626d0a 1391 -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
98399780
YQ
1392 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1393 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1394 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1395 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1396 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1397 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1398 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1399 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1400 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1401 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1402 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1403 } > $@-t && \
1404 mv $@-t $@
1405MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1406
1407EXTRA_DIST += stdlib.in.h
1408
1409## end gnulib module stdlib
1410
8424cc97
SM
1411## begin gnulib module strchrnul
1412
1413
1414EXTRA_DIST += strchrnul.c strchrnul.valgrind
1415
1416EXTRA_libgnu_a_SOURCES += strchrnul.c
1417
1418## end gnulib module strchrnul
1419
8690e634
JK
1420## begin gnulib module streq
1421
1422
1423EXTRA_DIST += streq.h
1424
1425## end gnulib module streq
1426
f6ea5628
DJ
1427## begin gnulib module string
1428
1429BUILT_SOURCES += string.h
1430
1431# We need the following in order to create <string.h> when the system
1432# doesn't have one that works with the given compiler.
770d76d7 1433string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
f434ba03 1434 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 1435 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
1436 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1437 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 1438 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 1439 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628 1440 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
770d76d7
PA
1441 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1442 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1443 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1444 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1445 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1446 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1447 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1448 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1449 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1450 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1451 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1452 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1453 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1454 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1455 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1456 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1457 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1458 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1459 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1460 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1461 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1462 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1463 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1464 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1465 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1466 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1467 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1468 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1469 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1470 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1471 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1472 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1473 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1474 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1475 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1476 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1477 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
f434ba03 1478 < $(srcdir)/string.in.h | \
770d76d7
PA
1479 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1480 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1481 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
f434ba03 1482 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
f6ea5628
DJ
1483 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1484 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1485 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
f434ba03 1486 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
f6ea5628
DJ
1487 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1488 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1489 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1490 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
f6ea5628
DJ
1491 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1492 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1493 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1494 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1495 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1496 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
770d76d7 1497 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
f6ea5628 1498 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
f434ba03
PA
1499 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1500 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1501 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
f6ea5628
DJ
1502 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1503 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
770d76d7 1504 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
f434ba03 1505 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
f6ea5628
DJ
1506 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1507 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
770d76d7 1508 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
f434ba03
PA
1509 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1510 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1511 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
f6ea5628 1512 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
f434ba03
PA
1513 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1514 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1515 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1516 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1517 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
f6ea5628 1518 < $(srcdir)/string.in.h; \
f434ba03 1519 } > $@-t && \
f6ea5628
DJ
1520 mv $@-t $@
1521MOSTLYCLEANFILES += string.h string.h-t
1522
1523EXTRA_DIST += string.in.h
1524
1525## end gnulib module string
1526
8690e634
JK
1527## begin gnulib module strnlen1
1528
1529libgnu_a_SOURCES += strnlen1.h strnlen1.c
1530
1531## end gnulib module strnlen1
1532
63ce7108
TT
1533## begin gnulib module strstr-simple
1534
1535
1536EXTRA_DIST += str-two-way.h strstr.c
1537
1538EXTRA_libgnu_a_SOURCES += strstr.c
1539
1540## end gnulib module strstr-simple
1541
421693b0
PA
1542## begin gnulib module strtok_r
1543
1544
1545EXTRA_DIST += strtok_r.c
1546
1547EXTRA_libgnu_a_SOURCES += strtok_r.c
1548
1549## end gnulib module strtok_r
1550
09607c9e
TT
1551## begin gnulib module sys_stat
1552
1553BUILT_SOURCES += sys/stat.h
1554
1555# We need the following in order to create <sys/stat.h> when the system
1556# has one that is incomplete.
1557sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1558 $(AM_V_at)$(MKDIR_P) sys
1559 $(AM_V_GEN)rm -f $@-t $@ && \
1560 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1561 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1562 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1563 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1564 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1565 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1566 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1567 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1568 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1569 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1570 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1571 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1572 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1573 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1574 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1575 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1576 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1577 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1578 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1579 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1580 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1581 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1582 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1583 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1584 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1585 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1586 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1587 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1588 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1589 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1590 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1591 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1592 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1593 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1594 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1595 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1596 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1597 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1598 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1599 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1600 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1601 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1602 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1603 < $(srcdir)/sys_stat.in.h; \
1604 } > $@-t && \
1605 mv $@-t $@
1606MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1607MOSTLYCLEANDIRS += sys
1608
1609EXTRA_DIST += sys_stat.in.h
1610
1611## end gnulib module sys_stat
1612
4a626d0a
PA
1613## begin gnulib module sys_time
1614
1615BUILT_SOURCES += sys/time.h
1616
1617# We need the following in order to create <sys/time.h> when the system
1618# doesn't have one that works with the given compiler.
1619sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1620 $(AM_V_at)$(MKDIR_P) sys
1621 $(AM_V_GEN)rm -f $@-t $@ && \
1622 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1623 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1624 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1625 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1626 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1627 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1628 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1629 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1630 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1631 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1632 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1633 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1634 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1635 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1636 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1637 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1638 < $(srcdir)/sys_time.in.h; \
1639 } > $@-t && \
1640 mv $@-t $@
1641MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1642
1643EXTRA_DIST += sys_time.in.h
1644
1645## end gnulib module sys_time
1646
8839a007
PA
1647## begin gnulib module sys_types
1648
1649BUILT_SOURCES += sys/types.h
1650
1651# We need the following in order to create <sys/types.h> when the system
1652# doesn't have one that works with the given compiler.
1653sys/types.h: sys_types.in.h $(top_builddir)/config.status
1654 $(AM_V_at)$(MKDIR_P) sys
1655 $(AM_V_GEN)rm -f $@-t $@ && \
1656 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1657 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1658 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1659 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1660 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1661 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1662 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1663 < $(srcdir)/sys_types.in.h; \
1664 } > $@-t && \
1665 mv $@-t $@
1666MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1667
1668EXTRA_DIST += sys_types.in.h
1669
1670## end gnulib module sys_types
1671
09607c9e
TT
1672## begin gnulib module time
1673
1674BUILT_SOURCES += time.h
1675
1676# We need the following in order to create <time.h> when the system
1677# doesn't have one that works with the given compiler.
1678time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1679 $(AM_V_GEN)rm -f $@-t $@ && \
1680 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1681 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1682 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1683 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1684 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1685 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
4a626d0a 1686 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
09607c9e
TT
1687 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1688 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1689 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1690 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1691 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
4a626d0a 1692 -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
09607c9e
TT
1693 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1694 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1695 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1696 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
4a626d0a
PA
1697 -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
1698 -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1699 -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
09607c9e
TT
1700 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1701 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1702 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1703 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1704 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1705 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1706 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
4a626d0a 1707 -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
09607c9e
TT
1708 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1709 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1710 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1711 < $(srcdir)/time.in.h; \
1712 } > $@-t && \
1713 mv $@-t $@
1714MOSTLYCLEANFILES += time.h time.h-t
1715
1716EXTRA_DIST += time.in.h
1717
1718## end gnulib module time
1719
8839a007
PA
1720## begin gnulib module unistd
1721
1722BUILT_SOURCES += unistd.h
1723libgnu_a_SOURCES += unistd.c
1724
1725# We need the following in order to create an empty placeholder for
1726# <unistd.h> when the system doesn't have one.
1727unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1728 $(AM_V_GEN)rm -f $@-t $@ && \
1729 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1730 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1731 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1732 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1733 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1734 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1735 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1736 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1737 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1738 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1739 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1740 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1741 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1742 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1743 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1744 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1745 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1746 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1747 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1748 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1749 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1750 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1751 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1752 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1753 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1754 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1755 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1756 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1757 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1758 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1759 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1760 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1761 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1762 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1763 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1764 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1765 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1766 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1767 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1768 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1769 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1770 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1771 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1772 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1773 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1774 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1775 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1776 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1777 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1778 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1779 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1780 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1781 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1782 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1783 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1784 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1785 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1786 < $(srcdir)/unistd.in.h | \
1787 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1788 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1789 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1790 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1791 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1792 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1793 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1794 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1795 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1796 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1797 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1798 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1799 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1800 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1801 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1802 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1803 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1804 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1805 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1806 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1807 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1808 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1809 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1810 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1811 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1812 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1813 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1814 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1815 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1816 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1817 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1818 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1819 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1820 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1821 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1822 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1823 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1824 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1825 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1826 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1827 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1828 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1829 | \
1830 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1831 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1832 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1833 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1834 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1835 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1836 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1837 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
4a626d0a 1838 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
8839a007
PA
1839 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1840 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1841 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1842 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1843 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1844 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1845 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1846 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1847 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1848 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1849 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1850 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
4a626d0a 1851 -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
8839a007
PA
1852 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1853 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1854 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
4a626d0a 1855 -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
8839a007
PA
1856 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1857 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1858 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1859 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1860 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1861 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1862 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1863 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1864 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1865 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1866 } > $@-t && \
1867 mv $@-t $@
1868MOSTLYCLEANFILES += unistd.h unistd.h-t
1869
1870EXTRA_DIST += unistd.in.h
1871
1872## end gnulib module unistd
1873
3d99e817
AK
1874## begin gnulib module unsetenv
1875
1876
1877EXTRA_DIST += unsetenv.c
1878
1879EXTRA_libgnu_a_SOURCES += unsetenv.c
1880
1881## end gnulib module unsetenv
1882
174e088e
PA
1883## begin gnulib module update-copyright
1884
1885
c971b7fa 1886EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
174e088e
PA
1887
1888## end gnulib module update-copyright
1889
8690e634
JK
1890## begin gnulib module verify
1891
1892
1893EXTRA_DIST += verify.h
1894
1895## end gnulib module verify
1896
1897## begin gnulib module wchar
1898
1899BUILT_SOURCES += wchar.h
1900
1901# We need the following in order to create <wchar.h> when the system
1902# version does not work standalone.
1903wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1904 $(AM_V_GEN)rm -f $@-t $@ && \
1905 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1906 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1907 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1908 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1909 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1910 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1911 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1912 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1913 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1914 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1915 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1916 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1917 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1918 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1919 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1920 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1921 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1922 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1923 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1924 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1925 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1926 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1927 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1928 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1929 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1930 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1931 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1932 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1933 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1934 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1935 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1936 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1937 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1938 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1939 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1940 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1941 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1942 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1943 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1944 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1945 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1946 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1947 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1948 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1949 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1950 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1951 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1952 < $(srcdir)/wchar.in.h | \
1953 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1954 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1955 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1956 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1957 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1958 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1959 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1960 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1961 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1962 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1963 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1964 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1965 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1966 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1967 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1968 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1969 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1970 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1971 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1972 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1973 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1974 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1975 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1976 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1977 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1978 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1979 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1980 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1981 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1982 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1983 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1984 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1985 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1986 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1987 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1988 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1989 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1990 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1991 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1992 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1993 | \
1994 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1995 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1996 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1997 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1998 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1999 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2000 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2001 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2002 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2003 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2004 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2005 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2006 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2007 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2008 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2009 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2010 } > $@-t && \
2011 mv $@-t $@
2012MOSTLYCLEANFILES += wchar.h wchar.h-t
2013
2014EXTRA_DIST += wchar.in.h
2015
2016## end gnulib module wchar
2017
2018## begin gnulib module wctype-h
2019
2020BUILT_SOURCES += wctype.h
a512b375 2021libgnu_a_SOURCES += wctype-h.c
8690e634
JK
2022
2023# We need the following in order to create <wctype.h> when the system
2024# doesn't have one that works with the given compiler.
2025wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2026 $(AM_V_GEN)rm -f $@-t $@ && \
2027 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2028 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2029 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2030 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2031 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2032 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2033 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2034 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2035 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2036 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2037 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2038 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2039 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2040 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2041 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2042 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2043 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2044 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2045 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2046 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2047 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2048 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2049 < $(srcdir)/wctype.in.h; \
2050 } > $@-t && \
2051 mv $@-t $@
2052MOSTLYCLEANFILES += wctype.h wctype.h-t
f6ea5628 2053
8690e634 2054EXTRA_DIST += wctype.in.h
f6ea5628 2055
8690e634 2056## end gnulib module wctype-h
f6ea5628
DJ
2057
2058
2059mostlyclean-local: mostlyclean-generic
2060 @for dir in '' $(MOSTLYCLEANDIRS); do \
2061 if test -n "$$dir" && test -d $$dir; then \
2062 echo "rmdir $$dir"; rmdir $$dir; \
2063 fi; \
2064 done; \
2065 :
This page took 0.820788 seconds and 4 git commands to generate.