* net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
[emacs.git] / nt / gnulib.mk
blob273f52293ccf051870dfb00e579b4facc619eb83
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=stdarg --avoid=stdbool --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io 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 stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv update-copyright utimens vla 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 absolute-header
60 # Use this preprocessor expression to decide whether #include_next works.
61 # Do not rely on a 'configure'-time test for this, since the expression
62 # might appear in an installed header, which is used by some other compiler.
63 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
65 ## end gnulib module absolute-header
67 ## begin gnulib module alloca-opt
69 BUILT_SOURCES += $(ALLOCA_H)
71 # We need the following in order to create <alloca.h> when the system
72 # doesn't have one that works with the given compiler.
73 if GL_GENERATE_ALLOCA_H
74 alloca.h: alloca.in.h $(top_builddir)/config.status
75 $(AM_V_GEN)rm -f $@-t $@ && \
76 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
77 cat $(srcdir)/alloca.in.h; \
78 } > $@-t && \
79 mv -f $@-t $@
80 else
81 alloca.h: $(top_builddir)/config.status
82 rm -f $@
83 endif
84 MOSTLYCLEANFILES += alloca.h alloca.h-t
86 EXTRA_DIST += alloca.in.h
88 ## end gnulib module alloca-opt
90 ## begin gnulib module binary-io
92 libgnu_a_SOURCES += binary-io.h binary-io.c
94 ## end gnulib module binary-io
96 ## begin gnulib module byteswap
98 BUILT_SOURCES += $(BYTESWAP_H)
100 # We need the following in order to create <byteswap.h> when the system
101 # doesn't have one.
102 if GL_GENERATE_BYTESWAP_H
103 byteswap.h: byteswap.in.h $(top_builddir)/config.status
104 $(AM_V_GEN)rm -f $@-t $@ && \
105 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
106 cat $(srcdir)/byteswap.in.h; \
107 } > $@-t && \
108 mv -f $@-t $@
109 else
110 byteswap.h: $(top_builddir)/config.status
111 rm -f $@
112 endif
113 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
115 EXTRA_DIST += byteswap.in.h
117 ## end gnulib module byteswap
119 ## begin gnulib module c-ctype
121 libgnu_a_SOURCES += c-ctype.h c-ctype.c
123 ## end gnulib module c-ctype
125 ## begin gnulib module c-strcase
127 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
129 ## end gnulib module c-strcase
131 ## begin gnulib module close-stream
133 libgnu_a_SOURCES += close-stream.c
135 EXTRA_DIST += close-stream.h
137 ## end gnulib module close-stream
139 ## begin gnulib module count-one-bits
141 libgnu_a_SOURCES += count-one-bits.c
143 EXTRA_DIST += count-one-bits.h
145 ## end gnulib module count-one-bits
147 ## begin gnulib module count-trailing-zeros
149 libgnu_a_SOURCES += count-trailing-zeros.c
151 EXTRA_DIST += count-trailing-zeros.h
153 ## end gnulib module count-trailing-zeros
155 ## begin gnulib module crypto/md5
157 libgnu_a_SOURCES += md5.c
159 EXTRA_DIST += gl_openssl.h md5.h
161 ## end gnulib module crypto/md5
163 ## begin gnulib module crypto/sha1
165 libgnu_a_SOURCES += sha1.c
167 EXTRA_DIST += gl_openssl.h sha1.h
169 ## end gnulib module crypto/sha1
171 ## begin gnulib module crypto/sha256
173 libgnu_a_SOURCES += sha256.c
175 EXTRA_DIST += gl_openssl.h sha256.h
177 ## end gnulib module crypto/sha256
179 ## begin gnulib module crypto/sha512
181 libgnu_a_SOURCES += sha512.c
183 EXTRA_DIST += gl_openssl.h sha512.h
185 ## end gnulib module crypto/sha512
187 ## begin gnulib module dosname
189 if gl_GNULIB_ENABLED_dosname
191 endif
192 EXTRA_DIST += dosname.h
194 ## end gnulib module dosname
196 ## begin gnulib module dtoastr
198 libgnu_a_SOURCES += dtoastr.c
200 EXTRA_DIST += ftoastr.c ftoastr.h
202 EXTRA_libgnu_a_SOURCES += ftoastr.c
204 ## end gnulib module dtoastr
206 ## begin gnulib module dtotimespec
208 libgnu_a_SOURCES += dtotimespec.c
210 ## end gnulib module dtotimespec
212 ## begin gnulib module dup2
215 EXTRA_DIST += dup2.c
217 EXTRA_libgnu_a_SOURCES += dup2.c
219 ## end gnulib module dup2
221 ## begin gnulib module errno
223 BUILT_SOURCES += $(ERRNO_H)
225 # We need the following in order to create <errno.h> when the system
226 # doesn't have one that is POSIX compliant.
227 if GL_GENERATE_ERRNO_H
228 errno.h: errno.in.h $(top_builddir)/config.status
229 $(AM_V_GEN)rm -f $@-t $@ && \
230 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
231 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
232 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
235 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
236 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
237 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
238 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
239 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
240 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
241 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
242 < $(srcdir)/errno.in.h; \
243 } > $@-t && \
244 mv $@-t $@
245 else
246 errno.h: $(top_builddir)/config.status
247 rm -f $@
248 endif
249 MOSTLYCLEANFILES += errno.h errno.h-t
251 EXTRA_DIST += errno.in.h
253 ## end gnulib module errno
255 ## begin gnulib module euidaccess
257 if gl_GNULIB_ENABLED_euidaccess
259 endif
260 EXTRA_DIST += euidaccess.c
262 EXTRA_libgnu_a_SOURCES += euidaccess.c
264 ## end gnulib module euidaccess
266 ## begin gnulib module execinfo
268 BUILT_SOURCES += $(EXECINFO_H)
270 # We need the following in order to create <execinfo.h> when the system
271 # doesn't have one that works.
272 if GL_GENERATE_EXECINFO_H
273 execinfo.h: execinfo.in.h $(top_builddir)/config.status
274 $(AM_V_GEN)rm -f $@-t $@ && \
275 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
276 cat $(srcdir)/execinfo.in.h; \
277 } > $@-t && \
278 mv $@-t $@
279 else
280 execinfo.h: $(top_builddir)/config.status
281 rm -f $@
282 endif
283 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
285 EXTRA_DIST += execinfo.c execinfo.in.h
287 EXTRA_libgnu_a_SOURCES += execinfo.c
289 ## end gnulib module execinfo
291 ## begin gnulib module faccessat
294 EXTRA_DIST += at-func.c faccessat.c
296 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
298 ## end gnulib module faccessat
300 ## begin gnulib module fdatasync
303 EXTRA_DIST += fdatasync.c
305 EXTRA_libgnu_a_SOURCES += fdatasync.c
307 ## end gnulib module fdatasync
309 ## begin gnulib module fdopendir
312 EXTRA_DIST += fdopendir.c
314 EXTRA_libgnu_a_SOURCES += fdopendir.c
316 ## end gnulib module fdopendir
318 ## begin gnulib module filemode
320 libgnu_a_SOURCES += filemode.c
322 EXTRA_DIST += filemode.h
324 ## end gnulib module filemode
326 ## begin gnulib module fpending
329 EXTRA_DIST += fpending.c fpending.h
331 EXTRA_libgnu_a_SOURCES += fpending.c
333 ## end gnulib module fpending
335 ## begin gnulib module fstatat
338 EXTRA_DIST += at-func.c fstatat.c
340 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
342 ## end gnulib module fstatat
344 ## begin gnulib module fsync
347 EXTRA_DIST += fsync.c
349 EXTRA_libgnu_a_SOURCES += fsync.c
351 ## end gnulib module fsync
353 ## begin gnulib module getdtablesize
355 if gl_GNULIB_ENABLED_getdtablesize
357 endif
358 EXTRA_DIST += getdtablesize.c
360 EXTRA_libgnu_a_SOURCES += getdtablesize.c
362 ## end gnulib module getdtablesize
364 ## begin gnulib module getgroups
366 if gl_GNULIB_ENABLED_getgroups
368 endif
369 EXTRA_DIST += getgroups.c
371 EXTRA_libgnu_a_SOURCES += getgroups.c
373 ## end gnulib module getgroups
375 ## begin gnulib module getloadavg
378 EXTRA_DIST += getloadavg.c
380 EXTRA_libgnu_a_SOURCES += getloadavg.c
382 ## end gnulib module getloadavg
384 ## begin gnulib module getopt-posix
386 BUILT_SOURCES += $(GETOPT_H)
388 # We need the following in order to create <getopt.h> when the system
389 # doesn't have one that works with the given compiler.
390 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
391 $(AM_V_GEN)rm -f $@-t $@ && \
392 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
393 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
394 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
395 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
396 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
397 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
398 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
399 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
400 < $(srcdir)/getopt.in.h; \
401 } > $@-t && \
402 mv -f $@-t $@
403 MOSTLYCLEANFILES += getopt.h getopt.h-t
405 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
407 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
409 ## end gnulib module getopt-posix
411 ## begin gnulib module gettext-h
413 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
414 libgnu_a_SOURCES += gettext.h
416 endif
417 ## end gnulib module gettext-h
419 ## begin gnulib module gettime
421 libgnu_a_SOURCES += gettime.c
423 ## end gnulib module gettime
425 ## begin gnulib module gettimeofday
428 EXTRA_DIST += gettimeofday.c
430 EXTRA_libgnu_a_SOURCES += gettimeofday.c
432 ## end gnulib module gettimeofday
434 ## begin gnulib module group-member
436 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
438 endif
439 EXTRA_DIST += group-member.c
441 EXTRA_libgnu_a_SOURCES += group-member.c
443 ## end gnulib module group-member
445 ## begin gnulib module intprops
448 EXTRA_DIST += intprops.h
450 ## end gnulib module intprops
452 ## begin gnulib module lstat
455 EXTRA_DIST += lstat.c
457 EXTRA_libgnu_a_SOURCES += lstat.c
459 ## end gnulib module lstat
461 ## begin gnulib module memrchr
464 EXTRA_DIST += memrchr.c
466 EXTRA_libgnu_a_SOURCES += memrchr.c
468 ## end gnulib module memrchr
470 ## begin gnulib module mktime
473 EXTRA_DIST += mktime-internal.h mktime.c
475 EXTRA_libgnu_a_SOURCES += mktime.c
477 ## end gnulib module mktime
479 ## begin gnulib module openat-h
481 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
483 endif
484 EXTRA_DIST += openat.h
486 ## end gnulib module openat-h
488 ## begin gnulib module pathmax
490 if gl_GNULIB_ENABLED_pathmax
492 endif
493 EXTRA_DIST += pathmax.h
495 ## end gnulib module pathmax
497 ## begin gnulib module pselect
500 EXTRA_DIST += pselect.c
502 EXTRA_libgnu_a_SOURCES += pselect.c
504 ## end gnulib module pselect
506 ## begin gnulib module pthread_sigmask
509 EXTRA_DIST += pthread_sigmask.c
511 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
513 ## end gnulib module pthread_sigmask
515 ## begin gnulib module putenv
518 EXTRA_DIST += putenv.c
520 EXTRA_libgnu_a_SOURCES += putenv.c
522 ## end gnulib module putenv
524 ## begin gnulib module qacl
526 libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c
528 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
530 EXTRA_libgnu_a_SOURCES += acl_entries.c
532 ## end gnulib module qacl
534 ## begin gnulib module readlink
537 EXTRA_DIST += readlink.c
539 EXTRA_libgnu_a_SOURCES += readlink.c
541 ## end gnulib module readlink
543 ## begin gnulib module readlinkat
546 EXTRA_DIST += at-func.c readlinkat.c
548 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
550 ## end gnulib module readlinkat
552 ## begin gnulib module root-uid
554 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
556 endif
557 EXTRA_DIST += root-uid.h
559 ## end gnulib module root-uid
561 ## begin gnulib module sig2str
564 EXTRA_DIST += sig2str.c sig2str.h
566 EXTRA_libgnu_a_SOURCES += sig2str.c
568 ## end gnulib module sig2str
570 ## begin gnulib module snippet/_Noreturn
572 # Because this Makefile snippet defines a variable used by other
573 # gnulib Makefile snippets, it must be present in all Makefile.am that
574 # need it. This is ensured by the applicability 'all' defined above.
576 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
578 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
580 ## end gnulib module snippet/_Noreturn
582 ## begin gnulib module snippet/arg-nonnull
584 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
585 # statements but through direct file reference. Therefore this snippet must be
586 # present in all Makefile.am that need it. This is ensured by the applicability
587 # 'all' defined above.
589 BUILT_SOURCES += arg-nonnull.h
590 # The arg-nonnull.h that gets inserted into generated .h files is the same as
591 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
592 # off.
593 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
594 $(AM_V_GEN)rm -f $@-t $@ && \
595 sed -n -e '/GL_ARG_NONNULL/,$$p' \
596 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
597 > $@-t && \
598 mv $@-t $@
599 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
601 ARG_NONNULL_H=arg-nonnull.h
603 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
605 ## end gnulib module snippet/arg-nonnull
607 ## begin gnulib module snippet/c++defs
609 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
610 # statements but through direct file reference. Therefore this snippet must be
611 # present in all Makefile.am that need it. This is ensured by the applicability
612 # 'all' defined above.
614 BUILT_SOURCES += c++defs.h
615 # The c++defs.h that gets inserted into generated .h files is the same as
616 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
617 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
618 $(AM_V_GEN)rm -f $@-t $@ && \
619 sed -n -e '/_GL_CXXDEFS/,$$p' \
620 < $(top_srcdir)/build-aux/snippet/c++defs.h \
621 > $@-t && \
622 mv $@-t $@
623 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
625 CXXDEFS_H=c++defs.h
627 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
629 ## end gnulib module snippet/c++defs
631 ## begin gnulib module snippet/warn-on-use
633 BUILT_SOURCES += warn-on-use.h
634 # The warn-on-use.h that gets inserted into generated .h files is the same as
635 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
636 # off.
637 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
638 $(AM_V_GEN)rm -f $@-t $@ && \
639 sed -n -e '/^.ifndef/,$$p' \
640 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
641 > $@-t && \
642 mv $@-t $@
643 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
645 WARN_ON_USE_H=warn-on-use.h
647 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
649 ## end gnulib module snippet/warn-on-use
651 ## begin gnulib module stat
653 if gl_GNULIB_ENABLED_stat
655 endif
656 EXTRA_DIST += stat.c
658 EXTRA_libgnu_a_SOURCES += stat.c
660 ## end gnulib module stat
662 ## begin gnulib module stat-time
664 libgnu_a_SOURCES += stat-time.c
666 EXTRA_DIST += stat-time.h
668 ## end gnulib module stat-time
670 ## begin gnulib module stdalign
672 BUILT_SOURCES += $(STDALIGN_H)
674 # We need the following in order to create <stdalign.h> when the system
675 # doesn't have one that works.
676 if GL_GENERATE_STDALIGN_H
677 stdalign.h: stdalign.in.h $(top_builddir)/config.status
678 $(AM_V_GEN)rm -f $@-t $@ && \
679 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
680 cat $(srcdir)/stdalign.in.h; \
681 } > $@-t && \
682 mv $@-t $@
683 else
684 stdalign.h: $(top_builddir)/config.status
685 rm -f $@
686 endif
687 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
689 EXTRA_DIST += stdalign.in.h
691 ## end gnulib module stdalign
693 ## begin gnulib module stddef
695 BUILT_SOURCES += $(STDDEF_H)
697 # We need the following in order to create <stddef.h> when the system
698 # doesn't have one that works with the given compiler.
699 if GL_GENERATE_STDDEF_H
700 stddef.h: stddef.in.h $(top_builddir)/config.status
701 $(AM_V_GEN)rm -f $@-t $@ && \
702 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
703 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
704 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
705 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
706 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
707 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
708 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
709 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
710 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
711 < $(srcdir)/stddef.in.h; \
712 } > $@-t && \
713 mv $@-t $@
714 else
715 stddef.h: $(top_builddir)/config.status
716 rm -f $@
717 endif
718 MOSTLYCLEANFILES += stddef.h stddef.h-t
720 EXTRA_DIST += stddef.in.h
722 ## end gnulib module stddef
724 ## begin gnulib module stdint
726 BUILT_SOURCES += $(STDINT_H)
728 # We need the following in order to create <stdint.h> when the system
729 # doesn't have one that works with the given compiler.
730 if GL_GENERATE_STDINT_H
731 stdint.h: stdint.in.h $(top_builddir)/config.status
732 $(AM_V_GEN)rm -f $@-t $@ && \
733 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
734 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
735 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/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_STDINT_H''@|$(NEXT_STDINT_H)|g' \
740 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
741 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
742 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
743 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
744 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
745 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
746 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
747 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
748 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
749 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
750 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
751 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
752 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
753 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
754 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
755 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
756 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
757 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
758 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
759 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
760 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
761 < $(srcdir)/stdint.in.h; \
762 } > $@-t && \
763 mv $@-t $@
764 else
765 stdint.h: $(top_builddir)/config.status
766 rm -f $@
767 endif
768 MOSTLYCLEANFILES += stdint.h stdint.h-t
770 EXTRA_DIST += stdint.in.h
772 ## end gnulib module stdint
774 ## begin gnulib module strftime
776 libgnu_a_SOURCES += strftime.c
778 EXTRA_DIST += strftime.h
780 ## end gnulib module strftime
782 ## begin gnulib module strtoimax
785 EXTRA_DIST += strtoimax.c
787 EXTRA_libgnu_a_SOURCES += strtoimax.c
789 ## end gnulib module strtoimax
791 ## begin gnulib module strtoll
793 if gl_GNULIB_ENABLED_strtoll
795 endif
796 EXTRA_DIST += strtol.c strtoll.c
798 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
800 ## end gnulib module strtoll
802 ## begin gnulib module strtoull
804 if gl_GNULIB_ENABLED_strtoull
806 endif
807 EXTRA_DIST += strtol.c strtoul.c strtoull.c
809 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
811 ## end gnulib module strtoull
813 ## begin gnulib module strtoumax
816 EXTRA_DIST += strtoimax.c strtoumax.c
818 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
820 ## end gnulib module strtoumax
822 ## begin gnulib module symlink
825 EXTRA_DIST += symlink.c
827 EXTRA_libgnu_a_SOURCES += symlink.c
829 ## end gnulib module symlink
831 ## begin gnulib module time_r
834 EXTRA_DIST += time_r.c
836 EXTRA_libgnu_a_SOURCES += time_r.c
838 ## end gnulib module time_r
840 ## begin gnulib module timespec
842 libgnu_a_SOURCES += timespec.c
844 EXTRA_DIST += timespec.h
846 ## end gnulib module timespec
848 ## begin gnulib module timespec-add
850 libgnu_a_SOURCES += timespec-add.c
852 ## end gnulib module timespec-add
854 ## begin gnulib module timespec-sub
856 libgnu_a_SOURCES += timespec-sub.c
858 ## end gnulib module timespec-sub
860 ## begin gnulib module u64
862 libgnu_a_SOURCES += u64.c
864 EXTRA_DIST += u64.h
866 ## end gnulib module u64
868 ## begin gnulib module unsetenv
871 EXTRA_DIST += unsetenv.c
873 EXTRA_libgnu_a_SOURCES += unsetenv.c
875 ## end gnulib module unsetenv
877 ## begin gnulib module update-copyright
880 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
882 ## end gnulib module update-copyright
884 ## begin gnulib module utimens
886 libgnu_a_SOURCES += utimens.c
888 EXTRA_DIST += utimens.h
890 ## end gnulib module utimens
892 ## begin gnulib module verify
894 EXTRA_DIST += verify.h
896 ## end gnulib module verify
898 ## begin gnulib module vla
901 EXTRA_DIST += vla.h
903 ## end gnulib module vla
905 ## begin gnulib module xalloc-oversized
907 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
909 endif
910 EXTRA_DIST += xalloc-oversized.h
912 ## end gnulib module xalloc-oversized
915 mostlyclean-local: mostlyclean-generic
916 @for dir in '' $(MOSTLYCLEANDIRS); do \
917 if test -n "$$dir" && test -d $$dir; then \
918 echo "rmdir $$dir"; rmdir $$dir; \
919 fi; \
920 done; \