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