Another doc fix for `buffer-undo-list'.
[emacs.git] / nt / gnulib.mk
blobdf27dcf610c9254fde4d9e16ddbf297de9327a99
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-2013 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=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
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 c-ctype
83 libgnu_a_SOURCES += c-ctype.h c-ctype.c
85 ## end gnulib module c-ctype
87 ## begin gnulib module c-strcase
89 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
91 ## end gnulib module c-strcase
93 ## begin gnulib module close-stream
95 libgnu_a_SOURCES += close-stream.c
97 EXTRA_DIST += close-stream.h
99 ## end gnulib module close-stream
101 ## begin gnulib module crypto/md5
103 libgnu_a_SOURCES += md5.c
105 EXTRA_DIST += md5.h
107 ## end gnulib module crypto/md5
109 ## begin gnulib module crypto/sha1
111 libgnu_a_SOURCES += sha1.c
113 EXTRA_DIST += sha1.h
115 ## end gnulib module crypto/sha1
117 ## begin gnulib module crypto/sha256
119 libgnu_a_SOURCES += sha256.c
121 EXTRA_DIST += sha256.h
123 ## end gnulib module crypto/sha256
125 ## begin gnulib module crypto/sha512
127 libgnu_a_SOURCES += sha512.c
129 EXTRA_DIST += sha512.h
131 ## end gnulib module crypto/sha512
133 ## begin gnulib module dosname
135 if gl_GNULIB_ENABLED_dosname
137 endif
138 EXTRA_DIST += dosname.h
140 ## end gnulib module dosname
142 ## begin gnulib module dtoastr
144 libgnu_a_SOURCES += dtoastr.c
146 EXTRA_DIST += ftoastr.c ftoastr.h
148 EXTRA_libgnu_a_SOURCES += ftoastr.c
150 ## end gnulib module dtoastr
152 ## begin gnulib module dtotimespec
154 libgnu_a_SOURCES += dtotimespec.c
156 ## end gnulib module dtotimespec
158 ## begin gnulib module dup2
161 EXTRA_DIST += dup2.c
163 EXTRA_libgnu_a_SOURCES += dup2.c
165 ## end gnulib module dup2
167 ## begin gnulib module errno
169 BUILT_SOURCES += $(ERRNO_H)
171 # We need the following in order to create <errno.h> when the system
172 # doesn't have one that is POSIX compliant.
173 if GL_GENERATE_ERRNO_H
174 errno.h: errno.in.h $(top_builddir)/config.status
175 $(AM_V_GEN)rm -f $@-t $@ && \
176 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
177 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
178 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
179 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
180 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
181 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
182 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
183 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
184 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
185 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
186 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
187 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
188 < $(srcdir)/errno.in.h; \
189 } > $@-t && \
190 mv $@-t $@
191 else
192 errno.h: $(top_builddir)/config.status
193 rm -f $@
194 endif
195 MOSTLYCLEANFILES += errno.h errno.h-t
197 EXTRA_DIST += errno.in.h
199 ## end gnulib module errno
201 ## begin gnulib module euidaccess
203 if gl_GNULIB_ENABLED_euidaccess
205 endif
206 EXTRA_DIST += euidaccess.c
208 EXTRA_libgnu_a_SOURCES += euidaccess.c
210 ## end gnulib module euidaccess
212 ## begin gnulib module execinfo
214 BUILT_SOURCES += $(EXECINFO_H)
216 # We need the following in order to create <execinfo.h> when the system
217 # doesn't have one that works.
218 if GL_GENERATE_EXECINFO_H
219 execinfo.h: execinfo.in.h $(top_builddir)/config.status
220 $(AM_V_GEN)rm -f $@-t $@ && \
221 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
222 cat $(srcdir)/execinfo.in.h; \
223 } > $@-t && \
224 mv $@-t $@
225 else
226 execinfo.h: $(top_builddir)/config.status
227 rm -f $@
228 endif
229 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
231 EXTRA_DIST += execinfo.c execinfo.in.h
233 EXTRA_libgnu_a_SOURCES += execinfo.c
235 ## end gnulib module execinfo
237 ## begin gnulib module faccessat
240 EXTRA_DIST += at-func.c faccessat.c
242 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
244 ## end gnulib module faccessat
246 ## begin gnulib module fdatasync
249 EXTRA_DIST += fdatasync.c
251 EXTRA_libgnu_a_SOURCES += fdatasync.c
253 ## end gnulib module fdatasync
255 ## begin gnulib module fdopendir
258 EXTRA_DIST += fdopendir.c
260 EXTRA_libgnu_a_SOURCES += fdopendir.c
262 ## end gnulib module fdopendir
264 ## begin gnulib module filemode
266 libgnu_a_SOURCES += filemode.c
268 EXTRA_DIST += filemode.h
270 ## end gnulib module filemode
272 ## begin gnulib module fpending
275 EXTRA_DIST += fpending.c fpending.h
277 EXTRA_libgnu_a_SOURCES += fpending.c
279 ## end gnulib module fpending
281 ## begin gnulib module fstatat
284 EXTRA_DIST += at-func.c fstatat.c
286 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
288 ## end gnulib module fstatat
290 ## begin gnulib module fsync
293 EXTRA_DIST += fsync.c
295 EXTRA_libgnu_a_SOURCES += fsync.c
297 ## end gnulib module fsync
299 ## begin gnulib module getgroups
301 if gl_GNULIB_ENABLED_getgroups
303 endif
304 EXTRA_DIST += getgroups.c
306 EXTRA_libgnu_a_SOURCES += getgroups.c
308 ## end gnulib module getgroups
310 ## begin gnulib module getloadavg
313 EXTRA_DIST += getloadavg.c
315 EXTRA_libgnu_a_SOURCES += getloadavg.c
317 ## end gnulib module getloadavg
319 ## begin gnulib module getopt-posix
321 BUILT_SOURCES += $(GETOPT_H)
323 # We need the following in order to create <getopt.h> when the system
324 # doesn't have one that works with the given compiler.
325 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
326 $(AM_V_GEN)rm -f $@-t $@ && \
327 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
328 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
329 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
330 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
331 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
332 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
333 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
334 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
335 < $(srcdir)/getopt.in.h; \
336 } > $@-t && \
337 mv -f $@-t $@
338 MOSTLYCLEANFILES += getopt.h getopt.h-t
340 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
342 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
344 ## end gnulib module getopt-posix
346 ## begin gnulib module gettext-h
348 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
349 libgnu_a_SOURCES += gettext.h
351 endif
352 ## end gnulib module gettext-h
354 ## begin gnulib module gettime
356 libgnu_a_SOURCES += gettime.c
358 ## end gnulib module gettime
360 ## begin gnulib module gettimeofday
363 EXTRA_DIST += gettimeofday.c
365 EXTRA_libgnu_a_SOURCES += gettimeofday.c
367 ## end gnulib module gettimeofday
369 ## begin gnulib module group-member
371 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
373 endif
374 EXTRA_DIST += group-member.c
376 EXTRA_libgnu_a_SOURCES += group-member.c
378 ## end gnulib module group-member
380 ## begin gnulib module ignore-value
383 EXTRA_DIST += ignore-value.h
385 ## end gnulib module ignore-value
387 ## begin gnulib module intprops
390 EXTRA_DIST += intprops.h
392 ## end gnulib module intprops
394 ## begin gnulib module lstat
397 EXTRA_DIST += lstat.c
399 EXTRA_libgnu_a_SOURCES += lstat.c
401 ## end gnulib module lstat
403 ## begin gnulib module memrchr
406 EXTRA_DIST += memrchr.c
408 EXTRA_libgnu_a_SOURCES += memrchr.c
410 ## end gnulib module memrchr
412 ## begin gnulib module mktime
415 EXTRA_DIST += mktime-internal.h mktime.c
417 EXTRA_libgnu_a_SOURCES += mktime.c
419 ## end gnulib module mktime
421 ## begin gnulib module openat-h
423 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
425 endif
426 EXTRA_DIST += openat.h
428 ## end gnulib module openat-h
430 ## begin gnulib module pathmax
432 if gl_GNULIB_ENABLED_pathmax
434 endif
435 EXTRA_DIST += pathmax.h
437 ## end gnulib module pathmax
439 ## begin gnulib module pselect
442 EXTRA_DIST += pselect.c
444 EXTRA_libgnu_a_SOURCES += pselect.c
446 ## end gnulib module pselect
448 ## begin gnulib module pthread_sigmask
451 EXTRA_DIST += pthread_sigmask.c
453 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
455 ## end gnulib module pthread_sigmask
457 ## begin gnulib module putenv
460 EXTRA_DIST += putenv.c
462 EXTRA_libgnu_a_SOURCES += putenv.c
464 ## end gnulib module putenv
466 ## begin gnulib module qacl
468 libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c
470 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
472 EXTRA_libgnu_a_SOURCES += acl_entries.c
474 ## end gnulib module qacl
476 ## begin gnulib module readlink
479 EXTRA_DIST += readlink.c
481 EXTRA_libgnu_a_SOURCES += readlink.c
483 ## end gnulib module readlink
485 ## begin gnulib module readlinkat
488 EXTRA_DIST += at-func.c readlinkat.c
490 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
492 ## end gnulib module readlinkat
494 ## begin gnulib module root-uid
496 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
498 endif
499 EXTRA_DIST += root-uid.h
501 ## end gnulib module root-uid
503 ## begin gnulib module sig2str
506 EXTRA_DIST += sig2str.c sig2str.h
508 EXTRA_libgnu_a_SOURCES += sig2str.c
510 ## end gnulib module sig2str
512 ## begin gnulib module snippet/_Noreturn
514 # Because this Makefile snippet defines a variable used by other
515 # gnulib Makefile snippets, it must be present in all Makefile.am that
516 # need it. This is ensured by the applicability 'all' defined above.
518 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
520 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
522 ## end gnulib module snippet/_Noreturn
524 ## begin gnulib module snippet/arg-nonnull
526 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
527 # statements but through direct file reference. Therefore this snippet must be
528 # present in all Makefile.am that need it. This is ensured by the applicability
529 # 'all' defined above.
531 BUILT_SOURCES += arg-nonnull.h
532 # The arg-nonnull.h that gets inserted into generated .h files is the same as
533 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
534 # off.
535 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
536 $(AM_V_GEN)rm -f $@-t $@ && \
537 sed -n -e '/GL_ARG_NONNULL/,$$p' \
538 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
539 > $@-t && \
540 mv $@-t $@
541 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
543 ARG_NONNULL_H=arg-nonnull.h
545 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
547 ## end gnulib module snippet/arg-nonnull
549 ## begin gnulib module snippet/c++defs
551 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
552 # statements but through direct file reference. Therefore this snippet must be
553 # present in all Makefile.am that need it. This is ensured by the applicability
554 # 'all' defined above.
556 BUILT_SOURCES += c++defs.h
557 # The c++defs.h that gets inserted into generated .h files is the same as
558 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
559 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
560 $(AM_V_GEN)rm -f $@-t $@ && \
561 sed -n -e '/_GL_CXXDEFS/,$$p' \
562 < $(top_srcdir)/build-aux/snippet/c++defs.h \
563 > $@-t && \
564 mv $@-t $@
565 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
567 CXXDEFS_H=c++defs.h
569 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
571 ## end gnulib module snippet/c++defs
573 ## begin gnulib module snippet/warn-on-use
575 BUILT_SOURCES += warn-on-use.h
576 # The warn-on-use.h that gets inserted into generated .h files is the same as
577 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
578 # off.
579 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
580 $(AM_V_GEN)rm -f $@-t $@ && \
581 sed -n -e '/^.ifndef/,$$p' \
582 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
583 > $@-t && \
584 mv $@-t $@
585 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
587 WARN_ON_USE_H=warn-on-use.h
589 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
591 ## end gnulib module snippet/warn-on-use
593 ## begin gnulib module stat
595 if gl_GNULIB_ENABLED_stat
597 endif
598 EXTRA_DIST += stat.c
600 EXTRA_libgnu_a_SOURCES += stat.c
602 ## end gnulib module stat
604 ## begin gnulib module stat-time
606 libgnu_a_SOURCES += stat-time.c
608 EXTRA_DIST += stat-time.h
610 ## end gnulib module stat-time
612 ## begin gnulib module stdalign
614 BUILT_SOURCES += $(STDALIGN_H)
616 # We need the following in order to create <stdalign.h> when the system
617 # doesn't have one that works.
618 if GL_GENERATE_STDALIGN_H
619 stdalign.h: stdalign.in.h $(top_builddir)/config.status
620 $(AM_V_GEN)rm -f $@-t $@ && \
621 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
622 cat $(srcdir)/stdalign.in.h; \
623 } > $@-t && \
624 mv $@-t $@
625 else
626 stdalign.h: $(top_builddir)/config.status
627 rm -f $@
628 endif
629 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
631 EXTRA_DIST += stdalign.in.h
633 ## end gnulib module stdalign
635 ## begin gnulib module stdarg
637 BUILT_SOURCES += $(STDARG_H)
639 # We need the following in order to create <stdarg.h> when the system
640 # doesn't have one that works with the given compiler.
641 if GL_GENERATE_STDARG_H
642 stdarg.h: stdarg.in.h $(top_builddir)/config.status
643 $(AM_V_GEN)rm -f $@-t $@ && \
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
645 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
646 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
647 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
648 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
649 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
650 < $(srcdir)/stdarg.in.h; \
651 } > $@-t && \
652 mv $@-t $@
653 else
654 stdarg.h: $(top_builddir)/config.status
655 rm -f $@
656 endif
657 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
659 EXTRA_DIST += stdarg.in.h
661 ## end gnulib module stdarg
663 ## begin gnulib module stdbool
665 BUILT_SOURCES += $(STDBOOL_H)
667 # We need the following in order to create <stdbool.h> when the system
668 # doesn't have one that works.
669 if GL_GENERATE_STDBOOL_H
670 stdbool.h: stdbool.in.h $(top_builddir)/config.status
671 $(AM_V_GEN)rm -f $@-t $@ && \
672 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
673 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
674 } > $@-t && \
675 mv $@-t $@
676 else
677 stdbool.h: $(top_builddir)/config.status
678 rm -f $@
679 endif
680 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
682 EXTRA_DIST += stdbool.in.h
684 ## end gnulib module stdbool
686 ## begin gnulib module stddef
688 BUILT_SOURCES += $(STDDEF_H)
690 # We need the following in order to create <stddef.h> when the system
691 # doesn't have one that works with the given compiler.
692 if GL_GENERATE_STDDEF_H
693 stddef.h: stddef.in.h $(top_builddir)/config.status
694 $(AM_V_GEN)rm -f $@-t $@ && \
695 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
696 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
697 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
698 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
699 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
700 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
701 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
702 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
703 < $(srcdir)/stddef.in.h; \
704 } > $@-t && \
705 mv $@-t $@
706 else
707 stddef.h: $(top_builddir)/config.status
708 rm -f $@
709 endif
710 MOSTLYCLEANFILES += stddef.h stddef.h-t
712 EXTRA_DIST += stddef.in.h
714 ## end gnulib module stddef
716 ## begin gnulib module stdint
718 BUILT_SOURCES += $(STDINT_H)
720 # We need the following in order to create <stdint.h> when the system
721 # doesn't have one that works with the given compiler.
722 if GL_GENERATE_STDINT_H
723 stdint.h: stdint.in.h $(top_builddir)/config.status
724 $(AM_V_GEN)rm -f $@-t $@ && \
725 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
726 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
727 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
728 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
729 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
730 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
731 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
732 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
733 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
734 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
735 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
736 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
737 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
738 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
739 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
740 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
741 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
742 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
743 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
744 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
745 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
746 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
747 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
748 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
749 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
750 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
751 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
752 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
753 < $(srcdir)/stdint.in.h; \
754 } > $@-t && \
755 mv $@-t $@
756 else
757 stdint.h: $(top_builddir)/config.status
758 rm -f $@
759 endif
760 MOSTLYCLEANFILES += stdint.h stdint.h-t
762 EXTRA_DIST += stdint.in.h
764 ## end gnulib module stdint
766 ## begin gnulib module strftime
768 libgnu_a_SOURCES += strftime.c
770 EXTRA_DIST += strftime.h
772 ## end gnulib module strftime
774 ## begin gnulib module strtoimax
777 EXTRA_DIST += strtoimax.c
779 EXTRA_libgnu_a_SOURCES += strtoimax.c
781 ## end gnulib module strtoimax
783 ## begin gnulib module strtoll
785 if gl_GNULIB_ENABLED_strtoll
787 endif
788 EXTRA_DIST += strtol.c strtoll.c
790 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
792 ## end gnulib module strtoll
794 ## begin gnulib module strtoull
796 if gl_GNULIB_ENABLED_strtoull
798 endif
799 EXTRA_DIST += strtol.c strtoul.c strtoull.c
801 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
803 ## end gnulib module strtoull
805 ## begin gnulib module strtoumax
808 EXTRA_DIST += strtoimax.c strtoumax.c
810 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
812 ## end gnulib module strtoumax
814 ## begin gnulib module symlink
817 EXTRA_DIST += symlink.c
819 EXTRA_libgnu_a_SOURCES += symlink.c
821 ## end gnulib module symlink
823 ## begin gnulib module time_r
826 EXTRA_DIST += time_r.c
828 EXTRA_libgnu_a_SOURCES += time_r.c
830 ## end gnulib module time_r
832 ## begin gnulib module timespec
834 libgnu_a_SOURCES += timespec.c
836 EXTRA_DIST += timespec.h
838 ## end gnulib module timespec
840 ## begin gnulib module timespec-add
842 libgnu_a_SOURCES += timespec-add.c
844 ## end gnulib module timespec-add
846 ## begin gnulib module timespec-sub
848 libgnu_a_SOURCES += timespec-sub.c
850 ## end gnulib module timespec-sub
852 ## begin gnulib module u64
854 libgnu_a_SOURCES += u64.c
856 EXTRA_DIST += u64.h
858 ## end gnulib module u64
860 ## begin gnulib module unsetenv
863 EXTRA_DIST += unsetenv.c
865 EXTRA_libgnu_a_SOURCES += unsetenv.c
867 ## end gnulib module unsetenv
869 ## begin gnulib module utimens
871 libgnu_a_SOURCES += utimens.c
873 EXTRA_DIST += utimens.h
875 ## end gnulib module utimens
877 ## begin gnulib module verify
879 EXTRA_DIST += verify.h
881 ## end gnulib module verify
883 ## begin gnulib module xalloc-oversized
885 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
887 endif
888 EXTRA_DIST += xalloc-oversized.h
890 ## end gnulib module xalloc-oversized
893 mostlyclean-local: mostlyclean-generic
894 @for dir in '' $(MOSTLYCLEANDIRS); do \
895 if test -n "$$dir" && test -d $$dir; then \
896 echo "rmdir $$dir"; rmdir $$dir; \
897 fi; \
898 done; \