1 ## This file is an edited copy of ../lib/gnulib.mk.
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.
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-2016 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 --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=flexmember --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=setenv --avoid=sigprocmask --avoid=stdarg --avoid=stdbool --avoid=threadlib --avoid=unsetenv --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 filevercmp fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog ignore-value intprops largefile lstat manywarnings memrchr mkostemp mktime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strftime strtoimax strtoumax symlink sys_stat sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub unsetenv update-copyright utimens vla warnings
49 MOSTLYCLEANFILES
+= core
*.stackdump
51 noinst_LIBRARIES
+= libgnu.a
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 acl-permissions
69 libgnu_a_SOURCES
+= acl-errno-valid.c acl-internal.c \
72 EXTRA_DIST
+= acl-internal.h acl.h acl_entries.c
74 EXTRA_libgnu_a_SOURCES
+= acl_entries.c
76 ## end gnulib module acl-permissions
78 ## begin gnulib module alloca-opt
80 BUILT_SOURCES
+= $(ALLOCA_H
)
82 # We need the following in order to create <alloca.h> when the system
83 # doesn't have one that works with the given compiler.
84 if GL_GENERATE_ALLOCA_H
85 alloca.h
: alloca.in.h
$(top_builddir
)/config.status
86 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
87 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
88 cat
$(srcdir)/alloca.in.h
; \
92 alloca.h
: $(top_builddir
)/config.status
95 MOSTLYCLEANFILES
+= alloca.h alloca.h-t
97 EXTRA_DIST
+= alloca.in.h
99 ## end gnulib module alloca-opt
101 ## begin gnulib module binary-io
103 libgnu_a_SOURCES
+= binary-io.h binary-io.c
105 ## end gnulib module binary-io
107 ## begin gnulib module byteswap
109 BUILT_SOURCES
+= $(BYTESWAP_H
)
111 # We need the following in order to create <byteswap.h> when the system
113 if GL_GENERATE_BYTESWAP_H
114 byteswap.h
: byteswap.in.h
$(top_builddir
)/config.status
115 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
116 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
117 cat
$(srcdir)/byteswap.in.h
; \
121 byteswap.h
: $(top_builddir
)/config.status
124 MOSTLYCLEANFILES
+= byteswap.h byteswap.h-t
126 EXTRA_DIST
+= byteswap.in.h
128 ## end gnulib module byteswap
130 ## begin gnulib module c-ctype
132 libgnu_a_SOURCES
+= c-ctype.h c-ctype.c
134 ## end gnulib module c-ctype
136 ## begin gnulib module c-strcase
138 libgnu_a_SOURCES
+= c-strcase.h c-strcasecmp.c c-strncasecmp.c
140 ## end gnulib module c-strcase
142 ## begin gnulib module close-stream
144 libgnu_a_SOURCES
+= close-stream.c
146 EXTRA_DIST
+= close-stream.h
148 ## end gnulib module close-stream
150 ## begin gnulib module count-one-bits
152 libgnu_a_SOURCES
+= count-one-bits.c
154 EXTRA_DIST
+= count-one-bits.h
156 ## end gnulib module count-one-bits
158 ## begin gnulib module count-trailing-zeros
160 libgnu_a_SOURCES
+= count-trailing-zeros.c
162 EXTRA_DIST
+= count-trailing-zeros.h
164 ## end gnulib module count-trailing-zeros
166 ## begin gnulib module crypto/md5
168 libgnu_a_SOURCES
+= md5.c
170 EXTRA_DIST
+= gl_openssl.h md5.h
172 ## end gnulib module crypto/md5
174 ## begin gnulib module crypto/sha1
176 libgnu_a_SOURCES
+= sha1.c
178 EXTRA_DIST
+= gl_openssl.h sha1.h
180 ## end gnulib module crypto/sha1
182 ## begin gnulib module crypto/sha256
184 libgnu_a_SOURCES
+= sha256.c
186 EXTRA_DIST
+= gl_openssl.h sha256.h
188 ## end gnulib module crypto/sha256
190 ## begin gnulib module crypto/sha512
192 libgnu_a_SOURCES
+= sha512.c
194 EXTRA_DIST
+= gl_openssl.h sha512.h
196 ## end gnulib module crypto/sha512
198 ## begin gnulib module dosname
200 if gl_GNULIB_ENABLED_dosname
203 EXTRA_DIST
+= dosname.h
205 ## end gnulib module dosname
207 ## begin gnulib module dtoastr
209 libgnu_a_SOURCES
+= dtoastr.c
211 EXTRA_DIST
+= ftoastr.c ftoastr.h
213 EXTRA_libgnu_a_SOURCES
+= ftoastr.c
215 ## end gnulib module dtoastr
217 ## begin gnulib module dtotimespec
219 libgnu_a_SOURCES
+= dtotimespec.c
221 ## end gnulib module dtotimespec
223 ## begin gnulib module dup2
228 EXTRA_libgnu_a_SOURCES
+= dup2.c
230 ## end gnulib module dup2
232 ## begin gnulib module errno
234 BUILT_SOURCES
+= $(ERRNO_H
)
236 # We need the following in order to create <errno.h> when the system
237 # doesn't have one that is POSIX compliant.
238 if GL_GENERATE_ERRNO_H
239 errno.h
: errno.in.h
$(top_builddir
)/config.status
240 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
241 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
242 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
243 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
244 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
245 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
246 -e
's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
247 -e
's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
248 -e
's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
249 -e
's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
250 -e
's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
251 -e
's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
252 -e
's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
253 < $(srcdir)/errno.in.h
; \
257 errno.h
: $(top_builddir
)/config.status
260 MOSTLYCLEANFILES
+= errno.h errno.h-t
262 EXTRA_DIST
+= errno.in.h
264 ## end gnulib module errno
266 ## begin gnulib module euidaccess
268 if gl_GNULIB_ENABLED_euidaccess
271 EXTRA_DIST
+= euidaccess.c
273 EXTRA_libgnu_a_SOURCES
+= euidaccess.c
275 ## end gnulib module euidaccess
277 ## begin gnulib module execinfo
279 BUILT_SOURCES
+= $(EXECINFO_H
)
281 # We need the following in order to create <execinfo.h> when the system
282 # doesn't have one that works.
283 if GL_GENERATE_EXECINFO_H
284 execinfo.h
: execinfo.in.h
$(top_builddir
)/config.status
285 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
286 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
287 cat
$(srcdir)/execinfo.in.h
; \
291 execinfo.h
: $(top_builddir
)/config.status
294 MOSTLYCLEANFILES
+= execinfo.h execinfo.h-t
296 EXTRA_DIST
+= execinfo.c execinfo.in.h
298 EXTRA_libgnu_a_SOURCES
+= execinfo.c
300 ## end gnulib module execinfo
302 ## begin gnulib module faccessat
305 EXTRA_DIST
+= at-func.c faccessat.c
307 EXTRA_libgnu_a_SOURCES
+= at-func.c faccessat.c
309 ## end gnulib module faccessat
311 ## begin gnulib module fdatasync
314 EXTRA_DIST
+= fdatasync.c
316 EXTRA_libgnu_a_SOURCES
+= fdatasync.c
318 ## end gnulib module fdatasync
320 ## begin gnulib module fdopendir
323 EXTRA_DIST
+= fdopendir.c
325 EXTRA_libgnu_a_SOURCES
+= fdopendir.c
327 ## end gnulib module fdopendir
329 ## begin gnulib module filemode
331 libgnu_a_SOURCES
+= filemode.c
333 EXTRA_DIST
+= filemode.h
335 ## end gnulib module filemode
337 ## begin gnulib module filevercmp
339 libgnu_a_SOURCES
+= filevercmp.c
341 EXTRA_DIST
+= filevercmp.h
343 ## end gnulib module filevercmp
345 ## begin gnulib module fpending
348 EXTRA_DIST
+= fpending.c fpending.h
350 EXTRA_libgnu_a_SOURCES
+= fpending.c
352 ## end gnulib module fpending
354 ## begin gnulib module fstatat
357 EXTRA_DIST
+= at-func.c fstatat.c
359 EXTRA_libgnu_a_SOURCES
+= at-func.c fstatat.c
361 ## end gnulib module fstatat
363 ## begin gnulib module fsync
366 EXTRA_DIST
+= fsync.c
368 EXTRA_libgnu_a_SOURCES
+= fsync.c
370 ## end gnulib module fsync
372 ## begin gnulib module getdtablesize
374 if gl_GNULIB_ENABLED_getdtablesize
377 EXTRA_DIST
+= getdtablesize.c
379 EXTRA_libgnu_a_SOURCES
+= getdtablesize.c
381 ## end gnulib module getdtablesize
383 ## begin gnulib module getgroups
385 if gl_GNULIB_ENABLED_getgroups
388 EXTRA_DIST
+= getgroups.c
390 EXTRA_libgnu_a_SOURCES
+= getgroups.c
392 ## end gnulib module getgroups
394 ## begin gnulib module getloadavg
397 EXTRA_DIST
+= getloadavg.c
399 EXTRA_libgnu_a_SOURCES
+= getloadavg.c
401 ## end gnulib module getloadavg
403 ## begin gnulib module getopt-posix
405 BUILT_SOURCES
+= $(GETOPT_H
)
407 # We need the following in order to create <getopt.h> when the system
408 # doesn't have one that works with the given compiler.
409 getopt.h
: getopt.in.h
$(top_builddir
)/config.status
$(ARG_NONNULL_H
)
410 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
411 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
412 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
413 -e
's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
414 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
415 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
416 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
417 -e
's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
418 -e
'/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
419 < $(srcdir)/getopt.in.h
; \
422 MOSTLYCLEANFILES
+= getopt.h getopt.h-t
424 EXTRA_DIST
+= getopt.c getopt.in.h getopt1.c getopt_int.h
426 EXTRA_libgnu_a_SOURCES
+= getopt.c getopt1.c
428 ## end gnulib module getopt-posix
430 ## begin gnulib module gettext-h
432 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
433 libgnu_a_SOURCES
+= gettext.h
436 ## end gnulib module gettext-h
438 ## begin gnulib module gettime
440 libgnu_a_SOURCES
+= gettime.c
442 ## end gnulib module gettime
444 ## begin gnulib module gettimeofday
447 EXTRA_DIST
+= gettimeofday.c
449 EXTRA_libgnu_a_SOURCES
+= gettimeofday.c
451 ## end gnulib module gettimeofday
453 ## begin gnulib module group-member
455 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
458 EXTRA_DIST
+= group-member.c
460 EXTRA_libgnu_a_SOURCES
+= group-member.c
462 ## end gnulib module group-member
464 ## begin gnulib module ignore-value
467 EXTRA_DIST
+= ignore-value.h
469 ## end gnulib module ignore-value
471 ## begin gnulib module intprops
474 EXTRA_DIST
+= intprops.h
476 ## end gnulib module intprops
478 ## begin gnulib module lstat
481 EXTRA_DIST
+= lstat.c
483 EXTRA_libgnu_a_SOURCES
+= lstat.c
485 ## end gnulib module lstat
487 ## begin gnulib module memrchr
490 EXTRA_DIST
+= memrchr.c
492 EXTRA_libgnu_a_SOURCES
+= memrchr.c
494 ## end gnulib module memrchr
496 ## begin gnulib module mktime
499 EXTRA_DIST
+= mktime-internal.h mktime.c
501 EXTRA_libgnu_a_SOURCES
+= mktime.c
503 ## end gnulib module mktime
505 ## begin gnulib module mktime-internal
507 if gl_GNULIB_ENABLED_5264294aa0a5557541b53c8c741f7f31
510 EXTRA_DIST
+= mktime-internal.h mktime.c
512 EXTRA_libgnu_a_SOURCES
+= mktime.c
514 ## end gnulib module mktime-internal
516 ## begin gnulib module openat-h
518 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
521 EXTRA_DIST
+= openat.h
523 ## end gnulib module openat-h
525 ## begin gnulib module pathmax
527 if gl_GNULIB_ENABLED_pathmax
530 EXTRA_DIST
+= pathmax.h
532 ## end gnulib module pathmax
534 ## begin gnulib module pselect
537 EXTRA_DIST
+= pselect.c
539 EXTRA_libgnu_a_SOURCES
+= pselect.c
541 ## end gnulib module pselect
543 ## begin gnulib module pthread_sigmask
546 EXTRA_DIST
+= pthread_sigmask.c
548 EXTRA_libgnu_a_SOURCES
+= pthread_sigmask.c
550 ## end gnulib module pthread_sigmask
552 ## begin gnulib module putenv
555 EXTRA_DIST
+= putenv.c
557 EXTRA_libgnu_a_SOURCES
+= putenv.c
559 ## end gnulib module putenv
561 ## begin gnulib module qcopy-acl
563 libgnu_a_SOURCES
+= qcopy-acl.c
565 ## end gnulib module qcopy-acl
567 ## begin gnulib module readlink
570 EXTRA_DIST
+= readlink.c
572 EXTRA_libgnu_a_SOURCES
+= readlink.c
574 ## end gnulib module readlink
576 ## begin gnulib module readlinkat
579 EXTRA_DIST
+= at-func.c readlinkat.c
581 EXTRA_libgnu_a_SOURCES
+= at-func.c readlinkat.c
583 ## end gnulib module readlinkat
585 ## begin gnulib module root-uid
587 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
590 EXTRA_DIST
+= root-uid.h
592 ## end gnulib module root-uid
594 ## begin gnulib module sig2str
597 EXTRA_DIST
+= sig2str.c sig2str.h
599 EXTRA_libgnu_a_SOURCES
+= sig2str.c
601 ## end gnulib module sig2str
603 ## begin gnulib module snippet/_Noreturn
605 # Because this Makefile snippet defines a variable used by other
606 # gnulib Makefile snippets, it must be present in all Makefile.am that
607 # need it. This is ensured by the applicability 'all' defined above.
609 _NORETURN_H
=$(top_srcdir
)/build-aux
/snippet
/_Noreturn.h
611 EXTRA_DIST
+= $(top_srcdir
)/build-aux
/snippet
/_Noreturn.h
613 ## end gnulib module snippet/_Noreturn
615 ## begin gnulib module snippet/arg-nonnull
617 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
618 # statements but through direct file reference. Therefore this snippet must be
619 # present in all Makefile.am that need it. This is ensured by the applicability
620 # 'all' defined above.
622 BUILT_SOURCES
+= arg-nonnull.h
623 # The arg-nonnull.h that gets inserted into generated .h files is the same as
624 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
626 arg-nonnull.h
: $(top_srcdir
)/build-aux
/snippet
/arg-nonnull.h
627 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
628 sed
-n
-e
'/GL_ARG_NONNULL/,$$p' \
629 < $(top_srcdir
)/build-aux
/snippet
/arg-nonnull.h \
632 MOSTLYCLEANFILES
+= arg-nonnull.h arg-nonnull.h-t
634 ARG_NONNULL_H
=arg-nonnull.h
636 EXTRA_DIST
+= $(top_srcdir
)/build-aux
/snippet
/arg-nonnull.h
638 ## end gnulib module snippet/arg-nonnull
640 ## begin gnulib module snippet/c++defs
642 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
643 # statements but through direct file reference. Therefore this snippet must be
644 # present in all Makefile.am that need it. This is ensured by the applicability
645 # 'all' defined above.
647 BUILT_SOURCES
+= c
++defs.h
648 # The c++defs.h that gets inserted into generated .h files is the same as
649 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
650 c
++defs.h
: $(top_srcdir
)/build-aux
/snippet
/c
++defs.h
651 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
652 sed
-n
-e
'/_GL_CXXDEFS/,$$p' \
653 < $(top_srcdir
)/build-aux
/snippet
/c
++defs.h \
656 MOSTLYCLEANFILES
+= c
++defs.h c
++defs.h-t
660 EXTRA_DIST
+= $(top_srcdir
)/build-aux
/snippet
/c
++defs.h
662 ## end gnulib module snippet/c++defs
664 ## begin gnulib module snippet/warn-on-use
666 BUILT_SOURCES
+= warn-on-use.h
667 # The warn-on-use.h that gets inserted into generated .h files is the same as
668 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
670 warn-on-use.h
: $(top_srcdir
)/build-aux
/snippet
/warn-on-use.h
671 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
672 sed
-n
-e
'/^.ifndef/,$$p' \
673 < $(top_srcdir
)/build-aux
/snippet
/warn-on-use.h \
676 MOSTLYCLEANFILES
+= warn-on-use.h warn-on-use.h-t
678 WARN_ON_USE_H
=warn-on-use.h
680 EXTRA_DIST
+= $(top_srcdir
)/build-aux
/snippet
/warn-on-use.h
682 ## end gnulib module snippet/warn-on-use
684 ## begin gnulib module stat
686 if gl_GNULIB_ENABLED_stat
691 EXTRA_libgnu_a_SOURCES
+= stat.c
693 ## end gnulib module stat
695 ## begin gnulib module stat-time
697 libgnu_a_SOURCES
+= stat-time.c
699 EXTRA_DIST
+= stat-time.h
701 ## end gnulib module stat-time
703 ## begin gnulib module stdalign
705 BUILT_SOURCES
+= $(STDALIGN_H
)
707 # We need the following in order to create <stdalign.h> when the system
708 # doesn't have one that works.
709 if GL_GENERATE_STDALIGN_H
710 stdalign.h
: stdalign.in.h
$(top_builddir
)/config.status
711 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
712 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
713 cat
$(srcdir)/stdalign.in.h
; \
717 stdalign.h
: $(top_builddir
)/config.status
720 MOSTLYCLEANFILES
+= stdalign.h stdalign.h-t
722 EXTRA_DIST
+= stdalign.in.h
724 ## end gnulib module stdalign
726 ## begin gnulib module stddef
728 BUILT_SOURCES
+= $(STDDEF_H
)
730 # We need the following in order to create <stddef.h> when the system
731 # doesn't have one that works with the given compiler.
732 if GL_GENERATE_STDDEF_H
733 stddef.h
: stddef.in.h
$(top_builddir
)/config.status
734 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
735 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
736 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
737 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
738 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
739 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
740 -e
's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
741 -e
's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
742 -e
's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
743 -e
's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
744 < $(srcdir)/stddef.in.h
; \
748 stddef.h
: $(top_builddir
)/config.status
751 MOSTLYCLEANFILES
+= stddef.h stddef.h-t
753 EXTRA_DIST
+= stddef.in.h
755 ## end gnulib module stddef
757 ## begin gnulib module stdint
759 BUILT_SOURCES
+= $(STDINT_H
)
761 # We need the following in order to create <stdint.h> when the system
762 # doesn't have one that works with the given compiler.
763 if GL_GENERATE_STDINT_H
764 stdint.h
: stdint.in.h
$(top_builddir
)/config.status
765 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
766 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
767 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
768 -e
's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
769 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
770 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
771 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
772 -e
's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
773 -e
's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
774 -e
's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
775 -e
's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
776 -e
's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
777 -e
's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
778 -e
's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
779 -e
's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
780 -e
's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
781 -e
's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
782 -e
's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
783 -e
's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
784 -e
's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
785 -e
's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
786 -e
's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
787 -e
's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
788 -e
's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
789 -e
's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
790 -e
's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
791 -e
's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
792 -e
's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
793 -e
's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
794 < $(srcdir)/stdint.in.h
; \
798 stdint.h
: $(top_builddir
)/config.status
801 MOSTLYCLEANFILES
+= stdint.h stdint.h-t
803 EXTRA_DIST
+= stdint.in.h
805 ## end gnulib module stdint
807 ## begin gnulib module stpcpy
810 EXTRA_DIST
+= stpcpy.c
812 EXTRA_libgnu_a_SOURCES
+= stpcpy.c
814 ## end gnulib module stpcpy
816 ## begin gnulib module strftime
818 libgnu_a_SOURCES
+= strftime.c
820 EXTRA_DIST
+= strftime.h
822 ## end gnulib module strftime
824 ## begin gnulib module string
826 BUILT_SOURCES
+= string.h
828 # We need the following in order to create <string.h> when the system
829 # doesn't have one that works with the given compiler.
830 string.h
: string.in.h
$(top_builddir
)/config.status
$(CXXDEFS_H
) $(ARG_NONNULL_H
) $(WARN_ON_USE_H
)
831 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
832 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
833 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
834 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
835 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
836 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
837 -e
's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
838 -e
's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
839 -e
's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
840 -e
's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
841 -e
's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
842 -e
's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
843 -e
's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
844 -e
's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
845 -e
's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
846 -e
's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
847 -e
's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
848 -e
's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
849 -e
's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
850 -e
's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
851 -e
's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
852 -e
's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
853 -e
's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
854 -e
's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
855 -e
's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
856 -e
's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
857 -e
's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
858 -e
's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
859 -e
's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
860 -e
's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
861 -e
's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
862 -e
's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
863 -e
's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
864 -e
's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
865 -e
's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
866 -e
's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
867 -e
's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
868 -e
's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
869 -e
's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
870 -e
's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
871 -e
's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
872 -e
's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
873 -e
's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
874 -e
's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
875 < $(srcdir)/string.in.h | \
876 sed
-e
's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
877 -e
's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
878 -e
's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
879 -e
's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
880 -e
's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
881 -e
's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
882 -e
's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
883 -e
's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
884 -e
's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
885 -e
's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
886 -e
's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
887 -e
's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
888 -e
's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
889 -e
's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
890 -e
's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
891 -e
's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
892 -e
's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
893 -e
's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
894 -e
's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
895 -e
's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
896 -e
's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
897 -e
's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
898 -e
's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
899 -e
's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
900 -e
's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
901 -e
's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
902 -e
's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
903 -e
's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
904 -e
's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
905 -e
's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
906 -e
's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
907 -e
's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
908 -e
's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
909 -e
's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
910 -e
's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
911 -e
's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
912 -e
'/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
913 -e
'/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
914 -e
'/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
915 < $(srcdir)/string.in.h
; \
918 MOSTLYCLEANFILES
+= string.h string.h-t
920 EXTRA_DIST
+= string.in.h
922 ## end gnulib module string
924 ## begin gnulib module strtoimax
927 EXTRA_DIST
+= strtoimax.c
929 EXTRA_libgnu_a_SOURCES
+= strtoimax.c
931 ## end gnulib module strtoimax
933 ## begin gnulib module strtoll
935 if gl_GNULIB_ENABLED_strtoll
938 EXTRA_DIST
+= strtol.c strtoll.c
940 EXTRA_libgnu_a_SOURCES
+= strtol.c strtoll.c
942 ## end gnulib module strtoll
944 ## begin gnulib module strtoull
946 if gl_GNULIB_ENABLED_strtoull
949 EXTRA_DIST
+= strtol.c strtoul.c strtoull.c
951 EXTRA_libgnu_a_SOURCES
+= strtol.c strtoul.c strtoull.c
953 ## end gnulib module strtoull
955 ## begin gnulib module strtoumax
958 EXTRA_DIST
+= strtoimax.c strtoumax.c
960 EXTRA_libgnu_a_SOURCES
+= strtoimax.c strtoumax.c
962 ## end gnulib module strtoumax
964 ## begin gnulib module symlink
967 EXTRA_DIST
+= symlink.c
969 EXTRA_libgnu_a_SOURCES
+= symlink.c
971 ## end gnulib module symlink
973 ## begin gnulib module time
975 BUILT_SOURCES
+= time.h
977 # We need the following in order to create <time.h> when the system
978 # doesn't have one that works with the given compiler.
979 time.h
: time.in.h
$(top_builddir
)/config.status
$(CXXDEFS_H
) $(ARG_NONNULL_H
) $(WARN_ON_USE_H
)
980 $(AM_V_GEN
)rm -f
$@
-t
$@
&& \
981 { echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
982 sed
-e
's|@''GUARD_PREFIX''@|GL|g' \
983 -e
's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
984 -e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
985 -e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
986 -e
's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
987 -e
's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
988 -e
's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
989 -e
's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
990 -e
's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
991 -e
's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
992 -e
's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
993 -e
's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
994 -e
's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
995 -e
's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
996 -e
's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
997 -e
's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
998 -e
's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
999 -e
's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1000 -e
's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
1001 -e
's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1002 -e
's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1003 -e
's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1004 -e
's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1005 -e
's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1006 -e
's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1007 -e
's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1008 -e
's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1009 -e
'/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1010 -e
'/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1011 -e
'/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1012 < $(srcdir)/time.in.h
; \
1015 MOSTLYCLEANFILES
+= time.h time.h-t
1017 EXTRA_DIST
+= time.in.h
1019 ## end gnulib module time
1021 ## begin gnulib module time_r
1024 EXTRA_DIST
+= time_r.c
1026 EXTRA_libgnu_a_SOURCES
+= time_r.c
1028 ## end gnulib module time_r
1030 ## begin gnulib module time_rz
1033 EXTRA_DIST
+= time_rz.c
1035 EXTRA_libgnu_a_SOURCES
+= time_rz.c
1037 ## end gnulib module time_rz
1039 ## begin gnulib module timegm
1042 EXTRA_DIST
+= mktime-internal.h timegm.c
1044 EXTRA_libgnu_a_SOURCES
+= timegm.c
1046 ## end gnulib module timegm
1048 ## begin gnulib module timespec
1050 libgnu_a_SOURCES
+= timespec.c
1052 EXTRA_DIST
+= timespec.h
1054 ## end gnulib module timespec
1056 ## begin gnulib module timespec-add
1058 libgnu_a_SOURCES
+= timespec-add.c
1060 ## end gnulib module timespec-add
1062 ## begin gnulib module timespec-sub
1064 libgnu_a_SOURCES
+= timespec-sub.c
1066 ## end gnulib module timespec-sub
1068 ## begin gnulib module u64
1070 libgnu_a_SOURCES
+= u64.c
1074 ## end gnulib module u64
1076 ## begin gnulib module update-copyright
1079 EXTRA_DIST
+= $(top_srcdir
)/build-aux
/update-copyright
1081 ## end gnulib module update-copyright
1083 ## begin gnulib module utimens
1085 libgnu_a_SOURCES
+= utimens.c
1087 EXTRA_DIST
+= utimens.h
1089 ## end gnulib module utimens
1091 ## begin gnulib module verify
1094 EXTRA_DIST
+= verify.h
1096 ## end gnulib module verify
1098 ## begin gnulib module vla
1103 ## end gnulib module vla
1105 ## begin gnulib module xalloc-oversized
1107 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
1110 EXTRA_DIST
+= xalloc-oversized.h
1112 ## end gnulib module xalloc-oversized
1115 mostlyclean-local
: mostlyclean-generic
1116 @for
dir in
'' $(MOSTLYCLEANDIRS
); do \
1117 if
test -n
"$$dir" && test -d
$$dir; then \
1118 echo
"rmdir $$dir"; rmdir
$$dir; \