Commit | Line | Data |
---|---|---|
743c80a7 PE |
1 | ## DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | ## Process this file with automake to produce Makefile.in. | |
caf8a9b2 | 3 | # Copyright (C) 2002-2012 Free Software Foundation, Inc. |
743c80a7 | 4 | # |
316f8af0 PE |
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 | |
743c80a7 PE |
21 | # the same distribution terms as the rest of that program. |
22 | # | |
23 | # Generated by gnulib-tool. | |
9ee7d8b9 | 24 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat manywarnings mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat warnings |
743c80a7 PE |
25 | |
26 | ||
27 | MOSTLYCLEANFILES += core *.stackdump | |
28 | ||
29 | noinst_LIBRARIES += libgnu.a | |
30 | ||
31 | libgnu_a_SOURCES = | |
32 | libgnu_a_LIBADD = $(gl_LIBOBJS) | |
33 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | |
34 | EXTRA_libgnu_a_SOURCES = | |
35 | ||
fa23e171 PE |
36 | ## begin gnulib module alloca-opt |
37 | ||
38 | BUILT_SOURCES += $(ALLOCA_H) | |
39 | ||
40 | # We need the following in order to create <alloca.h> when the system | |
41 | # doesn't have one that works with the given compiler. | |
42 | if GL_GENERATE_ALLOCA_H | |
43 | alloca.h: alloca.in.h $(top_builddir)/config.status | |
44 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
45 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
46 | cat $(srcdir)/alloca.in.h; \ | |
47 | } > $@-t && \ | |
48 | mv -f $@-t $@ | |
49 | else | |
50 | alloca.h: $(top_builddir)/config.status | |
51 | rm -f $@ | |
52 | endif | |
53 | MOSTLYCLEANFILES += alloca.h alloca.h-t | |
54 | ||
55 | EXTRA_DIST += alloca.in.h | |
56 | ||
57 | ## end gnulib module alloca-opt | |
58 | ||
7ec98caf PE |
59 | ## begin gnulib module allocator |
60 | ||
61 | libgnu_a_SOURCES += allocator.c | |
62 | ||
63 | EXTRA_DIST += allocator.h | |
64 | ||
65 | ## end gnulib module allocator | |
66 | ||
d1fdcab7 PE |
67 | ## begin gnulib module careadlinkat |
68 | ||
69 | libgnu_a_SOURCES += careadlinkat.c | |
70 | ||
7ec98caf | 71 | EXTRA_DIST += careadlinkat.h |
d1fdcab7 PE |
72 | |
73 | ## end gnulib module careadlinkat | |
74 | ||
942f733f PE |
75 | ## begin gnulib module crypto/md5 |
76 | ||
8aeb5be9 | 77 | libgnu_a_SOURCES += md5.c |
942f733f | 78 | |
8aeb5be9 | 79 | EXTRA_DIST += md5.h |
942f733f PE |
80 | |
81 | ## end gnulib module crypto/md5 | |
82 | ||
13c3daa4 LL |
83 | ## begin gnulib module crypto/sha1 |
84 | ||
8aeb5be9 | 85 | libgnu_a_SOURCES += sha1.c |
13c3daa4 | 86 | |
8aeb5be9 | 87 | EXTRA_DIST += sha1.h |
13c3daa4 LL |
88 | |
89 | ## end gnulib module crypto/sha1 | |
90 | ||
3ce9d0d4 LL |
91 | ## begin gnulib module crypto/sha256 |
92 | ||
93 | libgnu_a_SOURCES += sha256.c | |
94 | ||
95 | EXTRA_DIST += sha256.h | |
96 | ||
97 | ## end gnulib module crypto/sha256 | |
98 | ||
99 | ## begin gnulib module crypto/sha512 | |
100 | ||
101 | libgnu_a_SOURCES += sha512.c | |
102 | ||
103 | EXTRA_DIST += sha512.h | |
104 | ||
105 | ## end gnulib module crypto/sha512 | |
106 | ||
36f13e16 PE |
107 | ## begin gnulib module dosname |
108 | ||
19548d08 | 109 | if gl_GNULIB_ENABLED_dosname |
36f13e16 | 110 | |
19548d08 | 111 | endif |
36f13e16 PE |
112 | EXTRA_DIST += dosname.h |
113 | ||
114 | ## end gnulib module dosname | |
115 | ||
f737437b | 116 | ## begin gnulib module dtoastr |
743c80a7 | 117 | |
f737437b | 118 | libgnu_a_SOURCES += dtoastr.c |
743c80a7 | 119 | |
f737437b PE |
120 | EXTRA_DIST += ftoastr.c ftoastr.h |
121 | ||
122 | EXTRA_libgnu_a_SOURCES += ftoastr.c | |
123 | ||
124 | ## end gnulib module dtoastr | |
a451f14b | 125 | |
7a7ef429 PE |
126 | ## begin gnulib module dup2 |
127 | ||
128 | ||
129 | EXTRA_DIST += dup2.c | |
130 | ||
131 | EXTRA_libgnu_a_SOURCES += dup2.c | |
132 | ||
133 | ## end gnulib module dup2 | |
134 | ||
5fa4ac76 PE |
135 | ## begin gnulib module filemode |
136 | ||
8aeb5be9 | 137 | libgnu_a_SOURCES += filemode.c |
5fa4ac76 | 138 | |
8aeb5be9 | 139 | EXTRA_DIST += filemode.h |
5fa4ac76 PE |
140 | |
141 | ## end gnulib module filemode | |
142 | ||
79ab4b7f PE |
143 | ## begin gnulib module getloadavg |
144 | ||
145 | ||
146 | EXTRA_DIST += getloadavg.c | |
147 | ||
148 | EXTRA_libgnu_a_SOURCES += getloadavg.c | |
149 | ||
150 | ## end gnulib module getloadavg | |
151 | ||
e275c824 PE |
152 | ## begin gnulib module getopt-posix |
153 | ||
154 | BUILT_SOURCES += $(GETOPT_H) | |
155 | ||
156 | # We need the following in order to create <getopt.h> when the system | |
157 | # doesn't have one that works with the given compiler. | |
54fc1789 | 158 | getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) |
e275c824 PE |
159 | $(AM_V_GEN)rm -f $@-t $@ && \ |
160 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
6a3e57bb PE |
161 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
162 | -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ | |
e275c824 PE |
163 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
164 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
165 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
166 | -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ | |
167 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
168 | < $(srcdir)/getopt.in.h; \ | |
169 | } > $@-t && \ | |
170 | mv -f $@-t $@ | |
171 | MOSTLYCLEANFILES += getopt.h getopt.h-t | |
172 | ||
173 | EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h | |
174 | ||
175 | EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c | |
176 | ||
177 | ## end gnulib module getopt-posix | |
178 | ||
179 | ## begin gnulib module gettext-h | |
180 | ||
19548d08 | 181 | if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36 |
e275c824 PE |
182 | libgnu_a_SOURCES += gettext.h |
183 | ||
19548d08 | 184 | endif |
e275c824 PE |
185 | ## end gnulib module gettext-h |
186 | ||
67342916 PE |
187 | ## begin gnulib module ignore-value |
188 | ||
1fc5f204 PE |
189 | |
190 | EXTRA_DIST += ignore-value.h | |
67342916 PE |
191 | |
192 | ## end gnulib module ignore-value | |
193 | ||
a451f14b PE |
194 | ## begin gnulib module intprops |
195 | ||
196 | ||
197 | EXTRA_DIST += intprops.h | |
198 | ||
199 | ## end gnulib module intprops | |
743c80a7 | 200 | |
b6f5355a | 201 | ## begin gnulib module inttypes-incomplete |
a8a2bb29 PE |
202 | |
203 | BUILT_SOURCES += inttypes.h | |
204 | ||
205 | # We need the following in order to create <inttypes.h> when the system | |
206 | # doesn't have one that works with the given compiler. | |
caf8a9b2 | 207 | inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) |
a8a2bb29 PE |
208 | $(AM_V_GEN)rm -f $@-t $@ && \ |
209 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
210 | sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
211 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
212 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
213 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
214 | -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ | |
215 | -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ | |
216 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
217 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
218 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
219 | -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ | |
220 | -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ | |
221 | -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ | |
222 | -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ | |
223 | -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ | |
224 | -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ | |
225 | -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ | |
226 | -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ | |
227 | -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ | |
caf8a9b2 | 228 | -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ |
a8a2bb29 PE |
229 | -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ |
230 | -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ | |
231 | -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ | |
232 | -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ | |
caf8a9b2 | 233 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
a8a2bb29 PE |
234 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
235 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
236 | < $(srcdir)/inttypes.in.h; \ | |
237 | } > $@-t && \ | |
238 | mv $@-t $@ | |
239 | MOSTLYCLEANFILES += inttypes.h inttypes.h-t | |
240 | ||
241 | EXTRA_DIST += inttypes.in.h | |
242 | ||
b6f5355a | 243 | ## end gnulib module inttypes-incomplete |
a8a2bb29 | 244 | |
ae0d7250 PE |
245 | ## begin gnulib module lstat |
246 | ||
247 | ||
248 | EXTRA_DIST += lstat.c | |
249 | ||
250 | EXTRA_libgnu_a_SOURCES += lstat.c | |
251 | ||
252 | ## end gnulib module lstat | |
253 | ||
1fd182f0 PE |
254 | ## begin gnulib module mktime |
255 | ||
256 | ||
257 | EXTRA_DIST += mktime-internal.h mktime.c | |
258 | ||
259 | EXTRA_libgnu_a_SOURCES += mktime.c | |
260 | ||
261 | ## end gnulib module mktime | |
262 | ||
6df37268 PE |
263 | ## begin gnulib module pathmax |
264 | ||
265 | if gl_GNULIB_ENABLED_pathmax | |
266 | ||
267 | endif | |
268 | EXTRA_DIST += pathmax.h | |
269 | ||
270 | ## end gnulib module pathmax | |
271 | ||
2a84b02d PE |
272 | ## begin gnulib module pthread_sigmask |
273 | ||
274 | ||
275 | EXTRA_DIST += pthread_sigmask.c | |
276 | ||
277 | EXTRA_libgnu_a_SOURCES += pthread_sigmask.c | |
278 | ||
279 | ## end gnulib module pthread_sigmask | |
280 | ||
ae0d7250 PE |
281 | ## begin gnulib module readlink |
282 | ||
283 | ||
284 | EXTRA_DIST += readlink.c | |
285 | ||
286 | EXTRA_libgnu_a_SOURCES += readlink.c | |
287 | ||
288 | ## end gnulib module readlink | |
289 | ||
316f8af0 | 290 | ## begin gnulib module signal-h |
6db30f83 PE |
291 | |
292 | BUILT_SOURCES += signal.h | |
293 | ||
294 | # We need the following in order to create <signal.h> when the system | |
295 | # doesn't have a complete one. | |
296 | signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
297 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
298 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
299 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
300 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
301 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
302 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
303 | -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ | |
304 | -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ | |
316f8af0 | 305 | -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ |
6db30f83 PE |
306 | -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ |
307 | -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ | |
308 | -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ | |
309 | -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ | |
2a84b02d | 310 | -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ |
316f8af0 | 311 | -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ |
6db30f83 PE |
312 | -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ |
313 | -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ | |
314 | -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ | |
315 | -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ | |
316 | -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ | |
317 | -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ | |
318 | -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ | |
316f8af0 | 319 | -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ |
6db30f83 PE |
320 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
321 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
322 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
323 | < $(srcdir)/signal.in.h; \ | |
324 | } > $@-t && \ | |
325 | mv $@-t $@ | |
326 | MOSTLYCLEANFILES += signal.h signal.h-t | |
327 | ||
328 | EXTRA_DIST += signal.in.h | |
329 | ||
316f8af0 | 330 | ## end gnulib module signal-h |
6db30f83 | 331 | |
2a84b02d PE |
332 | ## begin gnulib module sigprocmask |
333 | ||
334 | if gl_GNULIB_ENABLED_sigprocmask | |
335 | ||
336 | endif | |
337 | EXTRA_DIST += sigprocmask.c | |
338 | ||
339 | EXTRA_libgnu_a_SOURCES += sigprocmask.c | |
340 | ||
341 | ## end gnulib module sigprocmask | |
342 | ||
24e0f6b1 PE |
343 | ## begin gnulib module snippet/_Noreturn |
344 | ||
345 | # Because this Makefile snippet defines a variable used by other | |
346 | # gnulib Makefile snippets, it must be present in all Makefile.am that | |
347 | # need it. This is ensured by the applicability 'all' defined above. | |
348 | ||
349 | _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h | |
350 | ||
351 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h | |
352 | ||
353 | ## end gnulib module snippet/_Noreturn | |
354 | ||
355 | ## begin gnulib module snippet/arg-nonnull | |
356 | ||
357 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
358 | # statements but through direct file reference. Therefore this snippet must be | |
359 | # present in all Makefile.am that need it. This is ensured by the applicability | |
360 | # 'all' defined above. | |
361 | ||
362 | BUILT_SOURCES += arg-nonnull.h | |
363 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | |
364 | # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut | |
365 | # off. | |
366 | arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
367 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
368 | sed -n -e '/GL_ARG_NONNULL/,$$p' \ | |
369 | < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | |
370 | > $@-t && \ | |
371 | mv $@-t $@ | |
372 | MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | |
373 | ||
374 | ARG_NONNULL_H=arg-nonnull.h | |
375 | ||
376 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
377 | ||
378 | ## end gnulib module snippet/arg-nonnull | |
379 | ||
380 | ## begin gnulib module snippet/c++defs | |
381 | ||
382 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
383 | # statements but through direct file reference. Therefore this snippet must be | |
384 | # present in all Makefile.am that need it. This is ensured by the applicability | |
385 | # 'all' defined above. | |
386 | ||
387 | BUILT_SOURCES += c++defs.h | |
388 | # The c++defs.h that gets inserted into generated .h files is the same as | |
389 | # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. | |
390 | c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h | |
391 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
392 | sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
393 | < $(top_srcdir)/build-aux/snippet/c++defs.h \ | |
394 | > $@-t && \ | |
395 | mv $@-t $@ | |
396 | MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
397 | ||
398 | CXXDEFS_H=c++defs.h | |
399 | ||
400 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h | |
401 | ||
402 | ## end gnulib module snippet/c++defs | |
403 | ||
404 | ## begin gnulib module snippet/warn-on-use | |
405 | ||
406 | BUILT_SOURCES += warn-on-use.h | |
407 | # The warn-on-use.h that gets inserted into generated .h files is the same as | |
408 | # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut | |
409 | # off. | |
410 | warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
411 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
412 | sed -n -e '/^.ifndef/,$$p' \ | |
413 | < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ | |
414 | > $@-t && \ | |
415 | mv $@-t $@ | |
416 | MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | |
417 | ||
418 | WARN_ON_USE_H=warn-on-use.h | |
419 | ||
420 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
421 | ||
422 | ## end gnulib module snippet/warn-on-use | |
423 | ||
ae0d7250 PE |
424 | ## begin gnulib module stat |
425 | ||
19548d08 | 426 | if gl_GNULIB_ENABLED_stat |
ae0d7250 | 427 | |
19548d08 | 428 | endif |
ae0d7250 PE |
429 | EXTRA_DIST += stat.c |
430 | ||
431 | EXTRA_libgnu_a_SOURCES += stat.c | |
432 | ||
433 | ## end gnulib module stat | |
434 | ||
caf8a9b2 PE |
435 | ## begin gnulib module stdalign |
436 | ||
437 | BUILT_SOURCES += $(STDALIGN_H) | |
438 | ||
439 | # We need the following in order to create <stdalign.h> when the system | |
440 | # doesn't have one that works. | |
441 | if GL_GENERATE_STDALIGN_H | |
442 | stdalign.h: stdalign.in.h $(top_builddir)/config.status | |
443 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
444 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
445 | cat $(srcdir)/stdalign.in.h; \ | |
446 | } > $@-t && \ | |
447 | mv $@-t $@ | |
448 | else | |
449 | stdalign.h: $(top_builddir)/config.status | |
450 | rm -f $@ | |
451 | endif | |
452 | MOSTLYCLEANFILES += stdalign.h stdalign.h-t | |
453 | ||
454 | EXTRA_DIST += stdalign.in.h | |
455 | ||
456 | ## end gnulib module stdalign | |
457 | ||
c378da0b PE |
458 | ## begin gnulib module stdarg |
459 | ||
460 | BUILT_SOURCES += $(STDARG_H) | |
461 | ||
462 | # We need the following in order to create <stdarg.h> when the system | |
463 | # doesn't have one that works with the given compiler. | |
464 | if GL_GENERATE_STDARG_H | |
465 | stdarg.h: stdarg.in.h $(top_builddir)/config.status | |
466 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
467 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
6a3e57bb PE |
468 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
469 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
c378da0b PE |
470 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
471 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
472 | -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ | |
473 | < $(srcdir)/stdarg.in.h; \ | |
474 | } > $@-t && \ | |
475 | mv $@-t $@ | |
476 | else | |
477 | stdarg.h: $(top_builddir)/config.status | |
478 | rm -f $@ | |
479 | endif | |
480 | MOSTLYCLEANFILES += stdarg.h stdarg.h-t | |
481 | ||
482 | EXTRA_DIST += stdarg.in.h | |
483 | ||
484 | ## end gnulib module stdarg | |
485 | ||
16c3e636 PE |
486 | ## begin gnulib module stdbool |
487 | ||
488 | BUILT_SOURCES += $(STDBOOL_H) | |
489 | ||
490 | # We need the following in order to create <stdbool.h> when the system | |
491 | # doesn't have one that works. | |
54fc1789 PE |
492 | if GL_GENERATE_STDBOOL_H |
493 | stdbool.h: stdbool.in.h $(top_builddir)/config.status | |
16c3e636 PE |
494 | $(AM_V_GEN)rm -f $@-t $@ && \ |
495 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
496 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | |
497 | } > $@-t && \ | |
498 | mv $@-t $@ | |
54fc1789 PE |
499 | else |
500 | stdbool.h: $(top_builddir)/config.status | |
501 | rm -f $@ | |
502 | endif | |
16c3e636 PE |
503 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t |
504 | ||
505 | EXTRA_DIST += stdbool.in.h | |
506 | ||
507 | ## end gnulib module stdbool | |
508 | ||
1fd182f0 PE |
509 | ## begin gnulib module stddef |
510 | ||
511 | BUILT_SOURCES += $(STDDEF_H) | |
512 | ||
513 | # We need the following in order to create <stddef.h> when the system | |
514 | # doesn't have one that works with the given compiler. | |
54fc1789 PE |
515 | if GL_GENERATE_STDDEF_H |
516 | stddef.h: stddef.in.h $(top_builddir)/config.status | |
1fd182f0 PE |
517 | $(AM_V_GEN)rm -f $@-t $@ && \ |
518 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
6a3e57bb PE |
519 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
520 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1fd182f0 PE |
521 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
522 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
523 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | |
524 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
525 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
526 | < $(srcdir)/stddef.in.h; \ | |
527 | } > $@-t && \ | |
528 | mv $@-t $@ | |
54fc1789 PE |
529 | else |
530 | stddef.h: $(top_builddir)/config.status | |
531 | rm -f $@ | |
532 | endif | |
1fd182f0 PE |
533 | MOSTLYCLEANFILES += stddef.h stddef.h-t |
534 | ||
535 | EXTRA_DIST += stddef.in.h | |
536 | ||
537 | ## end gnulib module stddef | |
538 | ||
5f90be1b PE |
539 | ## begin gnulib module stdint |
540 | ||
541 | BUILT_SOURCES += $(STDINT_H) | |
542 | ||
543 | # We need the following in order to create <stdint.h> when the system | |
544 | # doesn't have one that works with the given compiler. | |
54fc1789 PE |
545 | if GL_GENERATE_STDINT_H |
546 | stdint.h: stdint.in.h $(top_builddir)/config.status | |
5f90be1b PE |
547 | $(AM_V_GEN)rm -f $@-t $@ && \ |
548 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
6a3e57bb PE |
549 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
550 | -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
5f90be1b PE |
551 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
552 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
553 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
554 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ | |
555 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
556 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
557 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
558 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
559 | -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ | |
560 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
561 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
562 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
563 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | |
564 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
565 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
566 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
567 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
568 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
569 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
570 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
571 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
572 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
573 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
574 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
575 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
576 | < $(srcdir)/stdint.in.h; \ | |
577 | } > $@-t && \ | |
578 | mv $@-t $@ | |
54fc1789 PE |
579 | else |
580 | stdint.h: $(top_builddir)/config.status | |
581 | rm -f $@ | |
582 | endif | |
5f90be1b PE |
583 | MOSTLYCLEANFILES += stdint.h stdint.h-t |
584 | ||
585 | EXTRA_DIST += stdint.in.h | |
586 | ||
587 | ## end gnulib module stdint | |
588 | ||
77185bdf PE |
589 | ## begin gnulib module stdio |
590 | ||
591 | BUILT_SOURCES += stdio.h | |
592 | ||
593 | # We need the following in order to create <stdio.h> when the system | |
594 | # doesn't have one that works with the given compiler. | |
54fc1789 | 595 | stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
77185bdf PE |
596 | $(AM_V_GEN)rm -f $@-t $@ && \ |
597 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
6a3e57bb PE |
598 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
599 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
77185bdf PE |
600 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
601 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
602 | -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ | |
7e2aa385 PE |
603 | -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ |
604 | -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ | |
316f8af0 | 605 | -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ |
7e2aa385 PE |
606 | -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ |
607 | -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ | |
608 | -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ | |
609 | -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ | |
610 | -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ | |
611 | -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ | |
612 | -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ | |
613 | -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ | |
614 | -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ | |
615 | -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ | |
616 | -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ | |
617 | -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ | |
618 | -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ | |
619 | -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ | |
620 | -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ | |
621 | -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ | |
622 | -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ | |
623 | -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ | |
624 | -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ | |
625 | -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ | |
626 | -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ | |
7e2aa385 PE |
627 | -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ |
628 | -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ | |
316f8af0 | 629 | -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ |
7e2aa385 PE |
630 | -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ |
631 | -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ | |
632 | -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ | |
633 | -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ | |
634 | -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ | |
635 | -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ | |
636 | -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ | |
637 | -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ | |
638 | -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ | |
639 | -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ | |
640 | -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ | |
641 | -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ | |
642 | -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ | |
643 | -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ | |
644 | -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ | |
645 | -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ | |
646 | -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ | |
647 | -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ | |
648 | -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ | |
649 | -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ | |
650 | -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ | |
651 | -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ | |
652 | -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ | |
653 | -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ | |
654 | -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ | |
655 | -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ | |
77185bdf PE |
656 | < $(srcdir)/stdio.in.h | \ |
657 | sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ | |
658 | -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ | |
659 | -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ | |
660 | -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ | |
661 | -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ | |
662 | -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ | |
663 | -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ | |
664 | -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ | |
665 | -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ | |
666 | -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ | |
667 | -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ | |
316f8af0 PE |
668 | -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ |
669 | -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ | |
77185bdf PE |
670 | -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ |
671 | -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ | |
672 | -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ | |
673 | -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ | |
674 | -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ | |
316f8af0 | 675 | -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ |
77185bdf PE |
676 | -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ |
677 | -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ | |
678 | -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ | |
679 | -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ | |
680 | -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ | |
681 | -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ | |
682 | -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ | |
683 | -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ | |
684 | -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ | |
685 | -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ | |
686 | -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ | |
687 | -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ | |
688 | -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ | |
689 | -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ | |
690 | -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ | |
691 | -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ | |
692 | -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ | |
693 | -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ | |
694 | -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ | |
695 | -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ | |
cc2e7b46 | 696 | -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ |
77185bdf PE |
697 | -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ |
698 | -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ | |
699 | -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ | |
700 | -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ | |
701 | -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ | |
702 | -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ | |
703 | -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ | |
704 | -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ | |
705 | -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ | |
706 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
707 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
708 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | |
709 | } > $@-t && \ | |
710 | mv $@-t $@ | |
711 | MOSTLYCLEANFILES += stdio.h stdio.h-t | |
712 | ||
713 | EXTRA_DIST += stdio.in.h | |
714 | ||
715 | ## end gnulib module stdio | |
716 | ||
79ab4b7f PE |
717 | ## begin gnulib module stdlib |
718 | ||
719 | BUILT_SOURCES += stdlib.h | |
720 | ||
721 | # We need the following in order to create <stdlib.h> when the system | |
722 | # doesn't have one that works with the given compiler. | |
24e0f6b1 PE |
723 | stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ |
724 | $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
79ab4b7f PE |
725 | $(AM_V_GEN)rm -f $@-t $@ && \ |
726 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
6a3e57bb PE |
727 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
728 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
79ab4b7f PE |
729 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
730 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
731 | -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ | |
7e2aa385 PE |
732 | -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ |
733 | -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ | |
734 | -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ | |
735 | -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ | |
736 | -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ | |
737 | -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ | |
738 | -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ | |
739 | -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ | |
740 | -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ | |
741 | -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ | |
742 | -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ | |
743 | -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ | |
744 | -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ | |
745 | -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ | |
caf8a9b2 | 746 | -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ |
7e2aa385 | 747 | -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ |
caf8a9b2 | 748 | -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ |
7e2aa385 | 749 | -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ |
caf8a9b2 | 750 | -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ |
7e2aa385 PE |
751 | -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ |
752 | -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ | |
753 | -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ | |
754 | -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ | |
755 | -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ | |
756 | -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ | |
757 | -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ | |
758 | -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ | |
759 | -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ | |
760 | -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ | |
761 | -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ | |
762 | -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ | |
dd463884 PE |
763 | < $(srcdir)/stdlib.in.h | \ |
764 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | |
79ab4b7f PE |
765 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
766 | -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ | |
767 | -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ | |
768 | -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ | |
769 | -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ | |
770 | -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ | |
771 | -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ | |
772 | -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ | |
773 | -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ | |
774 | -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ | |
caf8a9b2 | 775 | -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ |
79ab4b7f | 776 | -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ |
caf8a9b2 PE |
777 | -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ |
778 | -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ | |
79ab4b7f PE |
779 | -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ |
780 | -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ | |
781 | -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ | |
782 | -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ | |
783 | -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ | |
784 | -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ | |
785 | -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ | |
786 | -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ | |
787 | -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ | |
788 | -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ | |
789 | -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ | |
790 | -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ | |
791 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ | |
792 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ | |
793 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ | |
ae0d7250 | 794 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ |
79ab4b7f | 795 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
caf8a9b2 | 796 | -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ |
79ab4b7f | 797 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
caf8a9b2 | 798 | -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ |
79ab4b7f PE |
799 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
800 | -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ | |
801 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ | |
802 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | |
803 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ | |
ae0d7250 | 804 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ |
79ab4b7f | 805 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
24e0f6b1 | 806 | -e '/definition of _Noreturn/r $(_NORETURN_H)' \ |
79ab4b7f | 807 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
dd463884 | 808 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
79ab4b7f PE |
809 | } > $@-t && \ |
810 | mv $@-t $@ | |
811 | MOSTLYCLEANFILES += stdlib.h stdlib.h-t | |
812 | ||
813 | EXTRA_DIST += stdlib.in.h | |
814 | ||
815 | ## end gnulib module stdlib | |
816 | ||
16c3e636 PE |
817 | ## begin gnulib module strftime |
818 | ||
8aeb5be9 | 819 | libgnu_a_SOURCES += strftime.c |
16c3e636 | 820 | |
8aeb5be9 | 821 | EXTRA_DIST += strftime.h |
16c3e636 PE |
822 | |
823 | ## end gnulib module strftime | |
824 | ||
f6ce9b9a PE |
825 | ## begin gnulib module strtoimax |
826 | ||
827 | ||
828 | EXTRA_DIST += strtoimax.c | |
829 | ||
830 | EXTRA_libgnu_a_SOURCES += strtoimax.c | |
831 | ||
832 | ## end gnulib module strtoimax | |
833 | ||
834 | ## begin gnulib module strtoll | |
835 | ||
836 | if gl_GNULIB_ENABLED_strtoll | |
837 | ||
838 | endif | |
839 | EXTRA_DIST += strtol.c strtoll.c | |
840 | ||
841 | EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c | |
842 | ||
843 | ## end gnulib module strtoll | |
844 | ||
b6f5355a PE |
845 | ## begin gnulib module strtoull |
846 | ||
19548d08 | 847 | if gl_GNULIB_ENABLED_strtoull |
b6f5355a | 848 | |
19548d08 | 849 | endif |
b6f5355a PE |
850 | EXTRA_DIST += strtol.c strtoul.c strtoull.c |
851 | ||
852 | EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c | |
853 | ||
854 | ## end gnulib module strtoull | |
855 | ||
a8a2bb29 PE |
856 | ## begin gnulib module strtoumax |
857 | ||
858 | ||
b6f5355a | 859 | EXTRA_DIST += strtoimax.c strtoumax.c |
a8a2bb29 | 860 | |
b6f5355a | 861 | EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c |
a8a2bb29 PE |
862 | |
863 | ## end gnulib module strtoumax | |
864 | ||
ae0d7250 PE |
865 | ## begin gnulib module symlink |
866 | ||
867 | ||
868 | EXTRA_DIST += symlink.c | |
869 | ||
870 | EXTRA_libgnu_a_SOURCES += symlink.c | |
871 | ||
872 | ## end gnulib module symlink | |
873 | ||
5fa4ac76 PE |
874 | ## begin gnulib module sys_stat |
875 | ||
876 | BUILT_SOURCES += sys/stat.h | |
877 | ||
878 | # We need the following in order to create <sys/stat.h> when the system | |
879 | # has one that is incomplete. | |
54fc1789 | 880 | sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
5fa4ac76 PE |
881 | $(AM_V_at)$(MKDIR_P) sys |
882 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
883 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
6a3e57bb PE |
884 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
885 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
5fa4ac76 PE |
886 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
887 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
888 | -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ | |
caf8a9b2 | 889 | -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ |
7e2aa385 | 890 | -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ |
316f8af0 | 891 | -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ |
7e2aa385 PE |
892 | -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ |
893 | -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ | |
894 | -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ | |
895 | -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ | |
896 | -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ | |
897 | -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ | |
898 | -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ | |
899 | -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ | |
900 | -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ | |
901 | -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ | |
902 | -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ | |
5fa4ac76 PE |
903 | -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ |
904 | -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ | |
905 | -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ | |
906 | -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ | |
907 | -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ | |
908 | -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ | |
909 | -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ | |
910 | -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ | |
911 | -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ | |
912 | -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ | |
913 | -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ | |
914 | -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ | |
915 | -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ | |
916 | -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ | |
917 | -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ | |
918 | -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ | |
919 | -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ | |
920 | -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ | |
921 | -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ | |
922 | -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ | |
923 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
924 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
925 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
926 | < $(srcdir)/sys_stat.in.h; \ | |
927 | } > $@-t && \ | |
928 | mv $@-t $@ | |
929 | MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t | |
930 | MOSTLYCLEANDIRS += sys | |
931 | ||
932 | EXTRA_DIST += sys_stat.in.h | |
933 | ||
934 | ## end gnulib module sys_stat | |
935 | ||
caf8a9b2 PE |
936 | ## begin gnulib module sys_types |
937 | ||
938 | BUILT_SOURCES += sys/types.h | |
939 | ||
940 | # We need the following in order to create <sys/types.h> when the system | |
941 | # doesn't have one that works with the given compiler. | |
942 | sys/types.h: sys_types.in.h $(top_builddir)/config.status | |
943 | $(AM_V_at)$(MKDIR_P) sys | |
944 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
945 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
946 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
947 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
948 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
949 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
950 | -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ | |
951 | -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ | |
952 | < $(srcdir)/sys_types.in.h; \ | |
953 | } > $@-t && \ | |
954 | mv $@-t $@ | |
955 | MOSTLYCLEANFILES += sys/types.h sys/types.h-t | |
956 | ||
957 | EXTRA_DIST += sys_types.in.h | |
958 | ||
959 | ## end gnulib module sys_types | |
960 | ||
1fd182f0 PE |
961 | ## begin gnulib module time |
962 | ||
963 | BUILT_SOURCES += time.h | |
964 | ||
965 | # We need the following in order to create <time.h> when the system | |
966 | # doesn't have one that works with the given compiler. | |
54fc1789 | 967 | time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
1fd182f0 PE |
968 | $(AM_V_GEN)rm -f $@-t $@ && \ |
969 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
6a3e57bb PE |
970 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
971 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1fd182f0 PE |
972 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
973 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
974 | -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ | |
7e2aa385 PE |
975 | -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ |
976 | -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ | |
977 | -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ | |
978 | -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ | |
979 | -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ | |
1fd182f0 PE |
980 | -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ |
981 | -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ | |
982 | -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ | |
983 | -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ | |
984 | -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ | |
985 | -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ | |
986 | -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ | |
987 | -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ | |
988 | -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
989 | -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
990 | -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
991 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
992 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
993 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
994 | < $(srcdir)/time.in.h; \ | |
995 | } > $@-t && \ | |
996 | mv $@-t $@ | |
997 | MOSTLYCLEANFILES += time.h time.h-t | |
998 | ||
999 | EXTRA_DIST += time.in.h | |
1000 | ||
1001 | ## end gnulib module time | |
1002 | ||
1003 | ## begin gnulib module time_r | |
1004 | ||
1005 | ||
1006 | EXTRA_DIST += time_r.c | |
1007 | ||
1008 | EXTRA_libgnu_a_SOURCES += time_r.c | |
1009 | ||
1010 | ## end gnulib module time_r | |
1011 | ||
3ce9d0d4 LL |
1012 | ## begin gnulib module u64 |
1013 | ||
1014 | ||
1015 | EXTRA_DIST += u64.h | |
1016 | ||
1017 | ## end gnulib module u64 | |
1018 | ||
e275c824 PE |
1019 | ## begin gnulib module unistd |
1020 | ||
1021 | BUILT_SOURCES += unistd.h | |
1022 | ||
1023 | # We need the following in order to create an empty placeholder for | |
1024 | # <unistd.h> when the system doesn't have one. | |
54fc1789 | 1025 | unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
e275c824 PE |
1026 | $(AM_V_GEN)rm -f $@-t $@ && \ |
1027 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
6a3e57bb PE |
1028 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1029 | -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ | |
e275c824 PE |
1030 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
1031 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1032 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
1033 | -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ | |
caf8a9b2 | 1034 | -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ |
316f8af0 | 1035 | -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ |
7e2aa385 PE |
1036 | -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ |
1037 | -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ | |
316f8af0 | 1038 | -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ |
7e2aa385 PE |
1039 | -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ |
1040 | -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ | |
1041 | -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ | |
1042 | -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ | |
1043 | -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ | |
1044 | -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ | |
1045 | -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ | |
316f8af0 | 1046 | -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ |
7e2aa385 PE |
1047 | -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ |
1048 | -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ | |
1049 | -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ | |
1050 | -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ | |
1051 | -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ | |
1052 | -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ | |
1053 | -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ | |
1054 | -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ | |
1055 | -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ | |
1056 | -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ | |
1057 | -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ | |
1058 | -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ | |
caf8a9b2 | 1059 | -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ |
7e2aa385 PE |
1060 | -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ |
1061 | -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ | |
1062 | -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ | |
1063 | -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ | |
1064 | -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ | |
1065 | -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ | |
1066 | -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ | |
1067 | -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ | |
1068 | -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ | |
1069 | -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ | |
1070 | -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ | |
1071 | -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ | |
caf8a9b2 | 1072 | -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ |
7e2aa385 PE |
1073 | -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ |
1074 | -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ | |
1075 | -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ | |
1076 | -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ | |
caf8a9b2 | 1077 | -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ |
7e2aa385 PE |
1078 | -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ |
1079 | -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ | |
1080 | -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ | |
1081 | -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ | |
1082 | -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ | |
1083 | -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ | |
e275c824 PE |
1084 | < $(srcdir)/unistd.in.h | \ |
1085 | sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ | |
1086 | -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ | |
1087 | -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ | |
1088 | -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ | |
1089 | -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ | |
1090 | -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ | |
1091 | -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ | |
316f8af0 | 1092 | -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ |
e275c824 PE |
1093 | -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ |
1094 | -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ | |
1095 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ | |
1096 | -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ | |
1097 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ | |
1098 | -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ | |
1099 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ | |
1fc5f204 | 1100 | -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ |
e275c824 PE |
1101 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ |
1102 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ | |
1103 | -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ | |
1104 | -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ | |
1105 | -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ | |
1106 | -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ | |
1107 | -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ | |
1108 | -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ | |
1109 | -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ | |
caf8a9b2 | 1110 | -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ |
e275c824 PE |
1111 | -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ |
1112 | -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ | |
1113 | -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ | |
1114 | -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ | |
1115 | -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ | |
1116 | -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ | |
1117 | -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ | |
316f8af0 | 1118 | -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ |
e275c824 PE |
1119 | -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ |
1120 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ | |
1121 | -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ | |
1122 | -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ | |
caf8a9b2 | 1123 | -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ |
e275c824 PE |
1124 | -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ |
1125 | -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ | |
1126 | -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | |
dd463884 PE |
1127 | | \ |
1128 | sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ | |
e275c824 PE |
1129 | -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ |
1130 | -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ | |
1131 | -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ | |
1132 | -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ | |
caf8a9b2 | 1133 | -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ |
e275c824 PE |
1134 | -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ |
1135 | -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ | |
1136 | -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ | |
1137 | -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ | |
1138 | -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ | |
caf8a9b2 | 1139 | -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ |
e275c824 PE |
1140 | -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ |
1141 | -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ | |
1142 | -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ | |
1143 | -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ | |
1144 | -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ | |
1145 | -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ | |
cc2e7b46 | 1146 | -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ |
e275c824 PE |
1147 | -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ |
1148 | -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ | |
1149 | -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ | |
1150 | -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ | |
1151 | -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ | |
1152 | -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ | |
1153 | -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ | |
1154 | -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ | |
1155 | -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ | |
1156 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ | |
1157 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ | |
1158 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
1159 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
1160 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | |
1161 | } > $@-t && \ | |
1162 | mv $@-t $@ | |
1163 | MOSTLYCLEANFILES += unistd.h unistd.h-t | |
1164 | ||
1165 | EXTRA_DIST += unistd.in.h | |
1166 | ||
1167 | ## end gnulib module unistd | |
1168 | ||
a8a2bb29 PE |
1169 | ## begin gnulib module verify |
1170 | ||
19548d08 | 1171 | if gl_GNULIB_ENABLED_verify |
a8a2bb29 | 1172 | |
19548d08 | 1173 | endif |
1fc5f204 PE |
1174 | EXTRA_DIST += verify.h |
1175 | ||
a8a2bb29 PE |
1176 | ## end gnulib module verify |
1177 | ||
743c80a7 PE |
1178 | |
1179 | mostlyclean-local: mostlyclean-generic | |
1180 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
1181 | if test -n "$$dir" && test -d $$dir; then \ | |
1182 | echo "rmdir $$dir"; rmdir $$dir; \ | |
1183 | fi; \ | |
1184 | done; \ | |
1185 | : |