]> code.delx.au - gnu-emacs/blob - nt/gnulib.mk
Merge from gnulib
[gnu-emacs] / nt / gnulib.mk
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.
23 ##
24 ## Process this file with automake to produce Makefile.in.
25 # Copyright (C) 2002-2015 Free Software Foundation, Inc.
26 #
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.
31 #
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.
36 #
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/>.
39 #
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.
44 #
45 # Generated by gnulib-tool.
46 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=stdarg --avoid=stdbool --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io byteswap c-ctype c-strcase careadlinkat close-stream count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog intprops largefile lstat manywarnings memrchr mkostemp mktime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time stdalign stddef stdio stpcpy strftime strtoimax strtoumax symlink sys_stat sys_time time time_r timer-time timespec-add timespec-sub unsetenv update-copyright utimens vla warnings
47
48
49 MOSTLYCLEANFILES += core *.stackdump
50
51 noinst_LIBRARIES += libgnu.a
52
53 libgnu_a_SOURCES =
54 libgnu_a_LIBADD = $(gl_LIBOBJS)
55 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
56 EXTRA_libgnu_a_SOURCES =
57
58 ## begin gnulib module absolute-header
59
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)
64
65 ## end gnulib module absolute-header
66
67 ## begin gnulib module acl-permissions
68
69 libgnu_a_SOURCES += acl-errno-valid.c acl-internal.c \
70 get-permissions.c set-permissions.c
71
72 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
73
74 EXTRA_libgnu_a_SOURCES += acl_entries.c
75
76 ## end gnulib module acl-permissions
77
78 ## begin gnulib module alloca-opt
79
80 BUILT_SOURCES += $(ALLOCA_H)
81
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; \
89 } > $@-t && \
90 mv -f $@-t $@
91 else
92 alloca.h: $(top_builddir)/config.status
93 rm -f $@
94 endif
95 MOSTLYCLEANFILES += alloca.h alloca.h-t
96
97 EXTRA_DIST += alloca.in.h
98
99 ## end gnulib module alloca-opt
100
101 ## begin gnulib module binary-io
102
103 libgnu_a_SOURCES += binary-io.h binary-io.c
104
105 ## end gnulib module binary-io
106
107 ## begin gnulib module byteswap
108
109 BUILT_SOURCES += $(BYTESWAP_H)
110
111 # We need the following in order to create <byteswap.h> when the system
112 # doesn't have one.
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; \
118 } > $@-t && \
119 mv -f $@-t $@
120 else
121 byteswap.h: $(top_builddir)/config.status
122 rm -f $@
123 endif
124 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
125
126 EXTRA_DIST += byteswap.in.h
127
128 ## end gnulib module byteswap
129
130 ## begin gnulib module c-ctype
131
132 libgnu_a_SOURCES += c-ctype.h c-ctype.c
133
134 ## end gnulib module c-ctype
135
136 ## begin gnulib module c-strcase
137
138 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
139
140 ## end gnulib module c-strcase
141
142 ## begin gnulib module close-stream
143
144 libgnu_a_SOURCES += close-stream.c
145
146 EXTRA_DIST += close-stream.h
147
148 ## end gnulib module close-stream
149
150 ## begin gnulib module count-one-bits
151
152 libgnu_a_SOURCES += count-one-bits.c
153
154 EXTRA_DIST += count-one-bits.h
155
156 ## end gnulib module count-one-bits
157
158 ## begin gnulib module count-trailing-zeros
159
160 libgnu_a_SOURCES += count-trailing-zeros.c
161
162 EXTRA_DIST += count-trailing-zeros.h
163
164 ## end gnulib module count-trailing-zeros
165
166 ## begin gnulib module crypto/md5
167
168 libgnu_a_SOURCES += md5.c
169
170 EXTRA_DIST += gl_openssl.h md5.h
171
172 ## end gnulib module crypto/md5
173
174 ## begin gnulib module crypto/sha1
175
176 libgnu_a_SOURCES += sha1.c
177
178 EXTRA_DIST += gl_openssl.h sha1.h
179
180 ## end gnulib module crypto/sha1
181
182 ## begin gnulib module crypto/sha256
183
184 libgnu_a_SOURCES += sha256.c
185
186 EXTRA_DIST += gl_openssl.h sha256.h
187
188 ## end gnulib module crypto/sha256
189
190 ## begin gnulib module crypto/sha512
191
192 libgnu_a_SOURCES += sha512.c
193
194 EXTRA_DIST += gl_openssl.h sha512.h
195
196 ## end gnulib module crypto/sha512
197
198 ## begin gnulib module dosname
199
200 if gl_GNULIB_ENABLED_dosname
201
202 endif
203 EXTRA_DIST += dosname.h
204
205 ## end gnulib module dosname
206
207 ## begin gnulib module dtoastr
208
209 libgnu_a_SOURCES += dtoastr.c
210
211 EXTRA_DIST += ftoastr.c ftoastr.h
212
213 EXTRA_libgnu_a_SOURCES += ftoastr.c
214
215 ## end gnulib module dtoastr
216
217 ## begin gnulib module dtotimespec
218
219 libgnu_a_SOURCES += dtotimespec.c
220
221 ## end gnulib module dtotimespec
222
223 ## begin gnulib module dup2
224
225
226 EXTRA_DIST += dup2.c
227
228 EXTRA_libgnu_a_SOURCES += dup2.c
229
230 ## end gnulib module dup2
231
232 ## begin gnulib module errno
233
234 BUILT_SOURCES += $(ERRNO_H)
235
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; \
254 } > $@-t && \
255 mv $@-t $@
256 else
257 errno.h: $(top_builddir)/config.status
258 rm -f $@
259 endif
260 MOSTLYCLEANFILES += errno.h errno.h-t
261
262 EXTRA_DIST += errno.in.h
263
264 ## end gnulib module errno
265
266 ## begin gnulib module euidaccess
267
268 if gl_GNULIB_ENABLED_euidaccess
269
270 endif
271 EXTRA_DIST += euidaccess.c
272
273 EXTRA_libgnu_a_SOURCES += euidaccess.c
274
275 ## end gnulib module euidaccess
276
277 ## begin gnulib module execinfo
278
279 BUILT_SOURCES += $(EXECINFO_H)
280
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; \
288 } > $@-t && \
289 mv $@-t $@
290 else
291 execinfo.h: $(top_builddir)/config.status
292 rm -f $@
293 endif
294 MOSTLYCLEANFILES += execinfo.h execinfo.h-t
295
296 EXTRA_DIST += execinfo.c execinfo.in.h
297
298 EXTRA_libgnu_a_SOURCES += execinfo.c
299
300 ## end gnulib module execinfo
301
302 ## begin gnulib module faccessat
303
304
305 EXTRA_DIST += at-func.c faccessat.c
306
307 EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
308
309 ## end gnulib module faccessat
310
311 ## begin gnulib module fdatasync
312
313
314 EXTRA_DIST += fdatasync.c
315
316 EXTRA_libgnu_a_SOURCES += fdatasync.c
317
318 ## end gnulib module fdatasync
319
320 ## begin gnulib module fdopendir
321
322
323 EXTRA_DIST += fdopendir.c
324
325 EXTRA_libgnu_a_SOURCES += fdopendir.c
326
327 ## end gnulib module fdopendir
328
329 ## begin gnulib module filemode
330
331 libgnu_a_SOURCES += filemode.c
332
333 EXTRA_DIST += filemode.h
334
335 ## end gnulib module filemode
336
337 ## begin gnulib module fpending
338
339
340 EXTRA_DIST += fpending.c fpending.h
341
342 EXTRA_libgnu_a_SOURCES += fpending.c
343
344 ## end gnulib module fpending
345
346 ## begin gnulib module fstatat
347
348
349 EXTRA_DIST += at-func.c fstatat.c
350
351 EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
352
353 ## end gnulib module fstatat
354
355 ## begin gnulib module fsync
356
357
358 EXTRA_DIST += fsync.c
359
360 EXTRA_libgnu_a_SOURCES += fsync.c
361
362 ## end gnulib module fsync
363
364 ## begin gnulib module getdtablesize
365
366 if gl_GNULIB_ENABLED_getdtablesize
367
368 endif
369 EXTRA_DIST += getdtablesize.c
370
371 EXTRA_libgnu_a_SOURCES += getdtablesize.c
372
373 ## end gnulib module getdtablesize
374
375 ## begin gnulib module getgroups
376
377 if gl_GNULIB_ENABLED_getgroups
378
379 endif
380 EXTRA_DIST += getgroups.c
381
382 EXTRA_libgnu_a_SOURCES += getgroups.c
383
384 ## end gnulib module getgroups
385
386 ## begin gnulib module getloadavg
387
388
389 EXTRA_DIST += getloadavg.c
390
391 EXTRA_libgnu_a_SOURCES += getloadavg.c
392
393 ## end gnulib module getloadavg
394
395 ## begin gnulib module getopt-posix
396
397 BUILT_SOURCES += $(GETOPT_H)
398
399 # We need the following in order to create <getopt.h> when the system
400 # doesn't have one that works with the given compiler.
401 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
402 $(AM_V_GEN)rm -f $@-t $@ && \
403 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
404 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
405 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
406 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
407 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
408 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
409 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
410 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
411 < $(srcdir)/getopt.in.h; \
412 } > $@-t && \
413 mv -f $@-t $@
414 MOSTLYCLEANFILES += getopt.h getopt.h-t
415
416 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
417
418 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
419
420 ## end gnulib module getopt-posix
421
422 ## begin gnulib module gettext-h
423
424 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
425 libgnu_a_SOURCES += gettext.h
426
427 endif
428 ## end gnulib module gettext-h
429
430 ## begin gnulib module gettime
431
432 libgnu_a_SOURCES += gettime.c
433
434 ## end gnulib module gettime
435
436 ## begin gnulib module gettimeofday
437
438
439 EXTRA_DIST += gettimeofday.c
440
441 EXTRA_libgnu_a_SOURCES += gettimeofday.c
442
443 ## end gnulib module gettimeofday
444
445 ## begin gnulib module group-member
446
447 if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
448
449 endif
450 EXTRA_DIST += group-member.c
451
452 EXTRA_libgnu_a_SOURCES += group-member.c
453
454 ## end gnulib module group-member
455
456 ## begin gnulib module intprops
457
458
459 EXTRA_DIST += intprops.h
460
461 ## end gnulib module intprops
462
463 ## begin gnulib module lstat
464
465
466 EXTRA_DIST += lstat.c
467
468 EXTRA_libgnu_a_SOURCES += lstat.c
469
470 ## end gnulib module lstat
471
472 ## begin gnulib module memrchr
473
474
475 EXTRA_DIST += memrchr.c
476
477 EXTRA_libgnu_a_SOURCES += memrchr.c
478
479 ## end gnulib module memrchr
480
481 ## begin gnulib module mktime
482
483
484 EXTRA_DIST += mktime-internal.h mktime.c
485
486 EXTRA_libgnu_a_SOURCES += mktime.c
487
488 ## end gnulib module mktime
489
490 ## begin gnulib module openat-h
491
492 if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
493
494 endif
495 EXTRA_DIST += openat.h
496
497 ## end gnulib module openat-h
498
499 ## begin gnulib module pathmax
500
501 if gl_GNULIB_ENABLED_pathmax
502
503 endif
504 EXTRA_DIST += pathmax.h
505
506 ## end gnulib module pathmax
507
508 ## begin gnulib module pselect
509
510
511 EXTRA_DIST += pselect.c
512
513 EXTRA_libgnu_a_SOURCES += pselect.c
514
515 ## end gnulib module pselect
516
517 ## begin gnulib module pthread_sigmask
518
519
520 EXTRA_DIST += pthread_sigmask.c
521
522 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
523
524 ## end gnulib module pthread_sigmask
525
526 ## begin gnulib module putenv
527
528
529 EXTRA_DIST += putenv.c
530
531 EXTRA_libgnu_a_SOURCES += putenv.c
532
533 ## end gnulib module putenv
534
535 ## begin gnulib module qcopy-acl
536
537 libgnu_a_SOURCES += qcopy-acl.c
538
539 ## end gnulib module qcopy-acl
540
541 ## begin gnulib module readlink
542
543
544 EXTRA_DIST += readlink.c
545
546 EXTRA_libgnu_a_SOURCES += readlink.c
547
548 ## end gnulib module readlink
549
550 ## begin gnulib module readlinkat
551
552
553 EXTRA_DIST += at-func.c readlinkat.c
554
555 EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
556
557 ## end gnulib module readlinkat
558
559 ## begin gnulib module root-uid
560
561 if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
562
563 endif
564 EXTRA_DIST += root-uid.h
565
566 ## end gnulib module root-uid
567
568 ## begin gnulib module sig2str
569
570
571 EXTRA_DIST += sig2str.c sig2str.h
572
573 EXTRA_libgnu_a_SOURCES += sig2str.c
574
575 ## end gnulib module sig2str
576
577 ## begin gnulib module snippet/_Noreturn
578
579 # Because this Makefile snippet defines a variable used by other
580 # gnulib Makefile snippets, it must be present in all Makefile.am that
581 # need it. This is ensured by the applicability 'all' defined above.
582
583 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
584
585 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
586
587 ## end gnulib module snippet/_Noreturn
588
589 ## begin gnulib module snippet/arg-nonnull
590
591 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
592 # statements but through direct file reference. Therefore this snippet must be
593 # present in all Makefile.am that need it. This is ensured by the applicability
594 # 'all' defined above.
595
596 BUILT_SOURCES += arg-nonnull.h
597 # The arg-nonnull.h that gets inserted into generated .h files is the same as
598 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
599 # off.
600 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
601 $(AM_V_GEN)rm -f $@-t $@ && \
602 sed -n -e '/GL_ARG_NONNULL/,$$p' \
603 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
604 > $@-t && \
605 mv $@-t $@
606 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
607
608 ARG_NONNULL_H=arg-nonnull.h
609
610 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
611
612 ## end gnulib module snippet/arg-nonnull
613
614 ## begin gnulib module snippet/c++defs
615
616 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
617 # statements but through direct file reference. Therefore this snippet must be
618 # present in all Makefile.am that need it. This is ensured by the applicability
619 # 'all' defined above.
620
621 BUILT_SOURCES += c++defs.h
622 # The c++defs.h that gets inserted into generated .h files is the same as
623 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
624 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
625 $(AM_V_GEN)rm -f $@-t $@ && \
626 sed -n -e '/_GL_CXXDEFS/,$$p' \
627 < $(top_srcdir)/build-aux/snippet/c++defs.h \
628 > $@-t && \
629 mv $@-t $@
630 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
631
632 CXXDEFS_H=c++defs.h
633
634 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
635
636 ## end gnulib module snippet/c++defs
637
638 ## begin gnulib module snippet/warn-on-use
639
640 BUILT_SOURCES += warn-on-use.h
641 # The warn-on-use.h that gets inserted into generated .h files is the same as
642 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
643 # off.
644 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
645 $(AM_V_GEN)rm -f $@-t $@ && \
646 sed -n -e '/^.ifndef/,$$p' \
647 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
648 > $@-t && \
649 mv $@-t $@
650 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
651
652 WARN_ON_USE_H=warn-on-use.h
653
654 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
655
656 ## end gnulib module snippet/warn-on-use
657
658 ## begin gnulib module stat
659
660 if gl_GNULIB_ENABLED_stat
661
662 endif
663 EXTRA_DIST += stat.c
664
665 EXTRA_libgnu_a_SOURCES += stat.c
666
667 ## end gnulib module stat
668
669 ## begin gnulib module stat-time
670
671 libgnu_a_SOURCES += stat-time.c
672
673 EXTRA_DIST += stat-time.h
674
675 ## end gnulib module stat-time
676
677 ## begin gnulib module stdalign
678
679 BUILT_SOURCES += $(STDALIGN_H)
680
681 # We need the following in order to create <stdalign.h> when the system
682 # doesn't have one that works.
683 if GL_GENERATE_STDALIGN_H
684 stdalign.h: stdalign.in.h $(top_builddir)/config.status
685 $(AM_V_GEN)rm -f $@-t $@ && \
686 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
687 cat $(srcdir)/stdalign.in.h; \
688 } > $@-t && \
689 mv $@-t $@
690 else
691 stdalign.h: $(top_builddir)/config.status
692 rm -f $@
693 endif
694 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
695
696 EXTRA_DIST += stdalign.in.h
697
698 ## end gnulib module stdalign
699
700 ## begin gnulib module stddef
701
702 BUILT_SOURCES += $(STDDEF_H)
703
704 # We need the following in order to create <stddef.h> when the system
705 # doesn't have one that works with the given compiler.
706 if GL_GENERATE_STDDEF_H
707 stddef.h: stddef.in.h $(top_builddir)/config.status
708 $(AM_V_GEN)rm -f $@-t $@ && \
709 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
710 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
711 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
712 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
713 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
714 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
715 -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
716 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
717 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
718 < $(srcdir)/stddef.in.h; \
719 } > $@-t && \
720 mv $@-t $@
721 else
722 stddef.h: $(top_builddir)/config.status
723 rm -f $@
724 endif
725 MOSTLYCLEANFILES += stddef.h stddef.h-t
726
727 EXTRA_DIST += stddef.in.h
728
729 ## end gnulib module stddef
730
731 ## begin gnulib module stdint
732
733 BUILT_SOURCES += $(STDINT_H)
734
735 # We need the following in order to create <stdint.h> when the system
736 # doesn't have one that works with the given compiler.
737 if GL_GENERATE_STDINT_H
738 stdint.h: stdint.in.h $(top_builddir)/config.status
739 $(AM_V_GEN)rm -f $@-t $@ && \
740 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
741 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
742 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
743 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
744 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
745 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
746 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
747 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
748 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
749 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
750 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
751 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
752 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
753 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
754 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
755 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
756 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
757 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
758 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
759 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
760 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
761 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
762 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
763 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
764 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
765 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
766 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
767 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
768 < $(srcdir)/stdint.in.h; \
769 } > $@-t && \
770 mv $@-t $@
771 else
772 stdint.h: $(top_builddir)/config.status
773 rm -f $@
774 endif
775 MOSTLYCLEANFILES += stdint.h stdint.h-t
776
777 EXTRA_DIST += stdint.in.h
778
779 ## end gnulib module stdint
780
781 ## begin gnulib module stpcpy
782
783
784 EXTRA_DIST += stpcpy.c
785
786 EXTRA_libgnu_a_SOURCES += stpcpy.c
787
788 ## end gnulib module stpcpy
789
790 ## begin gnulib module strftime
791
792 libgnu_a_SOURCES += strftime.c
793
794 EXTRA_DIST += strftime.h
795
796 ## end gnulib module strftime
797
798 ## begin gnulib module string
799
800 BUILT_SOURCES += string.h
801
802 # We need the following in order to create <string.h> when the system
803 # doesn't have one that works with the given compiler.
804 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
805 $(AM_V_GEN)rm -f $@-t $@ && \
806 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
807 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
808 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
809 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
810 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
811 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
812 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
813 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
814 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
815 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
816 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
817 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
818 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
819 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
820 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
821 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
822 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
823 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
824 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
825 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
826 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
827 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
828 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
829 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
830 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
831 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
832 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
833 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
834 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
835 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
836 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
837 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
838 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
839 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
840 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
841 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
842 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
843 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
844 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
845 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
846 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
847 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
848 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
849 < $(srcdir)/string.in.h | \
850 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
851 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
852 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
853 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
854 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
855 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
856 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
857 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
858 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
859 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
860 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
861 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
862 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
863 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
864 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
865 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
866 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
867 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
868 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
869 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
870 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
871 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
872 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
873 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
874 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
875 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
876 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
877 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
878 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
879 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
880 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
881 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
882 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
883 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
884 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
885 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
886 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
887 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
888 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
889 < $(srcdir)/string.in.h; \
890 } > $@-t && \
891 mv $@-t $@
892 MOSTLYCLEANFILES += string.h string.h-t
893
894 EXTRA_DIST += string.in.h
895
896 ## end gnulib module string
897
898 ## begin gnulib module strtoimax
899
900
901 EXTRA_DIST += strtoimax.c
902
903 EXTRA_libgnu_a_SOURCES += strtoimax.c
904
905 ## end gnulib module strtoimax
906
907 ## begin gnulib module strtoll
908
909 if gl_GNULIB_ENABLED_strtoll
910
911 endif
912 EXTRA_DIST += strtol.c strtoll.c
913
914 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
915
916 ## end gnulib module strtoll
917
918 ## begin gnulib module strtoull
919
920 if gl_GNULIB_ENABLED_strtoull
921
922 endif
923 EXTRA_DIST += strtol.c strtoul.c strtoull.c
924
925 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
926
927 ## end gnulib module strtoull
928
929 ## begin gnulib module strtoumax
930
931
932 EXTRA_DIST += strtoimax.c strtoumax.c
933
934 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
935
936 ## end gnulib module strtoumax
937
938 ## begin gnulib module symlink
939
940
941 EXTRA_DIST += symlink.c
942
943 EXTRA_libgnu_a_SOURCES += symlink.c
944
945 ## end gnulib module symlink
946
947 ## begin gnulib module time_r
948
949
950 EXTRA_DIST += time_r.c
951
952 EXTRA_libgnu_a_SOURCES += time_r.c
953
954 ## end gnulib module time_r
955
956 ## begin gnulib module timespec
957
958 libgnu_a_SOURCES += timespec.c
959
960 EXTRA_DIST += timespec.h
961
962 ## end gnulib module timespec
963
964 ## begin gnulib module timespec-add
965
966 libgnu_a_SOURCES += timespec-add.c
967
968 ## end gnulib module timespec-add
969
970 ## begin gnulib module timespec-sub
971
972 libgnu_a_SOURCES += timespec-sub.c
973
974 ## end gnulib module timespec-sub
975
976 ## begin gnulib module u64
977
978 libgnu_a_SOURCES += u64.c
979
980 EXTRA_DIST += u64.h
981
982 ## end gnulib module u64
983
984 ## begin gnulib module unsetenv
985
986
987 EXTRA_DIST += unsetenv.c
988
989 EXTRA_libgnu_a_SOURCES += unsetenv.c
990
991 ## end gnulib module unsetenv
992
993 ## begin gnulib module update-copyright
994
995
996 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
997
998 ## end gnulib module update-copyright
999
1000 ## begin gnulib module utimens
1001
1002 libgnu_a_SOURCES += utimens.c
1003
1004 EXTRA_DIST += utimens.h
1005
1006 ## end gnulib module utimens
1007
1008 ## begin gnulib module verify
1009
1010 EXTRA_DIST += verify.h
1011
1012 ## end gnulib module verify
1013
1014 ## begin gnulib module vla
1015
1016
1017 EXTRA_DIST += vla.h
1018
1019 ## end gnulib module vla
1020
1021 ## begin gnulib module xalloc-oversized
1022
1023 if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
1024
1025 endif
1026 EXTRA_DIST += xalloc-oversized.h
1027
1028 ## end gnulib module xalloc-oversized
1029
1030
1031 mostlyclean-local: mostlyclean-generic
1032 @for dir in '' $(MOSTLYCLEANDIRS); do \
1033 if test -n "$$dir" && test -d $$dir; then \
1034 echo "rmdir $$dir"; rmdir $$dir; \
1035 fi; \
1036 done; \
1037 :