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