Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / nt / gnulib.mk
blob7877c154b96f205e08688b66dea04742fc39e464
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.
24 ## Process this file with automake to produce Makefile.in.
25 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
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.
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.
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/>.
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.
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=close --avoid=dup --avoid=fchdir --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 byteswap c-ctype c-strcase careadlinkat close-stream count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday intprops largefile lstat manywarnings memrchr mkostemp mktime pipe2 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
49 MOSTLYCLEANFILES += core *.stackdump
51 noinst_LIBRARIES += libgnu.a
53 libgnu_a_SOURCES =
54 libgnu_a_LIBADD = $(gl_LIBOBJS)
55 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
56 EXTRA_libgnu_a_SOURCES =
58 ## begin gnulib module alloca-opt
60 BUILT_SOURCES += $(ALLOCA_H)
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
77 EXTRA_DIST += alloca.in.h
79 ## end gnulib module alloca-opt
81 ## begin gnulib module byteswap
83 BUILT_SOURCES += $(BYTESWAP_H)
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
100 EXTRA_DIST += byteswap.in.h
102 ## end gnulib module byteswap
104 ## begin gnulib module c-ctype
106 libgnu_a_SOURCES += c-ctype.h c-ctype.c
108 ## end gnulib module c-ctype
110 ## begin gnulib module c-strcase
112 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
114 ## end gnulib module c-strcase
116 ## begin gnulib module close-stream
118 libgnu_a_SOURCES += close-stream.c
120 EXTRA_DIST += close-stream.h
122 ## end gnulib module close-stream
124 ## begin gnulib module count-one-bits
126 libgnu_a_SOURCES += count-one-bits.c
128 EXTRA_DIST += count-one-bits.h
130 ## end gnulib module count-one-bits
132 ## begin gnulib module count-trailing-zeros
134 libgnu_a_SOURCES += count-trailing-zeros.c
136 EXTRA_DIST += count-trailing-zeros.h
138 ## end gnulib module count-trailing-zeros
140 ## begin gnulib module crypto/md5
142 libgnu_a_SOURCES += md5.c
144 EXTRA_DIST += md5.h
146 ## end gnulib module crypto/md5
148 ## begin gnulib module crypto/sha1
150 libgnu_a_SOURCES += sha1.c
152 EXTRA_DIST += sha1.h
154 ## end gnulib module crypto/sha1
156 ## begin gnulib module crypto/sha256
158 libgnu_a_SOURCES += sha256.c
160 EXTRA_DIST += sha256.h
162 ## end gnulib module crypto/sha256
164 ## begin gnulib module crypto/sha512
166 libgnu_a_SOURCES += sha512.c
168 EXTRA_DIST += sha512.h
170 ## end gnulib module crypto/sha512
172 ## begin gnulib module dosname
174 if gl_GNULIB_ENABLED_dosname
176 endif
177 EXTRA_DIST += dosname.h
179 ## end gnulib module dosname
181 ## begin gnulib module dtoastr
183 libgnu_a_SOURCES += dtoastr.c
185 EXTRA_DIST += ftoastr.c ftoastr.h
187 EXTRA_libgnu_a_SOURCES += ftoastr.c
189 ## end gnulib module dtoastr
191 ## begin gnulib module dtotimespec
193 libgnu_a_SOURCES += dtotimespec.c
195 ## end gnulib module dtotimespec
197 ## begin gnulib module dup2
200 EXTRA_DIST += dup2.c
202 EXTRA_libgnu_a_SOURCES += dup2.c
204 ## end gnulib module dup2
206 ## begin gnulib module errno
208 BUILT_SOURCES += $(ERRNO_H)
210 # We need the following in order to create <errno.h> when the system
211 # doesn't have one that is POSIX compliant.
212 if GL_GENERATE_ERRNO_H
213 errno.h: errno.in.h $(top_builddir)/config.status
214 $(AM_V_GEN)rm -f $@-t $@ && \
215 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
216 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
217 -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_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
221 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
222 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
223 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
224 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
225 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
226 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
227 < $(srcdir)/errno.in.h; \
228 } > $@-t && \
229 mv $@-t $@
230 else
231 errno.h: $(top_builddir)/config.status
232 rm -f $@
233 endif
234 MOSTLYCLEANFILES += errno.h errno.h-t
236 EXTRA_DIST += errno.in.h
238 ## end gnulib module errno
240 ## begin gnulib module euidaccess
242 if gl_GNULIB_ENABLED_euidaccess
244 endif
245 EXTRA_DIST += euidaccess.c
247 EXTRA_libgnu_a_SOURCES += euidaccess.c
249 ## end gnulib module euidaccess
251 ## begin gnulib module execinfo
253 BUILT_SOURCES += $(EXECINFO_H)
255 # We need the following in order to create <execinfo.h> when the system
256 # doesn't have one that works.
257 if GL_GENERATE_EXECINFO_H
258 execinfo.h: execinfo.in.h $(top_builddir)/config.status
259 $(AM_V_GEN)rm -f $@-t $@ && \
260 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
261 cat $(srcdir)/execinfo.in.h; \
262 } > $@-t && \
263 mv $@-t $@
264 else
265 execinfo.h: $(top_builddir)/config.status
266 rm -f $@
267 endif
268 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
270 EXTRA_DIST += execinfo.c execinfo.in.h
272 EXTRA_libgnu_a_SOURCES += execinfo.c
274 ## end gnulib module execinfo
276 ## begin gnulib module faccessat
279 EXTRA_DIST += at-func.c faccessat.c
281 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
283 ## end gnulib module faccessat
285 ## begin gnulib module fdatasync
288 EXTRA_DIST += fdatasync.c
290 EXTRA_libgnu_a_SOURCES += fdatasync.c
292 ## end gnulib module fdatasync
294 ## begin gnulib module fdopendir
297 EXTRA_DIST += fdopendir.c
299 EXTRA_libgnu_a_SOURCES += fdopendir.c
301 ## end gnulib module fdopendir
303 ## begin gnulib module filemode
305 libgnu_a_SOURCES += filemode.c
307 EXTRA_DIST += filemode.h
309 ## end gnulib module filemode
311 ## begin gnulib module fpending
314 EXTRA_DIST += fpending.c fpending.h
316 EXTRA_libgnu_a_SOURCES += fpending.c
318 ## end gnulib module fpending
320 ## begin gnulib module fstatat
323 EXTRA_DIST += at-func.c fstatat.c
325 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
327 ## end gnulib module fstatat
329 ## begin gnulib module fsync
332 EXTRA_DIST += fsync.c
334 EXTRA_libgnu_a_SOURCES += fsync.c
336 ## end gnulib module fsync
338 ## begin gnulib module getgroups
340 if gl_GNULIB_ENABLED_getgroups
342 endif
343 EXTRA_DIST += getgroups.c
345 EXTRA_libgnu_a_SOURCES += getgroups.c
347 ## end gnulib module getgroups
349 ## begin gnulib module getloadavg
352 EXTRA_DIST += getloadavg.c
354 EXTRA_libgnu_a_SOURCES += getloadavg.c
356 ## end gnulib module getloadavg
358 ## begin gnulib module getopt-posix
360 BUILT_SOURCES += $(GETOPT_H)
362 # We need the following in order to create <getopt.h> when the system
363 # doesn't have one that works with the given compiler.
364 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
365 $(AM_V_GEN)rm -f $@-t $@ && \
366 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
367 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
368 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
369 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
370 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
371 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
372 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
373 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
374 < $(srcdir)/getopt.in.h; \
375 } > $@-t && \
376 mv -f $@-t $@
377 MOSTLYCLEANFILES += getopt.h getopt.h-t
379 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
381 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
383 ## end gnulib module getopt-posix
385 ## begin gnulib module gettext-h
387 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
388 libgnu_a_SOURCES += gettext.h
390 endif
391 ## end gnulib module gettext-h
393 ## begin gnulib module gettime
395 libgnu_a_SOURCES += gettime.c
397 ## end gnulib module gettime
399 ## begin gnulib module gettimeofday
402 EXTRA_DIST += gettimeofday.c
404 EXTRA_libgnu_a_SOURCES += gettimeofday.c
406 ## end gnulib module gettimeofday
408 ## begin gnulib module group-member
410 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
412 endif
413 EXTRA_DIST += group-member.c
415 EXTRA_libgnu_a_SOURCES += group-member.c
417 ## end gnulib module group-member
419 ## begin gnulib module ignore-value
422 EXTRA_DIST += ignore-value.h
424 ## end gnulib module ignore-value
426 ## begin gnulib module intprops
429 EXTRA_DIST += intprops.h
431 ## end gnulib module intprops
433 ## begin gnulib module lstat
436 EXTRA_DIST += lstat.c
438 EXTRA_libgnu_a_SOURCES += lstat.c
440 ## end gnulib module lstat
442 ## begin gnulib module memrchr
445 EXTRA_DIST += memrchr.c
447 EXTRA_libgnu_a_SOURCES += memrchr.c
449 ## end gnulib module memrchr
451 ## begin gnulib module mktime
454 EXTRA_DIST += mktime-internal.h mktime.c
456 EXTRA_libgnu_a_SOURCES += mktime.c
458 ## end gnulib module mktime
460 ## begin gnulib module openat-h
462 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
464 endif
465 EXTRA_DIST += openat.h
467 ## end gnulib module openat-h
469 ## begin gnulib module pathmax
471 if gl_GNULIB_ENABLED_pathmax
473 endif
474 EXTRA_DIST += pathmax.h
476 ## end gnulib module pathmax
478 ## begin gnulib module pselect
481 EXTRA_DIST += pselect.c
483 EXTRA_libgnu_a_SOURCES += pselect.c
485 ## end gnulib module pselect
487 ## begin gnulib module pthread_sigmask
490 EXTRA_DIST += pthread_sigmask.c
492 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
494 ## end gnulib module pthread_sigmask
496 ## begin gnulib module putenv
499 EXTRA_DIST += putenv.c
501 EXTRA_libgnu_a_SOURCES += putenv.c
503 ## end gnulib module putenv
505 ## begin gnulib module qacl
507 libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c
509 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
511 EXTRA_libgnu_a_SOURCES += acl_entries.c
513 ## end gnulib module qacl
515 ## begin gnulib module readlink
518 EXTRA_DIST += readlink.c
520 EXTRA_libgnu_a_SOURCES += readlink.c
522 ## end gnulib module readlink
524 ## begin gnulib module readlinkat
527 EXTRA_DIST += at-func.c readlinkat.c
529 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
531 ## end gnulib module readlinkat
533 ## begin gnulib module root-uid
535 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
537 endif
538 EXTRA_DIST += root-uid.h
540 ## end gnulib module root-uid
542 ## begin gnulib module sig2str
545 EXTRA_DIST += sig2str.c sig2str.h
547 EXTRA_libgnu_a_SOURCES += sig2str.c
549 ## end gnulib module sig2str
551 ## begin gnulib module snippet/_Noreturn
553 # Because this Makefile snippet defines a variable used by other
554 # gnulib Makefile snippets, it must be present in all Makefile.am that
555 # need it. This is ensured by the applicability 'all' defined above.
557 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
559 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
561 ## end gnulib module snippet/_Noreturn
563 ## begin gnulib module snippet/arg-nonnull
565 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
566 # statements but through direct file reference. Therefore this snippet must be
567 # present in all Makefile.am that need it. This is ensured by the applicability
568 # 'all' defined above.
570 BUILT_SOURCES += arg-nonnull.h
571 # The arg-nonnull.h that gets inserted into generated .h files is the same as
572 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
573 # off.
574 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
575 $(AM_V_GEN)rm -f $@-t $@ && \
576 sed -n -e '/GL_ARG_NONNULL/,$$p' \
577 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
578 > $@-t && \
579 mv $@-t $@
580 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
582 ARG_NONNULL_H=arg-nonnull.h
584 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
586 ## end gnulib module snippet/arg-nonnull
588 ## begin gnulib module snippet/c++defs
590 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
591 # statements but through direct file reference. Therefore this snippet must be
592 # present in all Makefile.am that need it. This is ensured by the applicability
593 # 'all' defined above.
595 BUILT_SOURCES += c++defs.h
596 # The c++defs.h that gets inserted into generated .h files is the same as
597 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
598 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
599 $(AM_V_GEN)rm -f $@-t $@ && \
600 sed -n -e '/_GL_CXXDEFS/,$$p' \
601 < $(top_srcdir)/build-aux/snippet/c++defs.h \
602 > $@-t && \
603 mv $@-t $@
604 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
606 CXXDEFS_H=c++defs.h
608 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
610 ## end gnulib module snippet/c++defs
612 ## begin gnulib module snippet/warn-on-use
614 BUILT_SOURCES += warn-on-use.h
615 # The warn-on-use.h that gets inserted into generated .h files is the same as
616 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
617 # off.
618 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
619 $(AM_V_GEN)rm -f $@-t $@ && \
620 sed -n -e '/^.ifndef/,$$p' \
621 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
622 > $@-t && \
623 mv $@-t $@
624 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
626 WARN_ON_USE_H=warn-on-use.h
628 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
630 ## end gnulib module snippet/warn-on-use
632 ## begin gnulib module stat
634 if gl_GNULIB_ENABLED_stat
636 endif
637 EXTRA_DIST += stat.c
639 EXTRA_libgnu_a_SOURCES += stat.c
641 ## end gnulib module stat
643 ## begin gnulib module stat-time
645 libgnu_a_SOURCES += stat-time.c
647 EXTRA_DIST += stat-time.h
649 ## end gnulib module stat-time
651 ## begin gnulib module stdalign
653 BUILT_SOURCES += $(STDALIGN_H)
655 # We need the following in order to create <stdalign.h> when the system
656 # doesn't have one that works.
657 if GL_GENERATE_STDALIGN_H
658 stdalign.h: stdalign.in.h $(top_builddir)/config.status
659 $(AM_V_GEN)rm -f $@-t $@ && \
660 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
661 cat $(srcdir)/stdalign.in.h; \
662 } > $@-t && \
663 mv $@-t $@
664 else
665 stdalign.h: $(top_builddir)/config.status
666 rm -f $@
667 endif
668 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
670 EXTRA_DIST += stdalign.in.h
672 ## end gnulib module stdalign
674 ## begin gnulib module stdarg
676 BUILT_SOURCES += $(STDARG_H)
678 # We need the following in order to create <stdarg.h> when the system
679 # doesn't have one that works with the given compiler.
680 if GL_GENERATE_STDARG_H
681 stdarg.h: stdarg.in.h $(top_builddir)/config.status
682 $(AM_V_GEN)rm -f $@-t $@ && \
683 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
684 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
685 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
686 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
687 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
688 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
689 < $(srcdir)/stdarg.in.h; \
690 } > $@-t && \
691 mv $@-t $@
692 else
693 stdarg.h: $(top_builddir)/config.status
694 rm -f $@
695 endif
696 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
698 EXTRA_DIST += stdarg.in.h
700 ## end gnulib module stdarg
702 ## begin gnulib module stdbool
704 BUILT_SOURCES += $(STDBOOL_H)
706 # We need the following in order to create <stdbool.h> when the system
707 # doesn't have one that works.
708 if GL_GENERATE_STDBOOL_H
709 stdbool.h: stdbool.in.h $(top_builddir)/config.status
710 $(AM_V_GEN)rm -f $@-t $@ && \
711 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
712 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
713 } > $@-t && \
714 mv $@-t $@
715 else
716 stdbool.h: $(top_builddir)/config.status
717 rm -f $@
718 endif
719 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
721 EXTRA_DIST += stdbool.in.h
723 ## end gnulib module stdbool
725 ## begin gnulib module stddef
727 BUILT_SOURCES += $(STDDEF_H)
729 # We need the following in order to create <stddef.h> when the system
730 # doesn't have one that works with the given compiler.
731 if GL_GENERATE_STDDEF_H
732 stddef.h: stddef.in.h $(top_builddir)/config.status
733 $(AM_V_GEN)rm -f $@-t $@ && \
734 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
735 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
736 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
737 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
738 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
739 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
740 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
741 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
742 < $(srcdir)/stddef.in.h; \
743 } > $@-t && \
744 mv $@-t $@
745 else
746 stddef.h: $(top_builddir)/config.status
747 rm -f $@
748 endif
749 MOSTLYCLEANFILES += stddef.h stddef.h-t
751 EXTRA_DIST += stddef.in.h
753 ## end gnulib module stddef
755 ## begin gnulib module stdint
757 BUILT_SOURCES += $(STDINT_H)
759 # We need the following in order to create <stdint.h> when the system
760 # doesn't have one that works with the given compiler.
761 if GL_GENERATE_STDINT_H
762 stdint.h: stdint.in.h $(top_builddir)/config.status
763 $(AM_V_GEN)rm -f $@-t $@ && \
764 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
765 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
766 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
767 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
768 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
769 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
770 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
771 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
772 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
773 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
774 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
775 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
776 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
777 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
778 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
779 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
780 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
781 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
782 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
783 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
784 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
785 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
786 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
787 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
788 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
789 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
790 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
791 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
792 < $(srcdir)/stdint.in.h; \
793 } > $@-t && \
794 mv $@-t $@
795 else
796 stdint.h: $(top_builddir)/config.status
797 rm -f $@
798 endif
799 MOSTLYCLEANFILES += stdint.h stdint.h-t
801 EXTRA_DIST += stdint.in.h
803 ## end gnulib module stdint
805 ## begin gnulib module strftime
807 libgnu_a_SOURCES += strftime.c
809 EXTRA_DIST += strftime.h
811 ## end gnulib module strftime
813 ## begin gnulib module strtoimax
816 EXTRA_DIST += strtoimax.c
818 EXTRA_libgnu_a_SOURCES += strtoimax.c
820 ## end gnulib module strtoimax
822 ## begin gnulib module strtoll
824 if gl_GNULIB_ENABLED_strtoll
826 endif
827 EXTRA_DIST += strtol.c strtoll.c
829 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
831 ## end gnulib module strtoll
833 ## begin gnulib module strtoull
835 if gl_GNULIB_ENABLED_strtoull
837 endif
838 EXTRA_DIST += strtol.c strtoul.c strtoull.c
840 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
842 ## end gnulib module strtoull
844 ## begin gnulib module strtoumax
847 EXTRA_DIST += strtoimax.c strtoumax.c
849 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
851 ## end gnulib module strtoumax
853 ## begin gnulib module symlink
856 EXTRA_DIST += symlink.c
858 EXTRA_libgnu_a_SOURCES += symlink.c
860 ## end gnulib module symlink
862 ## begin gnulib module time_r
865 EXTRA_DIST += time_r.c
867 EXTRA_libgnu_a_SOURCES += time_r.c
869 ## end gnulib module time_r
871 ## begin gnulib module timespec
873 libgnu_a_SOURCES += timespec.c
875 EXTRA_DIST += timespec.h
877 ## end gnulib module timespec
879 ## begin gnulib module timespec-add
881 libgnu_a_SOURCES += timespec-add.c
883 ## end gnulib module timespec-add
885 ## begin gnulib module timespec-sub
887 libgnu_a_SOURCES += timespec-sub.c
889 ## end gnulib module timespec-sub
891 ## begin gnulib module u64
893 libgnu_a_SOURCES += u64.c
895 EXTRA_DIST += u64.h
897 ## end gnulib module u64
899 ## begin gnulib module unsetenv
902 EXTRA_DIST += unsetenv.c
904 EXTRA_libgnu_a_SOURCES += unsetenv.c
906 ## end gnulib module unsetenv
908 ## begin gnulib module utimens
910 libgnu_a_SOURCES += utimens.c
912 EXTRA_DIST += utimens.h
914 ## end gnulib module utimens
916 ## begin gnulib module verify
918 EXTRA_DIST += verify.h
920 ## end gnulib module verify
922 ## begin gnulib module xalloc-oversized
924 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
926 endif
927 EXTRA_DIST += xalloc-oversized.h
929 ## end gnulib module xalloc-oversized
932 mostlyclean-local: mostlyclean-generic
933 @for dir in '' $(MOSTLYCLEANDIRS); do \
934 if test -n "$$dir" && test -d $$dir; then \
935 echo "rmdir $$dir"; rmdir $$dir; \
936 fi; \
937 done; \