Merge from trunk.
[emacs.git] / nt / gnulib.mk
blobd0fa88239dc0be89ef1e8634435009ce7a7ecec8
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=errno --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 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 euidaccess
169 if gl_GNULIB_ENABLED_euidaccess
171 endif
172 EXTRA_DIST += euidaccess.c
174 EXTRA_libgnu_a_SOURCES += euidaccess.c
176 ## end gnulib module euidaccess
178 ## begin gnulib module execinfo
180 BUILT_SOURCES += $(EXECINFO_H)
182 # We need the following in order to create <execinfo.h> when the system
183 # doesn't have one that works.
184 if GL_GENERATE_EXECINFO_H
185 execinfo.h: execinfo.in.h $(top_builddir)/config.status
186 $(AM_V_GEN)rm -f $@-t $@ && \
187 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
188 cat $(srcdir)/execinfo.in.h; \
189 } > $@-t && \
190 mv $@-t $@
191 else
192 execinfo.h: $(top_builddir)/config.status
193 rm -f $@
194 endif
195 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
197 EXTRA_DIST += execinfo.c execinfo.in.h
199 EXTRA_libgnu_a_SOURCES += execinfo.c
201 ## end gnulib module execinfo
203 ## begin gnulib module faccessat
206 EXTRA_DIST += at-func.c faccessat.c
208 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
210 ## end gnulib module faccessat
212 ## begin gnulib module fdatasync
215 EXTRA_DIST += fdatasync.c
217 EXTRA_libgnu_a_SOURCES += fdatasync.c
219 ## end gnulib module fdatasync
221 ## begin gnulib module fdopendir
224 EXTRA_DIST += fdopendir.c
226 EXTRA_libgnu_a_SOURCES += fdopendir.c
228 ## end gnulib module fdopendir
230 ## begin gnulib module filemode
232 libgnu_a_SOURCES += filemode.c
234 EXTRA_DIST += filemode.h
236 ## end gnulib module filemode
238 ## begin gnulib module fpending
241 EXTRA_DIST += fpending.c fpending.h
243 EXTRA_libgnu_a_SOURCES += fpending.c
245 ## end gnulib module fpending
247 ## begin gnulib module fstatat
250 EXTRA_DIST += at-func.c fstatat.c
252 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
254 ## end gnulib module fstatat
256 ## begin gnulib module fsync
259 EXTRA_DIST += fsync.c
261 EXTRA_libgnu_a_SOURCES += fsync.c
263 ## end gnulib module fsync
265 ## begin gnulib module getgroups
267 if gl_GNULIB_ENABLED_getgroups
269 endif
270 EXTRA_DIST += getgroups.c
272 EXTRA_libgnu_a_SOURCES += getgroups.c
274 ## end gnulib module getgroups
276 ## begin gnulib module getloadavg
279 EXTRA_DIST += getloadavg.c
281 EXTRA_libgnu_a_SOURCES += getloadavg.c
283 ## end gnulib module getloadavg
285 ## begin gnulib module getopt-posix
287 BUILT_SOURCES += $(GETOPT_H)
289 # We need the following in order to create <getopt.h> when the system
290 # doesn't have one that works with the given compiler.
291 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
292 $(AM_V_GEN)rm -f $@-t $@ && \
293 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
294 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
295 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
296 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
297 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
298 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
299 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
300 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
301 < $(srcdir)/getopt.in.h; \
302 } > $@-t && \
303 mv -f $@-t $@
304 MOSTLYCLEANFILES += getopt.h getopt.h-t
306 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
308 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
310 ## end gnulib module getopt-posix
312 ## begin gnulib module gettext-h
314 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
315 libgnu_a_SOURCES += gettext.h
317 endif
318 ## end gnulib module gettext-h
320 ## begin gnulib module gettime
322 libgnu_a_SOURCES += gettime.c
324 ## end gnulib module gettime
326 ## begin gnulib module gettimeofday
329 EXTRA_DIST += gettimeofday.c
331 EXTRA_libgnu_a_SOURCES += gettimeofday.c
333 ## end gnulib module gettimeofday
335 ## begin gnulib module group-member
337 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
339 endif
340 EXTRA_DIST += group-member.c
342 EXTRA_libgnu_a_SOURCES += group-member.c
344 ## end gnulib module group-member
346 ## begin gnulib module ignore-value
349 EXTRA_DIST += ignore-value.h
351 ## end gnulib module ignore-value
353 ## begin gnulib module intprops
356 EXTRA_DIST += intprops.h
358 ## end gnulib module intprops
360 ## begin gnulib module lstat
363 EXTRA_DIST += lstat.c
365 EXTRA_libgnu_a_SOURCES += lstat.c
367 ## end gnulib module lstat
369 ## begin gnulib module memrchr
372 EXTRA_DIST += memrchr.c
374 EXTRA_libgnu_a_SOURCES += memrchr.c
376 ## end gnulib module memrchr
378 ## begin gnulib module mktime
381 EXTRA_DIST += mktime-internal.h mktime.c
383 EXTRA_libgnu_a_SOURCES += mktime.c
385 ## end gnulib module mktime
387 ## begin gnulib module openat-h
389 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
391 endif
392 EXTRA_DIST += openat.h
394 ## end gnulib module openat-h
396 ## begin gnulib module pathmax
398 if gl_GNULIB_ENABLED_pathmax
400 endif
401 EXTRA_DIST += pathmax.h
403 ## end gnulib module pathmax
405 ## begin gnulib module pselect
408 EXTRA_DIST += pselect.c
410 EXTRA_libgnu_a_SOURCES += pselect.c
412 ## end gnulib module pselect
414 ## begin gnulib module pthread_sigmask
417 EXTRA_DIST += pthread_sigmask.c
419 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
421 ## end gnulib module pthread_sigmask
423 ## begin gnulib module putenv
426 EXTRA_DIST += putenv.c
428 EXTRA_libgnu_a_SOURCES += putenv.c
430 ## end gnulib module putenv
432 ## begin gnulib module readlink
435 EXTRA_DIST += readlink.c
437 EXTRA_libgnu_a_SOURCES += readlink.c
439 ## end gnulib module readlink
441 ## begin gnulib module readlinkat
444 EXTRA_DIST += at-func.c readlinkat.c
446 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
448 ## end gnulib module readlinkat
450 ## begin gnulib module root-uid
452 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
454 endif
455 EXTRA_DIST += root-uid.h
457 ## end gnulib module root-uid
459 ## begin gnulib module sig2str
462 EXTRA_DIST += sig2str.c sig2str.h
464 EXTRA_libgnu_a_SOURCES += sig2str.c
466 ## end gnulib module sig2str
468 ## begin gnulib module snippet/_Noreturn
470 # Because this Makefile snippet defines a variable used by other
471 # gnulib Makefile snippets, it must be present in all Makefile.am that
472 # need it. This is ensured by the applicability 'all' defined above.
474 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
476 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
478 ## end gnulib module snippet/_Noreturn
480 ## begin gnulib module snippet/arg-nonnull
482 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
483 # statements but through direct file reference. Therefore this snippet must be
484 # present in all Makefile.am that need it. This is ensured by the applicability
485 # 'all' defined above.
487 BUILT_SOURCES += arg-nonnull.h
488 # The arg-nonnull.h that gets inserted into generated .h files is the same as
489 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
490 # off.
491 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
492 $(AM_V_GEN)rm -f $@-t $@ && \
493 sed -n -e '/GL_ARG_NONNULL/,$$p' \
494 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
495 > $@-t && \
496 mv $@-t $@
497 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
499 ARG_NONNULL_H=arg-nonnull.h
501 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
503 ## end gnulib module snippet/arg-nonnull
505 ## begin gnulib module snippet/c++defs
507 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
508 # statements but through direct file reference. Therefore this snippet must be
509 # present in all Makefile.am that need it. This is ensured by the applicability
510 # 'all' defined above.
512 BUILT_SOURCES += c++defs.h
513 # The c++defs.h that gets inserted into generated .h files is the same as
514 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
515 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
516 $(AM_V_GEN)rm -f $@-t $@ && \
517 sed -n -e '/_GL_CXXDEFS/,$$p' \
518 < $(top_srcdir)/build-aux/snippet/c++defs.h \
519 > $@-t && \
520 mv $@-t $@
521 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
523 CXXDEFS_H=c++defs.h
525 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
527 ## end gnulib module snippet/c++defs
529 ## begin gnulib module snippet/warn-on-use
531 BUILT_SOURCES += warn-on-use.h
532 # The warn-on-use.h that gets inserted into generated .h files is the same as
533 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
534 # off.
535 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
536 $(AM_V_GEN)rm -f $@-t $@ && \
537 sed -n -e '/^.ifndef/,$$p' \
538 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
539 > $@-t && \
540 mv $@-t $@
541 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
543 WARN_ON_USE_H=warn-on-use.h
545 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
547 ## end gnulib module snippet/warn-on-use
549 ## begin gnulib module stat
551 if gl_GNULIB_ENABLED_stat
553 endif
554 EXTRA_DIST += stat.c
556 EXTRA_libgnu_a_SOURCES += stat.c
558 ## end gnulib module stat
560 ## begin gnulib module stat-time
562 libgnu_a_SOURCES += stat-time.c
564 EXTRA_DIST += stat-time.h
566 ## end gnulib module stat-time
568 ## begin gnulib module stdalign
570 BUILT_SOURCES += $(STDALIGN_H)
572 # We need the following in order to create <stdalign.h> when the system
573 # doesn't have one that works.
574 if GL_GENERATE_STDALIGN_H
575 stdalign.h: stdalign.in.h $(top_builddir)/config.status
576 $(AM_V_GEN)rm -f $@-t $@ && \
577 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
578 cat $(srcdir)/stdalign.in.h; \
579 } > $@-t && \
580 mv $@-t $@
581 else
582 stdalign.h: $(top_builddir)/config.status
583 rm -f $@
584 endif
585 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
587 EXTRA_DIST += stdalign.in.h
589 ## end gnulib module stdalign
591 ## begin gnulib module stdarg
593 BUILT_SOURCES += $(STDARG_H)
595 # We need the following in order to create <stdarg.h> when the system
596 # doesn't have one that works with the given compiler.
597 if GL_GENERATE_STDARG_H
598 stdarg.h: stdarg.in.h $(top_builddir)/config.status
599 $(AM_V_GEN)rm -f $@-t $@ && \
600 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
601 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
602 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
603 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
604 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
605 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
606 < $(srcdir)/stdarg.in.h; \
607 } > $@-t && \
608 mv $@-t $@
609 else
610 stdarg.h: $(top_builddir)/config.status
611 rm -f $@
612 endif
613 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
615 EXTRA_DIST += stdarg.in.h
617 ## end gnulib module stdarg
619 ## begin gnulib module stdbool
621 BUILT_SOURCES += $(STDBOOL_H)
623 # We need the following in order to create <stdbool.h> when the system
624 # doesn't have one that works.
625 if GL_GENERATE_STDBOOL_H
626 stdbool.h: stdbool.in.h $(top_builddir)/config.status
627 $(AM_V_GEN)rm -f $@-t $@ && \
628 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
629 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
630 } > $@-t && \
631 mv $@-t $@
632 else
633 stdbool.h: $(top_builddir)/config.status
634 rm -f $@
635 endif
636 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
638 EXTRA_DIST += stdbool.in.h
640 ## end gnulib module stdbool
642 ## begin gnulib module stddef
644 BUILT_SOURCES += $(STDDEF_H)
646 # We need the following in order to create <stddef.h> when the system
647 # doesn't have one that works with the given compiler.
648 if GL_GENERATE_STDDEF_H
649 stddef.h: stddef.in.h $(top_builddir)/config.status
650 $(AM_V_GEN)rm -f $@-t $@ && \
651 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
652 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
653 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
654 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
655 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
656 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
657 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
658 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
659 < $(srcdir)/stddef.in.h; \
660 } > $@-t && \
661 mv $@-t $@
662 else
663 stddef.h: $(top_builddir)/config.status
664 rm -f $@
665 endif
666 MOSTLYCLEANFILES += stddef.h stddef.h-t
668 EXTRA_DIST += stddef.in.h
670 ## end gnulib module stddef
672 ## begin gnulib module stdint
674 BUILT_SOURCES += $(STDINT_H)
676 # We need the following in order to create <stdint.h> when the system
677 # doesn't have one that works with the given compiler.
678 if GL_GENERATE_STDINT_H
679 stdint.h: stdint.in.h $(top_builddir)/config.status
680 $(AM_V_GEN)rm -f $@-t $@ && \
681 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
682 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
683 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
684 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
685 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
686 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
687 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
688 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
689 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
690 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
691 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
692 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
693 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
694 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
695 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
696 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
697 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
698 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
699 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
700 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
701 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
702 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
703 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
704 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
705 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
706 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
707 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
708 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
709 < $(srcdir)/stdint.in.h; \
710 } > $@-t && \
711 mv $@-t $@
712 else
713 stdint.h: $(top_builddir)/config.status
714 rm -f $@
715 endif
716 MOSTLYCLEANFILES += stdint.h stdint.h-t
718 EXTRA_DIST += stdint.in.h
720 ## end gnulib module stdint
722 ## begin gnulib module strftime
724 libgnu_a_SOURCES += strftime.c
726 EXTRA_DIST += strftime.h
728 ## end gnulib module strftime
730 ## begin gnulib module strtoimax
733 EXTRA_DIST += strtoimax.c
735 EXTRA_libgnu_a_SOURCES += strtoimax.c
737 ## end gnulib module strtoimax
739 ## begin gnulib module strtoll
741 if gl_GNULIB_ENABLED_strtoll
743 endif
744 EXTRA_DIST += strtol.c strtoll.c
746 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
748 ## end gnulib module strtoll
750 ## begin gnulib module strtoull
752 if gl_GNULIB_ENABLED_strtoull
754 endif
755 EXTRA_DIST += strtol.c strtoul.c strtoull.c
757 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
759 ## end gnulib module strtoull
761 ## begin gnulib module strtoumax
764 EXTRA_DIST += strtoimax.c strtoumax.c
766 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
768 ## end gnulib module strtoumax
770 ## begin gnulib module symlink
773 EXTRA_DIST += symlink.c
775 EXTRA_libgnu_a_SOURCES += symlink.c
777 ## end gnulib module symlink
779 ## begin gnulib module time_r
782 EXTRA_DIST += time_r.c
784 EXTRA_libgnu_a_SOURCES += time_r.c
786 ## end gnulib module time_r
788 ## begin gnulib module timespec
790 libgnu_a_SOURCES += timespec.c
792 EXTRA_DIST += timespec.h
794 ## end gnulib module timespec
796 ## begin gnulib module timespec-add
798 libgnu_a_SOURCES += timespec-add.c
800 ## end gnulib module timespec-add
802 ## begin gnulib module timespec-sub
804 libgnu_a_SOURCES += timespec-sub.c
806 ## end gnulib module timespec-sub
808 ## begin gnulib module u64
810 libgnu_a_SOURCES += u64.c
812 EXTRA_DIST += u64.h
814 ## end gnulib module u64
816 ## begin gnulib module unsetenv
819 EXTRA_DIST += unsetenv.c
821 EXTRA_libgnu_a_SOURCES += unsetenv.c
823 ## end gnulib module unsetenv
825 ## begin gnulib module utimens
827 libgnu_a_SOURCES += utimens.c
829 EXTRA_DIST += utimens.h
831 ## end gnulib module utimens
833 ## begin gnulib module verify
835 if gl_GNULIB_ENABLED_verify
837 endif
838 EXTRA_DIST += verify.h
840 ## end gnulib module verify
842 ## begin gnulib module xalloc-oversized
844 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
846 endif
847 EXTRA_DIST += xalloc-oversized.h
849 ## end gnulib module xalloc-oversized
852 mostlyclean-local: mostlyclean-generic
853 @for dir in '' $(MOSTLYCLEANDIRS); do \
854 if test -n "$$dir" && test -d $$dir; then \
855 echo "rmdir $$dir"; rmdir $$dir; \
856 fi; \
857 done; \