In nt/gnulib.mk create <byteswap.h> from <byteswap.in.h>.
[bpt/emacs.git] / nt / gnulib.mk
1 ## This file is an edited copy if ../lib/gnulib.mk.
2 ##
3 ## The purpose of the edits is to avoid generating any headers
4 ## which would conflict with either the headers we have in nt/inc,
5 ## or with MinGW system headers and subsequent redirection of some
6 ## functions in nt/inc/ms-w32.h.
7 ##
8 ## In general, do NOT remove anything from ../lib/gnulib.mk that
9 ## doesn't need to be removed, to minimize the differences from
10 ## upstream gnulib.mk and thus make the maintenance easier. Every
11 ## header file whose generation is controlled by configure-time tests
12 ## does NOT need to be removed; instead, force the configure script to
13 ## accept whatever MinGW has to offer, by defining the appropriate
14 ## Autoconf variable in the nt/mingw-cfg.site file. Headers that are
15 ## generated conditionally have the tell-tale "if GL_GENERATE_foo_H"
16 ## condition before their Makefile snippet in this file. Likewise, do
17 ## NOT remove gnulib modules which introduce header files that don't
18 ## exist in MinGW and in nt/inc/, since they cannot possibly clash
19 ## with anything. Gnulib modules that introduce source *.c files also
20 ## need not be removed; if they define functions that could clash with
21 ## the w32 substitutes in Emacs, disable their compilation by defining
22 ## suitable variables in nt/mingw-cfg.site.
23 ##
24 ## Process this file with automake to produce Makefile.in.
25 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
26 #
27 # This file is free software; you can redistribute it and/or modify
28 # it under the terms of the GNU General Public License as published by
29 # the Free Software Foundation; either version 3 of the License, or
30 # (at your option) any later version.
31 #
32 # This file is distributed in the hope that it will be useful,
33 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 # GNU General Public License for more details.
36 #
37 # You should have received a copy of the GNU General Public License
38 # along with this file. If not, see <http://www.gnu.org/licenses/>.
39 #
40 # As a special exception to the GNU General Public License,
41 # this file may be distributed as part of a program that
42 # contains a configuration script generated by Autoconf, under
43 # the same distribution terms as the rest of that program.
44 #
45 # Generated by gnulib-tool.
46 # 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=dup --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv qacl readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings
47
48
49 MOSTLYCLEANFILES += core *.stackdump
50
51 noinst_LIBRARIES += libgnu.a
52
53 libgnu_a_SOURCES =
54 libgnu_a_LIBADD = $(gl_LIBOBJS)
55 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
56 EXTRA_libgnu_a_SOURCES =
57
58 ## begin gnulib module alloca-opt
59
60 BUILT_SOURCES += $(ALLOCA_H)
61
62 # We need the following in order to create <alloca.h> when the system
63 # doesn't have one that works with the given compiler.
64 if GL_GENERATE_ALLOCA_H
65 alloca.h: alloca.in.h $(top_builddir)/config.status
66 $(AM_V_GEN)rm -f $@-t $@ && \
67 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68 cat $(srcdir)/alloca.in.h; \
69 } > $@-t && \
70 mv -f $@-t $@
71 else
72 alloca.h: $(top_builddir)/config.status
73 rm -f $@
74 endif
75 MOSTLYCLEANFILES += alloca.h alloca.h-t
76
77 EXTRA_DIST += alloca.in.h
78
79 ## end gnulib module alloca-opt
80
81 ## begin gnulib module byteswap
82
83 BUILT_SOURCES += $(BYTESWAP_H)
84
85 # We need the following in order to create <byteswap.h> when the system
86 # doesn't have one.
87 if GL_GENERATE_BYTESWAP_H
88 byteswap.h: byteswap.in.h $(top_builddir)/config.status
89 $(AM_V_GEN)rm -f $@-t $@ && \
90 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
91 cat $(srcdir)/byteswap.in.h; \
92 } > $@-t && \
93 mv -f $@-t $@
94 else
95 byteswap.h: $(top_builddir)/config.status
96 rm -f $@
97 endif
98 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
99
100 EXTRA_DIST += byteswap.in.h
101
102 ## end gnulib module byteswap
103
104 ## begin gnulib module c-ctype
105
106 libgnu_a_SOURCES += c-ctype.h c-ctype.c
107
108 ## end gnulib module c-ctype
109
110 ## begin gnulib module c-strcase
111
112 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
113
114 ## end gnulib module c-strcase
115
116 ## begin gnulib module close-stream
117
118 libgnu_a_SOURCES += close-stream.c
119
120 EXTRA_DIST += close-stream.h
121
122 ## end gnulib module close-stream
123
124 ## begin gnulib module crypto/md5
125
126 libgnu_a_SOURCES += md5.c
127
128 EXTRA_DIST += md5.h
129
130 ## end gnulib module crypto/md5
131
132 ## begin gnulib module crypto/sha1
133
134 libgnu_a_SOURCES += sha1.c
135
136 EXTRA_DIST += sha1.h
137
138 ## end gnulib module crypto/sha1
139
140 ## begin gnulib module crypto/sha256
141
142 libgnu_a_SOURCES += sha256.c
143
144 EXTRA_DIST += sha256.h
145
146 ## end gnulib module crypto/sha256
147
148 ## begin gnulib module crypto/sha512
149
150 libgnu_a_SOURCES += sha512.c
151
152 EXTRA_DIST += sha512.h
153
154 ## end gnulib module crypto/sha512
155
156 ## begin gnulib module dosname
157
158 if gl_GNULIB_ENABLED_dosname
159
160 endif
161 EXTRA_DIST += dosname.h
162
163 ## end gnulib module dosname
164
165 ## begin gnulib module dtoastr
166
167 libgnu_a_SOURCES += dtoastr.c
168
169 EXTRA_DIST += ftoastr.c ftoastr.h
170
171 EXTRA_libgnu_a_SOURCES += ftoastr.c
172
173 ## end gnulib module dtoastr
174
175 ## begin gnulib module dtotimespec
176
177 libgnu_a_SOURCES += dtotimespec.c
178
179 ## end gnulib module dtotimespec
180
181 ## begin gnulib module dup2
182
183
184 EXTRA_DIST += dup2.c
185
186 EXTRA_libgnu_a_SOURCES += dup2.c
187
188 ## end gnulib module dup2
189
190 ## begin gnulib module errno
191
192 BUILT_SOURCES += $(ERRNO_H)
193
194 # We need the following in order to create <errno.h> when the system
195 # doesn't have one that is POSIX compliant.
196 if GL_GENERATE_ERRNO_H
197 errno.h: errno.in.h $(top_builddir)/config.status
198 $(AM_V_GEN)rm -f $@-t $@ && \
199 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
200 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
201 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
202 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
203 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
204 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
205 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
206 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
207 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
208 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
209 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
210 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
211 < $(srcdir)/errno.in.h; \
212 } > $@-t && \
213 mv $@-t $@
214 else
215 errno.h: $(top_builddir)/config.status
216 rm -f $@
217 endif
218 MOSTLYCLEANFILES += errno.h errno.h-t
219
220 EXTRA_DIST += errno.in.h
221
222 ## end gnulib module errno
223
224 ## begin gnulib module euidaccess
225
226 if gl_GNULIB_ENABLED_euidaccess
227
228 endif
229 EXTRA_DIST += euidaccess.c
230
231 EXTRA_libgnu_a_SOURCES += euidaccess.c
232
233 ## end gnulib module euidaccess
234
235 ## begin gnulib module execinfo
236
237 BUILT_SOURCES += $(EXECINFO_H)
238
239 # We need the following in order to create <execinfo.h> when the system
240 # doesn't have one that works.
241 if GL_GENERATE_EXECINFO_H
242 execinfo.h: execinfo.in.h $(top_builddir)/config.status
243 $(AM_V_GEN)rm -f $@-t $@ && \
244 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
245 cat $(srcdir)/execinfo.in.h; \
246 } > $@-t && \
247 mv $@-t $@
248 else
249 execinfo.h: $(top_builddir)/config.status
250 rm -f $@
251 endif
252 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
253
254 EXTRA_DIST += execinfo.c execinfo.in.h
255
256 EXTRA_libgnu_a_SOURCES += execinfo.c
257
258 ## end gnulib module execinfo
259
260 ## begin gnulib module faccessat
261
262
263 EXTRA_DIST += at-func.c faccessat.c
264
265 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
266
267 ## end gnulib module faccessat
268
269 ## begin gnulib module fdatasync
270
271
272 EXTRA_DIST += fdatasync.c
273
274 EXTRA_libgnu_a_SOURCES += fdatasync.c
275
276 ## end gnulib module fdatasync
277
278 ## begin gnulib module fdopendir
279
280
281 EXTRA_DIST += fdopendir.c
282
283 EXTRA_libgnu_a_SOURCES += fdopendir.c
284
285 ## end gnulib module fdopendir
286
287 ## begin gnulib module filemode
288
289 libgnu_a_SOURCES += filemode.c
290
291 EXTRA_DIST += filemode.h
292
293 ## end gnulib module filemode
294
295 ## begin gnulib module fpending
296
297
298 EXTRA_DIST += fpending.c fpending.h
299
300 EXTRA_libgnu_a_SOURCES += fpending.c
301
302 ## end gnulib module fpending
303
304 ## begin gnulib module fstatat
305
306
307 EXTRA_DIST += at-func.c fstatat.c
308
309 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
310
311 ## end gnulib module fstatat
312
313 ## begin gnulib module fsync
314
315
316 EXTRA_DIST += fsync.c
317
318 EXTRA_libgnu_a_SOURCES += fsync.c
319
320 ## end gnulib module fsync
321
322 ## begin gnulib module getgroups
323
324 if gl_GNULIB_ENABLED_getgroups
325
326 endif
327 EXTRA_DIST += getgroups.c
328
329 EXTRA_libgnu_a_SOURCES += getgroups.c
330
331 ## end gnulib module getgroups
332
333 ## begin gnulib module getloadavg
334
335
336 EXTRA_DIST += getloadavg.c
337
338 EXTRA_libgnu_a_SOURCES += getloadavg.c
339
340 ## end gnulib module getloadavg
341
342 ## begin gnulib module getopt-posix
343
344 BUILT_SOURCES += $(GETOPT_H)
345
346 # We need the following in order to create <getopt.h> when the system
347 # doesn't have one that works with the given compiler.
348 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
349 $(AM_V_GEN)rm -f $@-t $@ && \
350 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
351 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
352 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
353 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
354 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
355 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
356 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
357 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
358 < $(srcdir)/getopt.in.h; \
359 } > $@-t && \
360 mv -f $@-t $@
361 MOSTLYCLEANFILES += getopt.h getopt.h-t
362
363 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
364
365 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
366
367 ## end gnulib module getopt-posix
368
369 ## begin gnulib module gettext-h
370
371 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
372 libgnu_a_SOURCES += gettext.h
373
374 endif
375 ## end gnulib module gettext-h
376
377 ## begin gnulib module gettime
378
379 libgnu_a_SOURCES += gettime.c
380
381 ## end gnulib module gettime
382
383 ## begin gnulib module gettimeofday
384
385
386 EXTRA_DIST += gettimeofday.c
387
388 EXTRA_libgnu_a_SOURCES += gettimeofday.c
389
390 ## end gnulib module gettimeofday
391
392 ## begin gnulib module group-member
393
394 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
395
396 endif
397 EXTRA_DIST += group-member.c
398
399 EXTRA_libgnu_a_SOURCES += group-member.c
400
401 ## end gnulib module group-member
402
403 ## begin gnulib module ignore-value
404
405
406 EXTRA_DIST += ignore-value.h
407
408 ## end gnulib module ignore-value
409
410 ## begin gnulib module intprops
411
412
413 EXTRA_DIST += intprops.h
414
415 ## end gnulib module intprops
416
417 ## begin gnulib module lstat
418
419
420 EXTRA_DIST += lstat.c
421
422 EXTRA_libgnu_a_SOURCES += lstat.c
423
424 ## end gnulib module lstat
425
426 ## begin gnulib module memrchr
427
428
429 EXTRA_DIST += memrchr.c
430
431 EXTRA_libgnu_a_SOURCES += memrchr.c
432
433 ## end gnulib module memrchr
434
435 ## begin gnulib module mktime
436
437
438 EXTRA_DIST += mktime-internal.h mktime.c
439
440 EXTRA_libgnu_a_SOURCES += mktime.c
441
442 ## end gnulib module mktime
443
444 ## begin gnulib module openat-h
445
446 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
447
448 endif
449 EXTRA_DIST += openat.h
450
451 ## end gnulib module openat-h
452
453 ## begin gnulib module pathmax
454
455 if gl_GNULIB_ENABLED_pathmax
456
457 endif
458 EXTRA_DIST += pathmax.h
459
460 ## end gnulib module pathmax
461
462 ## begin gnulib module pselect
463
464
465 EXTRA_DIST += pselect.c
466
467 EXTRA_libgnu_a_SOURCES += pselect.c
468
469 ## end gnulib module pselect
470
471 ## begin gnulib module pthread_sigmask
472
473
474 EXTRA_DIST += pthread_sigmask.c
475
476 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
477
478 ## end gnulib module pthread_sigmask
479
480 ## begin gnulib module putenv
481
482
483 EXTRA_DIST += putenv.c
484
485 EXTRA_libgnu_a_SOURCES += putenv.c
486
487 ## end gnulib module putenv
488
489 ## begin gnulib module qacl
490
491 libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c
492
493 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
494
495 EXTRA_libgnu_a_SOURCES += acl_entries.c
496
497 ## end gnulib module qacl
498
499 ## begin gnulib module readlink
500
501
502 EXTRA_DIST += readlink.c
503
504 EXTRA_libgnu_a_SOURCES += readlink.c
505
506 ## end gnulib module readlink
507
508 ## begin gnulib module readlinkat
509
510
511 EXTRA_DIST += at-func.c readlinkat.c
512
513 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
514
515 ## end gnulib module readlinkat
516
517 ## begin gnulib module root-uid
518
519 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
520
521 endif
522 EXTRA_DIST += root-uid.h
523
524 ## end gnulib module root-uid
525
526 ## begin gnulib module sig2str
527
528
529 EXTRA_DIST += sig2str.c sig2str.h
530
531 EXTRA_libgnu_a_SOURCES += sig2str.c
532
533 ## end gnulib module sig2str
534
535 ## begin gnulib module snippet/_Noreturn
536
537 # Because this Makefile snippet defines a variable used by other
538 # gnulib Makefile snippets, it must be present in all Makefile.am that
539 # need it. This is ensured by the applicability 'all' defined above.
540
541 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
542
543 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
544
545 ## end gnulib module snippet/_Noreturn
546
547 ## begin gnulib module snippet/arg-nonnull
548
549 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
550 # statements but through direct file reference. Therefore this snippet must be
551 # present in all Makefile.am that need it. This is ensured by the applicability
552 # 'all' defined above.
553
554 BUILT_SOURCES += arg-nonnull.h
555 # The arg-nonnull.h that gets inserted into generated .h files is the same as
556 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
557 # off.
558 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
559 $(AM_V_GEN)rm -f $@-t $@ && \
560 sed -n -e '/GL_ARG_NONNULL/,$$p' \
561 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
562 > $@-t && \
563 mv $@-t $@
564 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
565
566 ARG_NONNULL_H=arg-nonnull.h
567
568 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
569
570 ## end gnulib module snippet/arg-nonnull
571
572 ## begin gnulib module snippet/c++defs
573
574 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
575 # statements but through direct file reference. Therefore this snippet must be
576 # present in all Makefile.am that need it. This is ensured by the applicability
577 # 'all' defined above.
578
579 BUILT_SOURCES += c++defs.h
580 # The c++defs.h that gets inserted into generated .h files is the same as
581 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
582 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
583 $(AM_V_GEN)rm -f $@-t $@ && \
584 sed -n -e '/_GL_CXXDEFS/,$$p' \
585 < $(top_srcdir)/build-aux/snippet/c++defs.h \
586 > $@-t && \
587 mv $@-t $@
588 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
589
590 CXXDEFS_H=c++defs.h
591
592 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
593
594 ## end gnulib module snippet/c++defs
595
596 ## begin gnulib module snippet/warn-on-use
597
598 BUILT_SOURCES += warn-on-use.h
599 # The warn-on-use.h that gets inserted into generated .h files is the same as
600 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
601 # off.
602 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
603 $(AM_V_GEN)rm -f $@-t $@ && \
604 sed -n -e '/^.ifndef/,$$p' \
605 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
606 > $@-t && \
607 mv $@-t $@
608 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
609
610 WARN_ON_USE_H=warn-on-use.h
611
612 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
613
614 ## end gnulib module snippet/warn-on-use
615
616 ## begin gnulib module stat
617
618 if gl_GNULIB_ENABLED_stat
619
620 endif
621 EXTRA_DIST += stat.c
622
623 EXTRA_libgnu_a_SOURCES += stat.c
624
625 ## end gnulib module stat
626
627 ## begin gnulib module stat-time
628
629 libgnu_a_SOURCES += stat-time.c
630
631 EXTRA_DIST += stat-time.h
632
633 ## end gnulib module stat-time
634
635 ## begin gnulib module stdalign
636
637 BUILT_SOURCES += $(STDALIGN_H)
638
639 # We need the following in order to create <stdalign.h> when the system
640 # doesn't have one that works.
641 if GL_GENERATE_STDALIGN_H
642 stdalign.h: stdalign.in.h $(top_builddir)/config.status
643 $(AM_V_GEN)rm -f $@-t $@ && \
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
645 cat $(srcdir)/stdalign.in.h; \
646 } > $@-t && \
647 mv $@-t $@
648 else
649 stdalign.h: $(top_builddir)/config.status
650 rm -f $@
651 endif
652 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
653
654 EXTRA_DIST += stdalign.in.h
655
656 ## end gnulib module stdalign
657
658 ## begin gnulib module stdarg
659
660 BUILT_SOURCES += $(STDARG_H)
661
662 # We need the following in order to create <stdarg.h> when the system
663 # doesn't have one that works with the given compiler.
664 if GL_GENERATE_STDARG_H
665 stdarg.h: stdarg.in.h $(top_builddir)/config.status
666 $(AM_V_GEN)rm -f $@-t $@ && \
667 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
668 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
669 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
670 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
671 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
672 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
673 < $(srcdir)/stdarg.in.h; \
674 } > $@-t && \
675 mv $@-t $@
676 else
677 stdarg.h: $(top_builddir)/config.status
678 rm -f $@
679 endif
680 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
681
682 EXTRA_DIST += stdarg.in.h
683
684 ## end gnulib module stdarg
685
686 ## begin gnulib module stdbool
687
688 BUILT_SOURCES += $(STDBOOL_H)
689
690 # We need the following in order to create <stdbool.h> when the system
691 # doesn't have one that works.
692 if GL_GENERATE_STDBOOL_H
693 stdbool.h: stdbool.in.h $(top_builddir)/config.status
694 $(AM_V_GEN)rm -f $@-t $@ && \
695 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
696 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
697 } > $@-t && \
698 mv $@-t $@
699 else
700 stdbool.h: $(top_builddir)/config.status
701 rm -f $@
702 endif
703 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
704
705 EXTRA_DIST += stdbool.in.h
706
707 ## end gnulib module stdbool
708
709 ## begin gnulib module stddef
710
711 BUILT_SOURCES += $(STDDEF_H)
712
713 # We need the following in order to create <stddef.h> when the system
714 # doesn't have one that works with the given compiler.
715 if GL_GENERATE_STDDEF_H
716 stddef.h: stddef.in.h $(top_builddir)/config.status
717 $(AM_V_GEN)rm -f $@-t $@ && \
718 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
719 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
720 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
721 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
722 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
723 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
724 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
725 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
726 < $(srcdir)/stddef.in.h; \
727 } > $@-t && \
728 mv $@-t $@
729 else
730 stddef.h: $(top_builddir)/config.status
731 rm -f $@
732 endif
733 MOSTLYCLEANFILES += stddef.h stddef.h-t
734
735 EXTRA_DIST += stddef.in.h
736
737 ## end gnulib module stddef
738
739 ## begin gnulib module stdint
740
741 BUILT_SOURCES += $(STDINT_H)
742
743 # We need the following in order to create <stdint.h> when the system
744 # doesn't have one that works with the given compiler.
745 if GL_GENERATE_STDINT_H
746 stdint.h: stdint.in.h $(top_builddir)/config.status
747 $(AM_V_GEN)rm -f $@-t $@ && \
748 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
749 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
750 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
751 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
752 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
753 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
754 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
755 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
756 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
757 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
758 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
759 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
760 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
761 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
762 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
763 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
764 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
765 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
766 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
767 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
768 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
769 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
770 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
771 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
772 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
773 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
774 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
775 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
776 < $(srcdir)/stdint.in.h; \
777 } > $@-t && \
778 mv $@-t $@
779 else
780 stdint.h: $(top_builddir)/config.status
781 rm -f $@
782 endif
783 MOSTLYCLEANFILES += stdint.h stdint.h-t
784
785 EXTRA_DIST += stdint.in.h
786
787 ## end gnulib module stdint
788
789 ## begin gnulib module strftime
790
791 libgnu_a_SOURCES += strftime.c
792
793 EXTRA_DIST += strftime.h
794
795 ## end gnulib module strftime
796
797 ## begin gnulib module strtoimax
798
799
800 EXTRA_DIST += strtoimax.c
801
802 EXTRA_libgnu_a_SOURCES += strtoimax.c
803
804 ## end gnulib module strtoimax
805
806 ## begin gnulib module strtoll
807
808 if gl_GNULIB_ENABLED_strtoll
809
810 endif
811 EXTRA_DIST += strtol.c strtoll.c
812
813 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
814
815 ## end gnulib module strtoll
816
817 ## begin gnulib module strtoull
818
819 if gl_GNULIB_ENABLED_strtoull
820
821 endif
822 EXTRA_DIST += strtol.c strtoul.c strtoull.c
823
824 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
825
826 ## end gnulib module strtoull
827
828 ## begin gnulib module strtoumax
829
830
831 EXTRA_DIST += strtoimax.c strtoumax.c
832
833 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
834
835 ## end gnulib module strtoumax
836
837 ## begin gnulib module symlink
838
839
840 EXTRA_DIST += symlink.c
841
842 EXTRA_libgnu_a_SOURCES += symlink.c
843
844 ## end gnulib module symlink
845
846 ## begin gnulib module time_r
847
848
849 EXTRA_DIST += time_r.c
850
851 EXTRA_libgnu_a_SOURCES += time_r.c
852
853 ## end gnulib module time_r
854
855 ## begin gnulib module timespec
856
857 libgnu_a_SOURCES += timespec.c
858
859 EXTRA_DIST += timespec.h
860
861 ## end gnulib module timespec
862
863 ## begin gnulib module timespec-add
864
865 libgnu_a_SOURCES += timespec-add.c
866
867 ## end gnulib module timespec-add
868
869 ## begin gnulib module timespec-sub
870
871 libgnu_a_SOURCES += timespec-sub.c
872
873 ## end gnulib module timespec-sub
874
875 ## begin gnulib module u64
876
877 libgnu_a_SOURCES += u64.c
878
879 EXTRA_DIST += u64.h
880
881 ## end gnulib module u64
882
883 ## begin gnulib module unsetenv
884
885
886 EXTRA_DIST += unsetenv.c
887
888 EXTRA_libgnu_a_SOURCES += unsetenv.c
889
890 ## end gnulib module unsetenv
891
892 ## begin gnulib module utimens
893
894 libgnu_a_SOURCES += utimens.c
895
896 EXTRA_DIST += utimens.h
897
898 ## end gnulib module utimens
899
900 ## begin gnulib module verify
901
902 EXTRA_DIST += verify.h
903
904 ## end gnulib module verify
905
906 ## begin gnulib module xalloc-oversized
907
908 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
909
910 endif
911 EXTRA_DIST += xalloc-oversized.h
912
913 ## end gnulib module xalloc-oversized
914
915
916 mostlyclean-local: mostlyclean-generic
917 @for dir in '' $(MOSTLYCLEANDIRS); do \
918 if test -n "$$dir" && test -d $$dir; then \
919 echo "rmdir $$dir"; rmdir $$dir; \
920 fi; \
921 done; \
922 :