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