[ChangeLog]
[bpt/emacs.git] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value lstat mktime readlink strftime symlink sys_stat
13
14
15 MOSTLYCLEANFILES += core *.stackdump
16
17 noinst_LIBRARIES += libgnu.a
18
19 libgnu_a_SOURCES =
20 libgnu_a_LIBADD = $(gl_LIBOBJS)
21 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
22 EXTRA_libgnu_a_SOURCES =
23
24 ## begin gnulib module arg-nonnull
25
26 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
27 # statements but through direct file reference. Therefore this snippet must be
28 # present in all Makefile.am that need it. This is ensured by the applicability
29 # 'all' defined above.
30
31 BUILT_SOURCES += arg-nonnull.h
32 # The arg-nonnull.h that gets inserted into generated .h files is the same as
33 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
34 arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
35 $(AM_V_GEN)rm -f $@-t $@ && \
36 sed -n -e '/GL_ARG_NONNULL/,$$p' \
37 < $(top_srcdir)/./arg-nonnull.h \
38 > $@-t && \
39 mv $@-t $@
40 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
41
42 ARG_NONNULL_H=arg-nonnull.h
43
44 EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
45
46 ## end gnulib module arg-nonnull
47
48 ## begin gnulib module c++defs
49
50 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
51 # statements but through direct file reference. Therefore this snippet must be
52 # present in all Makefile.am that need it. This is ensured by the applicability
53 # 'all' defined above.
54
55 BUILT_SOURCES += c++defs.h
56 # The c++defs.h that gets inserted into generated .h files is the same as
57 # build-aux/c++defs.h, except that it has the copyright header cut off.
58 c++defs.h: $(top_srcdir)/./c++defs.h
59 $(AM_V_GEN)rm -f $@-t $@ && \
60 sed -n -e '/_GL_CXXDEFS/,$$p' \
61 < $(top_srcdir)/./c++defs.h \
62 > $@-t && \
63 mv $@-t $@
64 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
65
66 CXXDEFS_H=c++defs.h
67
68 EXTRA_DIST += $(top_srcdir)/./c++defs.h
69
70 ## end gnulib module c++defs
71
72 ## begin gnulib module crypto/md5
73
74
75 EXTRA_DIST += md5.c md5.h
76
77 EXTRA_libgnu_a_SOURCES += md5.c
78
79 ## end gnulib module crypto/md5
80
81 ## begin gnulib module dtoastr
82
83 libgnu_a_SOURCES += dtoastr.c
84
85 EXTRA_DIST += ftoastr.c ftoastr.h
86
87 EXTRA_libgnu_a_SOURCES += ftoastr.c
88
89 ## end gnulib module dtoastr
90
91 ## begin gnulib module filemode
92
93
94 EXTRA_DIST += filemode.c filemode.h
95
96 EXTRA_libgnu_a_SOURCES += filemode.c
97
98 ## end gnulib module filemode
99
100 ## begin gnulib module getloadavg
101
102
103 EXTRA_DIST += getloadavg.c
104
105 EXTRA_libgnu_a_SOURCES += getloadavg.c
106
107 ## end gnulib module getloadavg
108
109 ## begin gnulib module getopt-posix
110
111 BUILT_SOURCES += $(GETOPT_H)
112
113 # We need the following in order to create <getopt.h> when the system
114 # doesn't have one that works with the given compiler.
115 getopt.h: getopt.in.h $(ARG_NONNULL_H)
116 $(AM_V_GEN)rm -f $@-t $@ && \
117 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
118 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
119 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
120 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
121 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
122 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
123 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
124 < $(srcdir)/getopt.in.h; \
125 } > $@-t && \
126 mv -f $@-t $@
127 MOSTLYCLEANFILES += getopt.h getopt.h-t
128
129 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
130
131 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
132
133 ## end gnulib module getopt-posix
134
135 ## begin gnulib module gettext-h
136
137 libgnu_a_SOURCES += gettext.h
138
139 ## end gnulib module gettext-h
140
141 ## begin gnulib module ignore-value
142
143 libgnu_a_SOURCES += ignore-value.h
144
145 ## end gnulib module ignore-value
146
147 ## begin gnulib module intprops
148
149
150 EXTRA_DIST += intprops.h
151
152 ## end gnulib module intprops
153
154 ## begin gnulib module lstat
155
156
157 EXTRA_DIST += lstat.c
158
159 EXTRA_libgnu_a_SOURCES += lstat.c
160
161 ## end gnulib module lstat
162
163 ## begin gnulib module mktime
164
165
166 EXTRA_DIST += mktime-internal.h mktime.c
167
168 EXTRA_libgnu_a_SOURCES += mktime.c
169
170 ## end gnulib module mktime
171
172 ## begin gnulib module readlink
173
174
175 EXTRA_DIST += readlink.c
176
177 EXTRA_libgnu_a_SOURCES += readlink.c
178
179 ## end gnulib module readlink
180
181 ## begin gnulib module stat
182
183
184 EXTRA_DIST += stat.c
185
186 EXTRA_libgnu_a_SOURCES += stat.c
187
188 ## end gnulib module stat
189
190 ## begin gnulib module stdbool
191
192 BUILT_SOURCES += $(STDBOOL_H)
193
194 # We need the following in order to create <stdbool.h> when the system
195 # doesn't have one that works.
196 stdbool.h: stdbool.in.h
197 $(AM_V_GEN)rm -f $@-t $@ && \
198 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
199 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
200 } > $@-t && \
201 mv $@-t $@
202 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
203
204 EXTRA_DIST += stdbool.in.h
205
206 ## end gnulib module stdbool
207
208 ## begin gnulib module stddef
209
210 BUILT_SOURCES += $(STDDEF_H)
211
212 # We need the following in order to create <stddef.h> when the system
213 # doesn't have one that works with the given compiler.
214 stddef.h: stddef.in.h
215 $(AM_V_GEN)rm -f $@-t $@ && \
216 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
217 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
218 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
219 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
220 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
221 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
222 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
223 < $(srcdir)/stddef.in.h; \
224 } > $@-t && \
225 mv $@-t $@
226 MOSTLYCLEANFILES += stddef.h stddef.h-t
227
228 EXTRA_DIST += stddef.in.h
229
230 ## end gnulib module stddef
231
232 ## begin gnulib module stdint
233
234 BUILT_SOURCES += $(STDINT_H)
235
236 # We need the following in order to create <stdint.h> when the system
237 # doesn't have one that works with the given compiler.
238 stdint.h: stdint.in.h
239 $(AM_V_GEN)rm -f $@-t $@ && \
240 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
241 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
242 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
243 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
244 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
245 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
246 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
247 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
248 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
249 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
250 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
251 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
252 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
253 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
254 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
255 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
256 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
257 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
258 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
259 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
260 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
261 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
262 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
263 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
264 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
265 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
266 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
267 < $(srcdir)/stdint.in.h; \
268 } > $@-t && \
269 mv $@-t $@
270 MOSTLYCLEANFILES += stdint.h stdint.h-t
271
272 EXTRA_DIST += stdint.in.h
273
274 ## end gnulib module stdint
275
276 ## begin gnulib module stdlib
277
278 BUILT_SOURCES += stdlib.h
279
280 # We need the following in order to create <stdlib.h> when the system
281 # doesn't have one that works with the given compiler.
282 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
283 $(AM_V_GEN)rm -f $@-t $@ && \
284 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
285 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
286 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
287 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
288 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
289 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
290 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
291 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
292 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
293 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
294 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
295 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
296 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
297 -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \
298 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
299 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
300 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
301 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
302 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
303 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
304 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
305 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
306 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
307 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
308 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
309 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
310 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
311 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
312 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
313 -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \
314 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
315 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
316 -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \
317 < $(srcdir)/stdlib.in.h | \
318 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
319 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
320 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
321 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
322 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
323 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
324 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
325 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
326 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
327 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
328 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
329 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
330 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
331 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
332 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
333 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
334 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
335 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
336 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
337 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
338 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
339 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
340 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
341 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
342 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
343 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
344 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
345 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
346 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
347 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
348 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
349 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
350 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
351 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
352 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
353 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
354 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
355 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
356 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
357 } > $@-t && \
358 mv $@-t $@
359 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
360
361 EXTRA_DIST += stdlib.in.h
362
363 ## end gnulib module stdlib
364
365 ## begin gnulib module strftime
366
367
368 EXTRA_DIST += strftime.c strftime.h
369
370 EXTRA_libgnu_a_SOURCES += strftime.c
371
372 ## end gnulib module strftime
373
374 ## begin gnulib module symlink
375
376
377 EXTRA_DIST += symlink.c
378
379 EXTRA_libgnu_a_SOURCES += symlink.c
380
381 ## end gnulib module symlink
382
383 ## begin gnulib module sys_stat
384
385 BUILT_SOURCES += sys/stat.h
386
387 # We need the following in order to create <sys/stat.h> when the system
388 # has one that is incomplete.
389 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
390 $(AM_V_at)$(MKDIR_P) sys
391 $(AM_V_GEN)rm -f $@-t $@ && \
392 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
393 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
394 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
395 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
396 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
397 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
398 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
399 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
400 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
401 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
402 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
403 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
404 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
405 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
406 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
407 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
408 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
409 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
410 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
411 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
412 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
413 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
414 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
415 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
416 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
417 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
418 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
419 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
420 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
421 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
422 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
423 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
424 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
425 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
426 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
427 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
428 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
429 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
430 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
431 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
432 < $(srcdir)/sys_stat.in.h; \
433 } > $@-t && \
434 mv $@-t $@
435 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
436 MOSTLYCLEANDIRS += sys
437
438 EXTRA_DIST += sys_stat.in.h
439
440 ## end gnulib module sys_stat
441
442 ## begin gnulib module time
443
444 BUILT_SOURCES += time.h
445
446 # We need the following in order to create <time.h> when the system
447 # doesn't have one that works with the given compiler.
448 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
449 $(AM_V_GEN)rm -f $@-t $@ && \
450 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
451 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
452 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
453 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
454 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
455 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
456 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
457 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
458 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
459 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
460 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
461 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
462 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
463 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
464 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
465 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
466 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
467 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
468 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
469 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
470 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
471 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
472 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
473 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
474 < $(srcdir)/time.in.h; \
475 } > $@-t && \
476 mv $@-t $@
477 MOSTLYCLEANFILES += time.h time.h-t
478
479 EXTRA_DIST += time.in.h
480
481 ## end gnulib module time
482
483 ## begin gnulib module time_r
484
485
486 EXTRA_DIST += time_r.c
487
488 EXTRA_libgnu_a_SOURCES += time_r.c
489
490 ## end gnulib module time_r
491
492 ## begin gnulib module unistd
493
494 BUILT_SOURCES += unistd.h
495
496 # We need the following in order to create an empty placeholder for
497 # <unistd.h> when the system doesn't have one.
498 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
499 $(AM_V_GEN)rm -f $@-t $@ && \
500 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
501 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
502 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
503 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
504 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
505 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
506 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
507 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
508 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
509 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
510 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
511 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
512 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
513 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
514 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
515 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
516 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
517 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
518 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
519 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
520 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
521 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
522 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
523 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
524 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
525 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
526 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
527 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
528 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
529 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
530 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
531 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
532 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
533 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
534 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
535 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
536 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
537 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
538 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
539 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
540 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
541 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
542 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
543 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
544 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
545 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
546 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
547 < $(srcdir)/unistd.in.h | \
548 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
549 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
550 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
551 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
552 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
553 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
554 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
555 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
556 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
557 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
558 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
559 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
560 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
561 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
562 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
563 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
564 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
565 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
566 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
567 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
568 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
569 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
570 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
571 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
572 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
573 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
574 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
575 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
576 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
577 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
578 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
579 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
580 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
581 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
582 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
583 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
584 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
585 | \
586 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
587 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
588 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
589 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
590 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
591 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
592 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
593 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
594 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
595 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
596 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
597 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
598 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
599 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
600 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
601 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
602 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
603 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
604 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
605 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
606 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
607 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
608 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
609 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
610 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
611 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
612 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
613 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
614 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
615 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
616 } > $@-t && \
617 mv $@-t $@
618 MOSTLYCLEANFILES += unistd.h unistd.h-t
619
620 EXTRA_DIST += unistd.in.h
621
622 ## end gnulib module unistd
623
624 ## begin gnulib module warn-on-use
625
626 BUILT_SOURCES += warn-on-use.h
627 # The warn-on-use.h that gets inserted into generated .h files is the same as
628 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
629 warn-on-use.h: $(top_srcdir)/./warn-on-use.h
630 $(AM_V_GEN)rm -f $@-t $@ && \
631 sed -n -e '/^.ifndef/,$$p' \
632 < $(top_srcdir)/./warn-on-use.h \
633 > $@-t && \
634 mv $@-t $@
635 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
636
637 WARN_ON_USE_H=warn-on-use.h
638
639 EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
640
641 ## end gnulib module warn-on-use
642
643
644 mostlyclean-local: mostlyclean-generic
645 @for dir in '' $(MOSTLYCLEANDIRS); do \
646 if test -n "$$dir" && test -d $$dir; then \
647 echo "rmdir $$dir"; rmdir $$dir; \
648 fi; \
649 done; \
650 :