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