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