In nt/gnulib.mk create <byteswap.h> from <byteswap.in.h>.
[emacs.git] / nt / gnulib.mk
blobff46e9f09a6fe898f6d7dbf22192b03af3f0df1a
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 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 crypto/md5
126 libgnu_a_SOURCES += md5.c
128 EXTRA_DIST += md5.h
130 ## end gnulib module crypto/md5
132 ## begin gnulib module crypto/sha1
134 libgnu_a_SOURCES += sha1.c
136 EXTRA_DIST += sha1.h
138 ## end gnulib module crypto/sha1
140 ## begin gnulib module crypto/sha256
142 libgnu_a_SOURCES += sha256.c
144 EXTRA_DIST += sha256.h
146 ## end gnulib module crypto/sha256
148 ## begin gnulib module crypto/sha512
150 libgnu_a_SOURCES += sha512.c
152 EXTRA_DIST += sha512.h
154 ## end gnulib module crypto/sha512
156 ## begin gnulib module dosname
158 if gl_GNULIB_ENABLED_dosname
160 endif
161 EXTRA_DIST += dosname.h
163 ## end gnulib module dosname
165 ## begin gnulib module dtoastr
167 libgnu_a_SOURCES += dtoastr.c
169 EXTRA_DIST += ftoastr.c ftoastr.h
171 EXTRA_libgnu_a_SOURCES += ftoastr.c
173 ## end gnulib module dtoastr
175 ## begin gnulib module dtotimespec
177 libgnu_a_SOURCES += dtotimespec.c
179 ## end gnulib module dtotimespec
181 ## begin gnulib module dup2
184 EXTRA_DIST += dup2.c
186 EXTRA_libgnu_a_SOURCES += dup2.c
188 ## end gnulib module dup2
190 ## begin gnulib module errno
192 BUILT_SOURCES += $(ERRNO_H)
194 # We need the following in order to create <errno.h> when the system
195 # doesn't have one that is POSIX compliant.
196 if GL_GENERATE_ERRNO_H
197 errno.h: errno.in.h $(top_builddir)/config.status
198 $(AM_V_GEN)rm -f $@-t $@ && \
199 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
200 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
201 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
202 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
203 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
204 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
205 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
206 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
207 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
208 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
209 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
210 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
211 < $(srcdir)/errno.in.h; \
212 } > $@-t && \
213 mv $@-t $@
214 else
215 errno.h: $(top_builddir)/config.status
216 rm -f $@
217 endif
218 MOSTLYCLEANFILES += errno.h errno.h-t
220 EXTRA_DIST += errno.in.h
222 ## end gnulib module errno
224 ## begin gnulib module euidaccess
226 if gl_GNULIB_ENABLED_euidaccess
228 endif
229 EXTRA_DIST += euidaccess.c
231 EXTRA_libgnu_a_SOURCES += euidaccess.c
233 ## end gnulib module euidaccess
235 ## begin gnulib module execinfo
237 BUILT_SOURCES += $(EXECINFO_H)
239 # We need the following in order to create <execinfo.h> when the system
240 # doesn't have one that works.
241 if GL_GENERATE_EXECINFO_H
242 execinfo.h: execinfo.in.h $(top_builddir)/config.status
243 $(AM_V_GEN)rm -f $@-t $@ && \
244 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
245 cat $(srcdir)/execinfo.in.h; \
246 } > $@-t && \
247 mv $@-t $@
248 else
249 execinfo.h: $(top_builddir)/config.status
250 rm -f $@
251 endif
252 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
254 EXTRA_DIST += execinfo.c execinfo.in.h
256 EXTRA_libgnu_a_SOURCES += execinfo.c
258 ## end gnulib module execinfo
260 ## begin gnulib module faccessat
263 EXTRA_DIST += at-func.c faccessat.c
265 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
267 ## end gnulib module faccessat
269 ## begin gnulib module fdatasync
272 EXTRA_DIST += fdatasync.c
274 EXTRA_libgnu_a_SOURCES += fdatasync.c
276 ## end gnulib module fdatasync
278 ## begin gnulib module fdopendir
281 EXTRA_DIST += fdopendir.c
283 EXTRA_libgnu_a_SOURCES += fdopendir.c
285 ## end gnulib module fdopendir
287 ## begin gnulib module filemode
289 libgnu_a_SOURCES += filemode.c
291 EXTRA_DIST += filemode.h
293 ## end gnulib module filemode
295 ## begin gnulib module fpending
298 EXTRA_DIST += fpending.c fpending.h
300 EXTRA_libgnu_a_SOURCES += fpending.c
302 ## end gnulib module fpending
304 ## begin gnulib module fstatat
307 EXTRA_DIST += at-func.c fstatat.c
309 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
311 ## end gnulib module fstatat
313 ## begin gnulib module fsync
316 EXTRA_DIST += fsync.c
318 EXTRA_libgnu_a_SOURCES += fsync.c
320 ## end gnulib module fsync
322 ## begin gnulib module getgroups
324 if gl_GNULIB_ENABLED_getgroups
326 endif
327 EXTRA_DIST += getgroups.c
329 EXTRA_libgnu_a_SOURCES += getgroups.c
331 ## end gnulib module getgroups
333 ## begin gnulib module getloadavg
336 EXTRA_DIST += getloadavg.c
338 EXTRA_libgnu_a_SOURCES += getloadavg.c
340 ## end gnulib module getloadavg
342 ## begin gnulib module getopt-posix
344 BUILT_SOURCES += $(GETOPT_H)
346 # We need the following in order to create <getopt.h> when the system
347 # doesn't have one that works with the given compiler.
348 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
349 $(AM_V_GEN)rm -f $@-t $@ && \
350 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
351 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
352 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
353 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
354 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
355 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
356 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
357 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
358 < $(srcdir)/getopt.in.h; \
359 } > $@-t && \
360 mv -f $@-t $@
361 MOSTLYCLEANFILES += getopt.h getopt.h-t
363 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
365 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
367 ## end gnulib module getopt-posix
369 ## begin gnulib module gettext-h
371 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
372 libgnu_a_SOURCES += gettext.h
374 endif
375 ## end gnulib module gettext-h
377 ## begin gnulib module gettime
379 libgnu_a_SOURCES += gettime.c
381 ## end gnulib module gettime
383 ## begin gnulib module gettimeofday
386 EXTRA_DIST += gettimeofday.c
388 EXTRA_libgnu_a_SOURCES += gettimeofday.c
390 ## end gnulib module gettimeofday
392 ## begin gnulib module group-member
394 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
396 endif
397 EXTRA_DIST += group-member.c
399 EXTRA_libgnu_a_SOURCES += group-member.c
401 ## end gnulib module group-member
403 ## begin gnulib module ignore-value
406 EXTRA_DIST += ignore-value.h
408 ## end gnulib module ignore-value
410 ## begin gnulib module intprops
413 EXTRA_DIST += intprops.h
415 ## end gnulib module intprops
417 ## begin gnulib module lstat
420 EXTRA_DIST += lstat.c
422 EXTRA_libgnu_a_SOURCES += lstat.c
424 ## end gnulib module lstat
426 ## begin gnulib module memrchr
429 EXTRA_DIST += memrchr.c
431 EXTRA_libgnu_a_SOURCES += memrchr.c
433 ## end gnulib module memrchr
435 ## begin gnulib module mktime
438 EXTRA_DIST += mktime-internal.h mktime.c
440 EXTRA_libgnu_a_SOURCES += mktime.c
442 ## end gnulib module mktime
444 ## begin gnulib module openat-h
446 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
448 endif
449 EXTRA_DIST += openat.h
451 ## end gnulib module openat-h
453 ## begin gnulib module pathmax
455 if gl_GNULIB_ENABLED_pathmax
457 endif
458 EXTRA_DIST += pathmax.h
460 ## end gnulib module pathmax
462 ## begin gnulib module pselect
465 EXTRA_DIST += pselect.c
467 EXTRA_libgnu_a_SOURCES += pselect.c
469 ## end gnulib module pselect
471 ## begin gnulib module pthread_sigmask
474 EXTRA_DIST += pthread_sigmask.c
476 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
478 ## end gnulib module pthread_sigmask
480 ## begin gnulib module putenv
483 EXTRA_DIST += putenv.c
485 EXTRA_libgnu_a_SOURCES += putenv.c
487 ## end gnulib module putenv
489 ## begin gnulib module qacl
491 libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c
493 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
495 EXTRA_libgnu_a_SOURCES += acl_entries.c
497 ## end gnulib module qacl
499 ## begin gnulib module readlink
502 EXTRA_DIST += readlink.c
504 EXTRA_libgnu_a_SOURCES += readlink.c
506 ## end gnulib module readlink
508 ## begin gnulib module readlinkat
511 EXTRA_DIST += at-func.c readlinkat.c
513 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
515 ## end gnulib module readlinkat
517 ## begin gnulib module root-uid
519 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
521 endif
522 EXTRA_DIST += root-uid.h
524 ## end gnulib module root-uid
526 ## begin gnulib module sig2str
529 EXTRA_DIST += sig2str.c sig2str.h
531 EXTRA_libgnu_a_SOURCES += sig2str.c
533 ## end gnulib module sig2str
535 ## begin gnulib module snippet/_Noreturn
537 # Because this Makefile snippet defines a variable used by other
538 # gnulib Makefile snippets, it must be present in all Makefile.am that
539 # need it. This is ensured by the applicability 'all' defined above.
541 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
543 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
545 ## end gnulib module snippet/_Noreturn
547 ## begin gnulib module snippet/arg-nonnull
549 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
550 # statements but through direct file reference. Therefore this snippet must be
551 # present in all Makefile.am that need it. This is ensured by the applicability
552 # 'all' defined above.
554 BUILT_SOURCES += arg-nonnull.h
555 # The arg-nonnull.h that gets inserted into generated .h files is the same as
556 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
557 # off.
558 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
559 $(AM_V_GEN)rm -f $@-t $@ && \
560 sed -n -e '/GL_ARG_NONNULL/,$$p' \
561 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
562 > $@-t && \
563 mv $@-t $@
564 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
566 ARG_NONNULL_H=arg-nonnull.h
568 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
570 ## end gnulib module snippet/arg-nonnull
572 ## begin gnulib module snippet/c++defs
574 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
575 # statements but through direct file reference. Therefore this snippet must be
576 # present in all Makefile.am that need it. This is ensured by the applicability
577 # 'all' defined above.
579 BUILT_SOURCES += c++defs.h
580 # The c++defs.h that gets inserted into generated .h files is the same as
581 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
582 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
583 $(AM_V_GEN)rm -f $@-t $@ && \
584 sed -n -e '/_GL_CXXDEFS/,$$p' \
585 < $(top_srcdir)/build-aux/snippet/c++defs.h \
586 > $@-t && \
587 mv $@-t $@
588 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
590 CXXDEFS_H=c++defs.h
592 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
594 ## end gnulib module snippet/c++defs
596 ## begin gnulib module snippet/warn-on-use
598 BUILT_SOURCES += warn-on-use.h
599 # The warn-on-use.h that gets inserted into generated .h files is the same as
600 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
601 # off.
602 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
603 $(AM_V_GEN)rm -f $@-t $@ && \
604 sed -n -e '/^.ifndef/,$$p' \
605 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
606 > $@-t && \
607 mv $@-t $@
608 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
610 WARN_ON_USE_H=warn-on-use.h
612 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
614 ## end gnulib module snippet/warn-on-use
616 ## begin gnulib module stat
618 if gl_GNULIB_ENABLED_stat
620 endif
621 EXTRA_DIST += stat.c
623 EXTRA_libgnu_a_SOURCES += stat.c
625 ## end gnulib module stat
627 ## begin gnulib module stat-time
629 libgnu_a_SOURCES += stat-time.c
631 EXTRA_DIST += stat-time.h
633 ## end gnulib module stat-time
635 ## begin gnulib module stdalign
637 BUILT_SOURCES += $(STDALIGN_H)
639 # We need the following in order to create <stdalign.h> when the system
640 # doesn't have one that works.
641 if GL_GENERATE_STDALIGN_H
642 stdalign.h: stdalign.in.h $(top_builddir)/config.status
643 $(AM_V_GEN)rm -f $@-t $@ && \
644 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
645 cat $(srcdir)/stdalign.in.h; \
646 } > $@-t && \
647 mv $@-t $@
648 else
649 stdalign.h: $(top_builddir)/config.status
650 rm -f $@
651 endif
652 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
654 EXTRA_DIST += stdalign.in.h
656 ## end gnulib module stdalign
658 ## begin gnulib module stdarg
660 BUILT_SOURCES += $(STDARG_H)
662 # We need the following in order to create <stdarg.h> when the system
663 # doesn't have one that works with the given compiler.
664 if GL_GENERATE_STDARG_H
665 stdarg.h: stdarg.in.h $(top_builddir)/config.status
666 $(AM_V_GEN)rm -f $@-t $@ && \
667 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
668 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
669 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
670 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
671 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
672 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
673 < $(srcdir)/stdarg.in.h; \
674 } > $@-t && \
675 mv $@-t $@
676 else
677 stdarg.h: $(top_builddir)/config.status
678 rm -f $@
679 endif
680 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
682 EXTRA_DIST += stdarg.in.h
684 ## end gnulib module stdarg
686 ## begin gnulib module stdbool
688 BUILT_SOURCES += $(STDBOOL_H)
690 # We need the following in order to create <stdbool.h> when the system
691 # doesn't have one that works.
692 if GL_GENERATE_STDBOOL_H
693 stdbool.h: stdbool.in.h $(top_builddir)/config.status
694 $(AM_V_GEN)rm -f $@-t $@ && \
695 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
696 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
697 } > $@-t && \
698 mv $@-t $@
699 else
700 stdbool.h: $(top_builddir)/config.status
701 rm -f $@
702 endif
703 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
705 EXTRA_DIST += stdbool.in.h
707 ## end gnulib module stdbool
709 ## begin gnulib module stddef
711 BUILT_SOURCES += $(STDDEF_H)
713 # We need the following in order to create <stddef.h> when the system
714 # doesn't have one that works with the given compiler.
715 if GL_GENERATE_STDDEF_H
716 stddef.h: stddef.in.h $(top_builddir)/config.status
717 $(AM_V_GEN)rm -f $@-t $@ && \
718 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
719 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
720 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
721 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
722 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
723 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
724 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
725 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
726 < $(srcdir)/stddef.in.h; \
727 } > $@-t && \
728 mv $@-t $@
729 else
730 stddef.h: $(top_builddir)/config.status
731 rm -f $@
732 endif
733 MOSTLYCLEANFILES += stddef.h stddef.h-t
735 EXTRA_DIST += stddef.in.h
737 ## end gnulib module stddef
739 ## begin gnulib module stdint
741 BUILT_SOURCES += $(STDINT_H)
743 # We need the following in order to create <stdint.h> when the system
744 # doesn't have one that works with the given compiler.
745 if GL_GENERATE_STDINT_H
746 stdint.h: stdint.in.h $(top_builddir)/config.status
747 $(AM_V_GEN)rm -f $@-t $@ && \
748 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
749 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
750 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
751 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
752 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
753 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
754 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
755 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
756 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
757 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
758 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
759 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
760 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
761 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
762 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
763 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
764 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
765 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
766 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
767 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
768 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
769 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
770 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
771 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
772 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
773 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
774 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
775 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
776 < $(srcdir)/stdint.in.h; \
777 } > $@-t && \
778 mv $@-t $@
779 else
780 stdint.h: $(top_builddir)/config.status
781 rm -f $@
782 endif
783 MOSTLYCLEANFILES += stdint.h stdint.h-t
785 EXTRA_DIST += stdint.in.h
787 ## end gnulib module stdint
789 ## begin gnulib module strftime
791 libgnu_a_SOURCES += strftime.c
793 EXTRA_DIST += strftime.h
795 ## end gnulib module strftime
797 ## begin gnulib module strtoimax
800 EXTRA_DIST += strtoimax.c
802 EXTRA_libgnu_a_SOURCES += strtoimax.c
804 ## end gnulib module strtoimax
806 ## begin gnulib module strtoll
808 if gl_GNULIB_ENABLED_strtoll
810 endif
811 EXTRA_DIST += strtol.c strtoll.c
813 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
815 ## end gnulib module strtoll
817 ## begin gnulib module strtoull
819 if gl_GNULIB_ENABLED_strtoull
821 endif
822 EXTRA_DIST += strtol.c strtoul.c strtoull.c
824 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
826 ## end gnulib module strtoull
828 ## begin gnulib module strtoumax
831 EXTRA_DIST += strtoimax.c strtoumax.c
833 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
835 ## end gnulib module strtoumax
837 ## begin gnulib module symlink
840 EXTRA_DIST += symlink.c
842 EXTRA_libgnu_a_SOURCES += symlink.c
844 ## end gnulib module symlink
846 ## begin gnulib module time_r
849 EXTRA_DIST += time_r.c
851 EXTRA_libgnu_a_SOURCES += time_r.c
853 ## end gnulib module time_r
855 ## begin gnulib module timespec
857 libgnu_a_SOURCES += timespec.c
859 EXTRA_DIST += timespec.h
861 ## end gnulib module timespec
863 ## begin gnulib module timespec-add
865 libgnu_a_SOURCES += timespec-add.c
867 ## end gnulib module timespec-add
869 ## begin gnulib module timespec-sub
871 libgnu_a_SOURCES += timespec-sub.c
873 ## end gnulib module timespec-sub
875 ## begin gnulib module u64
877 libgnu_a_SOURCES += u64.c
879 EXTRA_DIST += u64.h
881 ## end gnulib module u64
883 ## begin gnulib module unsetenv
886 EXTRA_DIST += unsetenv.c
888 EXTRA_libgnu_a_SOURCES += unsetenv.c
890 ## end gnulib module unsetenv
892 ## begin gnulib module utimens
894 libgnu_a_SOURCES += utimens.c
896 EXTRA_DIST += utimens.h
898 ## end gnulib module utimens
900 ## begin gnulib module verify
902 EXTRA_DIST += verify.h
904 ## end gnulib module verify
906 ## begin gnulib module xalloc-oversized
908 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
910 endif
911 EXTRA_DIST += xalloc-oversized.h
913 ## end gnulib module xalloc-oversized
916 mostlyclean-local: mostlyclean-generic
917 @for dir in '' $(MOSTLYCLEANDIRS); do \
918 if test -n "$$dir" && test -d $$dir; then \
919 echo "rmdir $$dir"; rmdir $$dir; \
920 fi; \
921 done; \